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
10 questions
Prueba Corta Unidad II | Programación IV

Quiz
•
10th Grade
11 questions
Conceptos PHP

Quiz
•
10th Grade
15 questions
SENATIC Parcial Guía 3_PseInt

Quiz
•
10th Grade - University
20 questions
Javascript

Quiz
•
11th Grade
12 questions
MBI Repaso 1 a 6

Quiz
•
5th - 11th Grade
10 questions
INTRODUCCION A LA PROGRAMACION

Quiz
•
6th Grade - University
10 questions
Ciberseguridad - privacidad II

Quiz
•
10th Grade
10 questions
PARCIAL ALGORITMOS Y PROGRAMACION. DIAGRAMAS DE FLUJO

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade