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
Similar Resources on Wayground
15 questions
Apply Similar Triangles

Quiz
•
9th Grade - University
17 questions
Angle Addition and Bisector

Quiz
•
10th Grade - University
20 questions
Similar Slope Triangles

Quiz
•
8th Grade - University
16 questions
Parallelograms

Quiz
•
9th Grade - University
20 questions
Reta Numérica

Quiz
•
9th Grade - University
20 questions
Measures of Corresponding Parts of Congruent Triangles

Quiz
•
10th Grade - University
18 questions
1.5 Practice: Measuring & Constructing Angles

Quiz
•
9th - 12th Grade
20 questions
Find Slope with Triangles

Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Mathematics
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts

Interactive video
•
9th - 12th Grade
31 questions
2.1.3 Angle relationships

Quiz
•
10th - 11th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal

Quiz
•
9th - 12th Grade
11 questions
Solving Multistep Equations Quiz

Quiz
•
11th Grade
10 questions
Intro to Parallel and Perpendicular Slopes

Quiz
•
9th - 12th Grade
15 questions
Absolute Value Equations and Inequalities

Quiz
•
9th - 11th Grade
15 questions
Intro To Compound Inequalities

Quiz
•
9th - 12th Grade