Python - Booleanos y Operadores Lógicos

Quiz
•
Computers
•
10th - 11th Grade
•
Hard
Ana Celada
Used 12+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Una variable booleana es una variable que puede tomar infintos posibles valores
Verdadero
Falso
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Código fuente para almacenar en una variable el valor True y mostrarla posteriormente por pantalla.
Variablebooleana = False
print(variablebooleana)
print(variablebooleana=1)
variablebooleana = True
print(variablebooleana)
Variablebooleana = True
print(variablebooleana)
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Queremos almacenar en una variable el valor False y mostrarla posteriormente por pantalla, completa el código fuente :
variablebooleana = _________
print(variablebooleana)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Los operadores lógicos son operaciones que pueden realizarse sobre variables de tipo booleano, bien sean valores independientes o valores provenientes de operaciones relacionales.
Verdadero
Falso
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
¿Qué mostrará por pantalla el sisguiente código?
booleano1 = True
booleano2 = True
print(booleano1 and booleano2)
3
False
True True
True
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quiero que la pantalla muestre False. ¿Qué le falta al código?
booleano1 = ______
booleano2 = False
print(booleano1 and booleano2)
0
False
True
booleano2
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Para realizar una operación AND sobre dos valores False, el código fuente es el siguiente:
booleano1 = False
booleano2 = False
print(booleano1 and booleano2)
Verdadero
Falso
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
EVALUACION 1P GRADO DECIMO 2024

Quiz
•
10th Grade
15 questions
Programación con Java

Quiz
•
9th - 11th Grade
20 questions
Fundamentos de programación

Quiz
•
10th - 12th Grade
12 questions
COMPUTADORAS

Quiz
•
10th Grade
10 questions
while

Quiz
•
1st - 10th Grade
11 questions
python star primera parte

Quiz
•
9th - 12th Grade
10 questions
Mes de la Ciberseguridad "CENACE"

Quiz
•
1st - 12th Grade
10 questions
PRUEBA DE UNIDAD IV BACHILLERATO

Quiz
•
10th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade