
Quiz de Lógica em Python
Authored by Amanda Xavier
Information Technology (IT)
6th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Qual é a expressão correta em Python para verificar se um número armazenado na variável x está entre 0 e 5.
x > 0 and < 5
0 < x < 5
x > 0 or x < 5
x > 0 and x < 5
2.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
Acrescente parênteses à expressão 6 * 1 - 2 para mudar o seu valor de 4 para -6.
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Qual o resultado da sequência de comandos da imagem?
Evaluate responses using AI:
OFF
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Qual o resultado da sequência de comandos ao lado quando:
x=3 e y=-1
print("x é menor do que y.")
print("x é maior do que y.")
print("x e y devem ser iguais.")
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Qual o resultado da sequência de comandos abaixo quando:
x=4, y=5, z=2
print ("a")
print ("b")
print ("c")
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Qual será o resultado da expressão lógica em Python: (x > 5) or (y < 2) se x=4 e y=3?
opções de resposta
True
False
Erro
None
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Você olha para um relógio e são exatamente 2 da tarde (14:00 horas). Você coloca um alarme para tocar daqui a 51 horas. A que horas o alarme ira tocar?
Evaluate responses using AI:
OFF
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?