Funções e Variáveis em Python
Quiz
•
Mathematics
•
11th Grade
•
Hard
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a palavra-chave utilizada para definir uma função em Python?
function
def
func
define
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções abaixo representa uma variável do tipo string em Python?
nome = 10
nome = "Python"
nome = True
nome = 3.14
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que acontece se você tentar acessar uma variável que não foi definida em Python?
O valor será zero
O programa ignora a variável
Ocorre um erro do tipo NameError
O valor será None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int
str
float
bool
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Considere a função abaixo: ```python def soma(a, b): return a + b ``` Qual é o nome dos parâmetros dessa função?
soma e a
a e b
return e soma
def e return
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções abaixo é uma chamada correta para a função definida como `def saudacao(nome):`?
saudacao()
saudacao
saudacao("Maria")
saudacao[Maria]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções abaixo NÃO é um tipo de dado primitivo em Python?
int
float
bool
list
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
21 questions
Proving Angle Relationships
Quiz
•
9th - 11th Grade
20 questions
Proof Quiz (Period 3) Version 1
Quiz
•
11th Grade
19 questions
Slope Triangle
Quiz
•
8th Grade - University
22 questions
Copa CodeOp Grassrots
Quiz
•
8th - 12th Grade
20 questions
Proving Triangle Similarity by AA
Quiz
•
10th Grade - University
15 questions
Proving Quadrilateral Parallelogram
Quiz
•
10th Grade - University
15 questions
Indirect Proof
Quiz
•
8th - 11th Grade
20 questions
Rec_Aprendizagem_9º ano
Quiz
•
9th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Mathematics
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts
Interactive video
•
9th - 12th Grade
17 questions
Analyze Real-World Inequalities and Graphs
Quiz
•
9th - 12th Grade
20 questions
Integer Operations
Quiz
•
6th - 12th Grade
18 questions
Solve Absolute Value Inequalities
Lesson
•
9th - 11th Grade
15 questions
Exterior Angle Theorem
Quiz
•
9th - 12th Grade
20 questions
Solving Absolute Value Equations
Quiz
•
11th - 12th Grade
9 questions
Proving lines are parallel using angles
Quiz
•
9th - 11th Grade