
Questões sobre Laços em Python

Quiz
•
Information Technology (IT)
•
University
•
Medium
Weslley Costa
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que a função range(5) retorna?
[1, 2, 3, 4, 5]
[0, 1, 2, 3, 4]
[0, 1, 2, 3, 4, 5]
[1, 2, 3, 4]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual comando encerra um laço imediatamente?
stop
continue
break
exit
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que faz o laço while?
Repete uma instrução até que um número seja alcançado
Repete enquanto uma condição for verdadeira
Executa sempre uma única vez
Repete para cada item de uma lista
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que a instrução continue faz dentro de um laço?
Encerra o programa
Pula a próxima linha de código
Encerra o laço
Pula para a próxima iteração
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções imprime os números pares de 0 a 10?
range(0, 10)
range(0, 11, 2)
range(1, 11, 2)
range(10, 0)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quantas vezes o código abaixo imprime algo?
3
4
5
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que acontece com o seguinte código? while True: print("Olá")
Imprime uma vez
Não imprime nada
Imprime infinitamente
Dá erro
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
Estruturas de Repetição - Parte 1

Quiz
•
University
13 questions
Explorando Jogos Digitais e Criatividade

Quiz
•
9th Grade - University
12 questions
Aula07 - Matrizes

Quiz
•
University
15 questions
Quiz Diagnóstico - RA e RV para JD

Quiz
•
University
15 questions
EAD 28/11

Quiz
•
University
11 questions
Questionário 1

Quiz
•
University
15 questions
Quiz sobre Integração de Sistemas de Informação

Quiz
•
University
10 questions
Conhecimentos sobre o App Inventor

Quiz
•
9th Grade - University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade