Python Basics Quiz
Quiz
•
Others
•
1st Grade
•
Practice Problem
•
Medium
python squad
Used 1+ times
FREE Resource
Enhance your content in a minute
28 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Qual é a maneira correta de definir um método ligar dentro de uma classe Carro?
Evaluate responses using AI:
OFF
Answer explanation
def ligar_carro():
<Seu código>
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Se você quer adicionar um método frear que imprime “Carro parando”, onde você o colocaria?
Evaluate responses using AI:
OFF
Answer explanation
Dentro da classe carro
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual comando você usa para interromper um loop imediatamente?
A) exit
B) break
C) stop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Se você quer armazenar um número inteiro, como 42, qual tipo de dado você usa?
float
bool
int
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tipos de Dados em Python Qual tipo de dado é usado para representar textos?
int
str
bool
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você chama uma função chamada calcular_area passando os argumentos 5 e 3?
A) calcular_area(5, 3)
B) call calcular_area(5, 3)
C) calcular_area: 5, 3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual comando remove o último elemento de uma lista itens?
itens.remove()
itens.pop()
pop(itens)
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Others
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
14 questions
States of Matter
Lesson
•
KG - 3rd Grade
13 questions
Veterans' Day
Quiz
•
1st - 3rd Grade
20 questions
Multiplication Mastery Checkpoint
Quiz
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
16 questions
natural resources
Quiz
•
1st Grade
20 questions
Identify Coins and Coin Value
Quiz
•
1st Grade
24 questions
Addition
Quiz
•
1st Grade
