

Estructura Condicionales
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
¿Qué palabra clave se usa en Python para definir una estructura condicional?
Back
if
2.
FLASHCARD QUESTION
Front
¿Cuál de las siguientes afirmaciones es correcta sobre las estructuras condicionales en Python? Un bloque if puede existir sin un else, Un bloque if siempre debe ir acompañado de un else, elif es obligatorio en cualquier estructura condicional, python no permite estructuras if-else, solo switch-case
Back
Un bloque if puede existir sin un else
3.
FLASHCARD QUESTION
Front
¿Cuál es la diferencia entre elif y else en una estructura condicional en Python?
Back
elif permite evaluar una condición adicional, mientras que else se ejecuta solo si ninguna condición anterior se cumple.
4.
FLASHCARD QUESTION
Front
¿Qué imprimirá el siguiente código?
Back
Mayor que 5 pero menor o igual a 10
5.
FLASHCARD QUESTION
Front
¿Qué pasará si ejecutamos este código?
Back
Se imprimirá Menor o igual
6.
FLASHCARD QUESTION
Front
¿Cuál es el resultado de la siguiente expresión?
Back
True
7.
FLASHCARD QUESTION
Front
¿Qué operador lógico se usa para negar una condición en Python?
Back
not
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?