
Questões de Programação em Python
Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Practice Problem
•
Medium
ALEXANDRE JUNIOR
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o tipo de dado retornado pela função `type()` em Python?
String
Inteiro
Tipo de dado
Float
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções abaixo representa uma estrutura condicional simples em Python?
if x > 10:
if x > 10: else:
if x > 10 elif x < 5:
while x > 10:
3.
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")
Maior que 3
Menor ou igual a 3
Erro de sintaxe
Nenhuma saída
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a diferença entre um loop `for` e um loop `while` em Python?
for é usado para repetir um número fixo de vezes, enquanto while depende de uma condição.
while é usado para repetir um número fixo de vezes, enquanto for depende de uma condição.
Ambos são usados apenas para listas.
Não há diferença entre os dois.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código Python? for i in range(3): print(i)
1, 2, 3
0, 1, 2
0, 1, 2, 3
Nenhuma saída
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções abaixo define corretamente uma função em Python?
def minha_funcao:
function minha_funcao():
def minha_funcao():
minha_funcao()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código Python? def soma(a, b): return a + b resultado = soma(3, 4) print(resultado)
7
34
Erro de sintaxe
Nenhuma saída
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
10 questions
Roda/Velg dan Ban
Quiz
•
12th Grade
15 questions
Programación: SCRATCH
Quiz
•
1st - 12th Grade
10 questions
Preguntas sobre la historia de las computadoras
Quiz
•
8th Grade - University
10 questions
Introduccion a HTML,CSS y PHP
Quiz
•
10th Grade
10 questions
Scratch
Quiz
•
5th - 9th Grade
15 questions
Test_Anul_III_Sem_1_rus
Quiz
•
12th Grade
15 questions
Quiz WAN
Quiz
•
11th Grade
10 questions
1ª Questionário Avaliativo - 1º Trimestre P.C 8ª A - J.A
Quiz
•
8th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Instructional Technology
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Los mandatos y las recetas
Lesson
•
11th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
