
Quiz de Python: Decisão e Repetição
Authored by Felipe Porcino
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das alternativas abaixo representa corretamente uma estrutura condicional em Python?
if x == 10 then print("Dez")
if x == 10: print("Dez")
if (x == 10) { print("Dez") }
if x = 10: print("Dez")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código? ```python x = 5 if x > 3: print("Maior que 3") else: print("Menor ou igual a 3") ```
Menor ou igual a 3
Maior que 3
5
Nenhuma saída
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções abaixo representa corretamente um laço de repetição usando while em Python?
while (x < 10) { x += 1 }
while x < 10: x += 1
while x < 10 then x += 1
while x < 10 do x += 1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que acontece se a condição do while nunca for falsa?
O laço executa apenas uma vez
O laço nunca executa
O laço executa infinitamente
O programa é encerrado imediatamente
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
0
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das alternativas abaixo é usada para validar a entrada do usuário em Python?
if input == int
input("Digite um número: ")
int(input("Digite um número: "))
validate(input)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que o seguinte código imprime? ```python contador = 1 while contador <= 3: print(contador) contador += 1 ```
1 2 3
0 1 2
1 2 3 4
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?
Similar Resources on Wayground
25 questions
WEB_qrup_imtahan_IT_1
Quiz
•
Professional Development
25 questions
Informática Básica
Quiz
•
Professional Development
26 questions
Quizz Circuitos Microcontrolados
Quiz
•
Professional Development
25 questions
Тест 1 по дисциплине "Введение в специальность"
Quiz
•
Professional Development
25 questions
IT support technician level-1 (MS. Word)
Quiz
•
Professional Development
25 questions
İnformatika Qəbul DİM 1
Quiz
•
Professional Development
25 questions
Ciência de Dados - Informações e Dados
Quiz
•
Professional Development
25 questions
Тест
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development