
Fundamentos de Python
Quiz
•
Computers
•
12th Grade
•
Medium
Jorge De Lara Hernández
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué estructura se utiliza para tomar decisiones en Python?
Estructuras de control 'if', 'elif' y 'else'
Clases y objetos
Funciones y métodos
Estructuras de repetición 'for' y 'while'
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Escribe un ejemplo de una estructura if-else en Python.
if x >= 0: print('x es positivo') else: print('x es negativo')
if x > 10: print('x es mayor que 10') else: print('x es 10 o menor')
if x == 10: print('x es exactamente 10') else: print('x no es 10')
if x < 5: print('x es menor que 5') else: print('x es 5 o mayor')
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué palabra clave se utiliza para iniciar un bucle for en Python?
loop
foreach
wile
for
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se define un bucle while en Python?
Un bucle while se define con 'while condición: bloque_de_código'.
Un bucle while se define con 'for condición: bloque_de_código'.
Un bucle while se define con 'repeat condición: bloque_de_código'.
Un bucle while se define con 'loop condición: bloque_de_código'.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué tipo de datos se utiliza para almacenar texto en Python?
int
float
str
list
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se accede a un elemento de un array en Python?
Se accede a un elemento de un array usando array[indice].
Se accede a un elemento de un array usando array:indice.
Se accede a un elemento de un array usando array[indice+1].
Se accede a un elemento de un array usando array{indice}.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué es una condición anidada? Da un ejemplo.
if (a == 5) { // hacer algo }
if (a < 10) { // hacer algo }
if (b > 5) { if (a == 10) { // hacer algo } }
Un ejemplo de condición anidada es: if (a > 10) { if (b < 5) { // hacer algo } }.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Python Input/Output
Quiz
•
9th - 12th Grade
15 questions
Iteration
Quiz
•
9th - 12th Grade
13 questions
Leccion Formativa Unidad 1
Quiz
•
12th Grade
10 questions
Preguntas de Programación y Algoritmos
Quiz
•
9th - 12th Grade
10 questions
MOAC Excel 2016 Lesson 03
Quiz
•
8th - 12th Grade
10 questions
Python ismétlés
Quiz
•
9th - 12th Grade
10 questions
GDScript Quiz - Lesson 3 - Conditional statements & Iteration
Quiz
•
12th Grade
10 questions
Цикл с параметром
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade