
M02 - Mecanismos de Controlo de Execução
Authored by José Cruz
Instructional Technology
10th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 4 pts
Qual é o resultado da expressão 5 ** 3?
8
15
25
125
2.
MULTIPLE CHOICE QUESTION
20 sec • 4 pts
O que imprime o seguinte código: print(9 // 2)?
1
4
4.5
5
3.
MULTIPLE CHOICE QUESTION
20 sec • 4 pts
Qual é o valor de x após a execução do código: x = 10; x += 5?
50
15
10
5
4.
MULTIPLE CHOICE QUESTION
20 sec • 4 pts
Qual é a saída do código: if 5 > 3: print('Maior') else: print('Menor')?
Menor
Maior
Igual
Desconhecido
5.
MULTIPLE CHOICE QUESTION
20 sec • 4 pts
O que faz o comando input() em Python?
O comando input() executa uma repetição infinita.
O comando input() exibe uma mensagem no ecrã.
O comando input() converte uma string num número.
O comando input() lê uma entrada do utilizador e retorna como uma string.
6.
MULTIPLE CHOICE QUESTION
20 sec • 4 pts
Qual é o resultado da expressão 25 // 3 ** 2?
64
4
3
2
7.
MULTIPLE CHOICE QUESTION
20 sec • 4 pts
O que imprime o seguinte código?
for i in range(3):
print(i)
3
1 2 3
1.5
0 1 2
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?