
Python - Estrutura Condicional
Authored by Daniel Santos
Computers
Vocational training
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a principal estrutura condicional em Python?
switch
case
if
loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o operador lógico em Python que inverte o valor de uma expressão booleana?
and
or
not
xor
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual operador lógico em Python é utilizado para retornar verdadeiro somente se ambas as condições forem verdadeiras?
or
and
not
xor
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Em Python, o que define o escopo dos comandos de uma condição "if"?
Uso de ponto e vírgula
O uso de chaves {}
A indentação
O uso de parênteses
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o resultado do código:
print(True or False)
True
False
None
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o resultado do código:
print(not(True and False))
True
False
None
Error
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Qual é o resultado do código:
1
2
3
4
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?