¿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
17 questions
Tarea 1: ISO 14001

Quiz
•
8th Grade
15 questions
Python Data Structures

Quiz
•
6th - 8th Grade
12 questions
Review loops

Quiz
•
8th Grade - University
10 questions
CONCEPTOS ARDUINO

Quiz
•
1st Grade - University
16 questions
Evaluación de Seguridad Informática

Quiz
•
8th Grade
15 questions
Variables, tipos de datos y operadores

Quiz
•
8th Grade
10 questions
Fundamentos de Programación en Python

Quiz
•
6th Grade - University
10 questions
Funciones y Retornos en Python

Quiz
•
8th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

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

Quiz
•
6th - 8th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
10 questions
Identifying equations

Quiz
•
KG - University
17 questions
guess the logo

Quiz
•
8th Grade
20 questions
Punctuation

Quiz
•
6th - 8th Grade
10 questions
Candy

Quiz
•
4th - 8th Grade
60 questions
FLACS Checkpoint A Review

Quiz
•
7th - 9th Grade
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...