JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Quiz 1
Introducción a la programación con Python: Clase 1
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Nombre:
*
Your answer
Son tipos de datos en Python:
1 point
int, float, string, private
int, float, static, double, autoincrement, boolena
int, float, string, boolean
int, float, decimal, input, print
Clear selection
Si quiero imprimir la cadena de texto "Hola mundo!" uso el código:
1 point
imprimir(Hola mundo!)
print("Hola mundo")
declare: 'Hola mundo!'
print("Hola mundo!")
Clear selection
print(True and False)
El código anterior arroja:
1 point
indefinido
error
True
False
Clear selection
Qué arroja como salida el siguiente código:
x = 5
msj = "El valor de x es: "
print(msj, 5)
(¡Ten cuidado con los espacios!
)
2 points
El valor de x es: 5
El valor de x es:5
El valor de 5 es: 5
El valor de 5 es:
Clear selection
¿Cuál es el código que arroja el siguiente resultado?
Hola
Hola
Hola
Hola
Hola
2 points
print("Hola * 5")
print("Hola x 5")
print("Hola" * 5)
print("HolaHolaHolaHola")
Clear selection
¿Qué arroja el siguiente código
nombre = input()
print(f"Hola {nombre}!")
si el usuario ha ingresado la cadena "Harry" correspondiente a la variable nombre?
1 point
Hola {Harry}!
Hola {"Harry"}!
Hola Harry!
Hola Harry
Clear selection
Si consideramos el código
msj = "Hola"
msj2 = "hola"
print(msj == msj2)
¿cuál será la salida?
1 point
True
False
true
false
No se puede determinar
Clear selection
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. -
Terms of Service
-
Privacy Policy
Does this form look suspicious?
Report
Forms
Help and feedback
Contact form owner
Help Forms improve
Report