• ¿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

Exam (elaborations) D335 INTROTOPYTHON

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

D335 INTROTOPYTHONQUESTIONSWITH CORRECTANSWERS2025/2026

Vista previa del contenido

D335 INTRO TO PYTHON QUESTIONS WITH
CORRECT ANSWERS 2025/2026

Computer Program - CORRECT ANSWER --Set of instructions executing one at a time.



Input - CORRECT ANSWER --Data that is entered into the computer system via an input or
storage device.



Process - CORRECT ANSWER --A series of actions or steps taken to achieve an end



Output - CORRECT ANSWER --Data that has been processed into a useful format.



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



Interactive Interpreter - CORRECT ANSWER --a program that allows the user to execute one line
of code at a time



Code - CORRECT ANSWER --Common word for the textual representation of a program



Prompt ('>>>') - CORRECT ANSWER --A signal that the interpreter is ready to accept code



Statement - CORRECT ANSWER --A program instruction



Expressions - CORRECT ANSWER --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 - CORRECT ANSWER --Creates a new variable using the '=' symbol



" = " - CORRECT ANSWER --assignment operator (NOT EQUALITY)

= is an assignment of a left-side variable with a right-side value



print() - CORRECT ANSWER --Displays variables or expression values

Always adds a newline character after the output



" # " - CORRECT ANSWER --Comments



Comments - CORRECT ANSWER --Uses "#"

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



String Literal - CORRECT ANSWER --('Hello World')

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



end=' ' - CORRECT ANSWER --keeps the next print's output on the same line separated by a
single space



Comma ( , ) - CORRECT ANSWER --Allows printing multiple items using a single print() statement.

print('Wage: ', wage)



Newline Character - CORRECT ANSWER --Output can be moved to the next line by printing \n

print("'\n2\n3') gives

Información del documento

Subido en
17 de abril de 2026
Número de páginas
9
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$8.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

Vendido
0
Seguidores
0
Artículos
106
Última venta
-



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