
Examen Programación Básica en Python 2
Authored by DANIEL BRYAN CARRIZAL PACO
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Cuál será la salida de este código?
Par
Divisible por 3
Otro
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se empieza a escribir un bucle while en Python?
While a>b:
while a>b:
While (a>b)
while (a>b)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se crea una lista con los elementos 1,2,3,4 en Python?
lista = list(1,2,3,4)
lista = (1,2,3,4,)
lista = [1,2,3,4]
lista = {1: 1, 2: 2, 3: 3, 4: 4}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué operador se utiliza para multiplicar números en python?
/
#
x
*
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
En Python, 'Hola' es lo mismo que "Hola"
VERDADERO
FALSO
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dada la cadena frase = "manzana,pera,plátano,uva", ¿qué devuelve frase.split(",")
'manzana pera plátano uva'
['manzana', 'pera', 'plátano', 'uva']
['manzana'; 'pera'; 'plátano';'uva']
['manzana,pera,plátano,uva']
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la sintaxis correcta para devolver el primer carácter de una cadena?
x = "hola"[0]
x = hola[0]
x = [0]
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?