• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 9 páginas
Examen

D335 Intro to Python Study-Questions and Answers Verified 100% Correct

Document preview thumbnail
Vista previa 2 fuera de 9 páginas

D335 Intro to Python Study-Questions and Answers Verified 100% Correct

Vista previa del contenido

D335 Intro to Python Study-Questions and Answers
Verified 100% Correct
Computer Program

Set of instructions executing one at a time.

Input

Data that is entered into the computer system via an input or storage device.

Process

A series of actions or steps taken to achieve an end

Output

Data that has been processed into a useful format.

Variables

A named item in a program, such as x or num_people, used to hold a value

Interactive Interpreter

a program that allows the user to execute one line of code at a time

Code

Common word for the textual representation of a program

Prompt ('>>>')

A signal that the interpreter is ready to accept code

Statement

A program instruction

Expressions

, A combination of items, like variables, literals, and parentheses, that evaluates to a value, like
2*(x=1).
Codes that return a value when evaluated

Assignment

Creates a new variable using the '=' symbol

"="

assignment operator (NOT EQUALITY)
= is an assignment of a left-side variable with a right-side value

print()

Displays variables or expression values
Always adds a newline character after the output

"#"

Comments

Comments

Uses "#"
Can be used to explain portions of the code to human readers and will be ignored by the
program

String Literal

('Hello World')
Text enclosed in quotes that will be read as actual text by the program. May have letters,
numbers, spaces, or symbols

end=' '

keeps the next print's output on the same line separated by a single space

Comma ( , )

Información del documento

Subido en
3 de marzo de 2025
Número de páginas
9
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$12.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
KenAli
2.6
(18)
Vendido
121
Seguidores
5
Artículos
26045
Última venta
3 días hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes