• ¿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 3 fuera de 19 páginas
Examen

Python Review Practice Study Test.

Document preview thumbnail
Vista previa 3 fuera de 19 páginas

PYTHON REVIEW PRACTICE STUDY TEST. Python is named after - CORRECT ANSWER a British comedy group Python can be used as - CORRECT ANSWER both a scripting and programming language Python 3 is intentionally incompatible with Python 2. (T or F) - CORRECT ANSWER True To install Python on Windows - CORRECT ANSWER a) download and run an installer from b) download the Python source code from , then download and install a compiler, then build and install Python Answer) either a or b To install Python on Linux - CORRECT ANSWER is likely unnecessary if you want a 2.x version since most versions of Linux pre-install Python Python is a strongly typed language. - CORRECT ANSWER False What is printed by the following script? a = 2 b = 3 print (a/b) - CORRECT ANSWER 0 If a = 'Bob' b = 2 then print(a+b) produces - CORRECT ANSWER an error If a = 'Bob' b = 'Smith' then print (a+b) produces - CORRECT ANSWER BobSmith If a = 'Bob' b = 2 then print(a*b) produces - CORRECT ANSWER an error What is the difference between a list and a tuple? - CORRECT ANSWER a tuple is immutable and a list is not If a = (1, 2, 3) b = (4, 5, 6) then c = a + b print(c) produces - CORRECT ANSWER (1, 2, 3, 4, 5, 6) if a = (1, 2, 3) b = (4, 5, 6)

Vista previa del contenido

PYTHON REVIEW PRACTICE STUDY
TEST.

Python is named after - CORRECT ANSWER a British comedy group



Python can be used as - CORRECT ANSWER both a scripting and programming language



Python 3 is intentionally incompatible with Python 2. (T or F) - CORRECT ANSWER True



To install Python on Windows - CORRECT ANSWER a) download and run an installer from python.org

b) download the Python source code from python.org, then download and install a compiler, then build
and install Python

Answer) either a or b



To install Python on Linux - CORRECT ANSWER is likely unnecessary if you want a 2.x version since most
versions of Linux pre-install Python



Python is a strongly typed language. - CORRECT ANSWER False



What is printed by the following script?



a=2



b=3



print (a/b) - CORRECT ANSWER 0



If

,a = 'Bob'



b=2



then



print(a+b)



produces - CORRECT ANSWER an error



If



a = 'Bob'



b = 'Smith'



then



print (a+b)



produces - CORRECT ANSWER BobSmith



If



a = 'Bob'



b=2

, then



print(a*b)



produces - CORRECT ANSWER an error



What is the difference between a list and a tuple? - CORRECT ANSWER a tuple is immutable and a list is
not



If



a = (1, 2, 3)



b = (4, 5, 6)



then



c=a+b



print(c)



produces - CORRECT ANSWER (1, 2, 3, 4, 5, 6)



if



a = (1, 2, 3)



b = (4, 5, 6)

Información del documento

Subido en
6 de abril de 2025
Número de páginas
19
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$12.49

¿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.
ROSEGRADES
3.4
(35)
Vendido
236
Seguidores
87
Artículos
12121
Última venta
3 semanas 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