
Preguntas de Programación en Python
Authored by Edwin Avila
Information Technology (IT)
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Si declaras la variable precio = 99.95, ¿qué tipo de dato es precio?
int (Entero)
string (Cadena de texto)
float (Flotante / Decimal)
boolean (Booleano)
2.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
¿Cuál es el resultado de la operación 5 + 3 * 2 en Python?
16
11
13
Error
3.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
¿Qué valor devuelve la expresión 10 % 3?
3.33
1
3
0
4.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
¿Cuál de estas opciones crea una lista vacía llamada compras?
compras = {}
compras = ()
compras = []
compras = ''
5.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
En el string texto = "Hola", ¿cómo accedes a la letra 'o'?
texto[0]
texto[1]
texto(1)
texto.get('o')
6.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
¿Qué método usarías para convertir el string " Día soleado " en "Día soleado"?
.cut()
.clean()
.split()
.strip()
7.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Tienes la lista frutas = ["manzana", "banana"]. ¿Qué código añade "cereza" al final de la lista?
frutas.add("cereza")
frutas.push("cereza")
frutas.append("cereza")
frutas.insert(1, "cereza")
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?