¿Qué es una sentencia 'if' en programación?

Quiz sobre Programación en Python

Quiz
•
Information Technology (IT)
•
8th Grade
•
Hard
Joan Fuentes
Used 1+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Una sentencia que permite tomar decisiones
Un operador aritmético
Una forma de asignar valores
Un tipo de variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué resultado devuelve la condición 'edad == 10' si la variable edad es 12?
Ninguno
Error
False
True
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué hace la sentencia 'else' en un bloque 'if'?
Ejecuta el bloque si la condición es falsa
Asigna un valor a una variable
Crea una nueva función
Ejecuta el bloque si la condición es verdadera
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué operador se utiliza para comprobar si dos valores son iguales?
!=
>
=
==
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué se utiliza para combinar condiciones en Python?
and y or
sumar y restar
if y else
print y input
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo se define una variable en Python?
nombre = valor
variable nombre = valor
definir nombre(valor)
nombre: valor
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué tipo de dato es 'True' en Python?
Booleano
Número entero
Lista
Cadena de texto
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Quiz sobre Sentencias If en Python

Quiz
•
8th Grade
18 questions
Diagnostico Grado Sexto

Quiz
•
6th Grade - University
10 questions
Fundamentos de la Programación - Cuarto

Quiz
•
6th - 8th Grade
8 questions
QUIZZ FLASH TABLETS

Quiz
•
6th - 8th Grade
9 questions
Conocimiento Tecnológico

Quiz
•
8th Grade - University
10 questions
evaluacion 1°

Quiz
•
1st Grade - University
12 questions
Inteligencia Artificial

Quiz
•
6th - 8th Grade
8 questions
sistemas operativos 5

Quiz
•
8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade