Funções e Variáveis em Python
Quiz
•
Mathematics
•
11th Grade
•
Practice Problem
•
Hard
Used 2+ times
FREE Resource
Enhance your content in a minute
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
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
21 questions
Raciocínio Lógico - Professora Regina
Quiz
•
10th Grade - Professi...
20 questions
Recuperação 8 ano_ 1° trimestre
Quiz
•
8th Grade - University
15 questions
Atividade Avaliativa nivelamento
Quiz
•
11th Grade - University
20 questions
Seletivo OMU
Quiz
•
9th - 12th Grade
15 questions
Quiz Cartesiano
Quiz
•
11th Grade
20 questions
Probabilidade e Validade de Argumentos
Quiz
•
8th Grade - University
15 questions
Áreas e Volumes de Cones
Quiz
•
10th - 12th Grade
15 questions
Método 50-30-20_EF _LMS
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Mathematics
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
11 questions
Exponent Quotient Rules A1 U7
Quiz
•
9th - 12th Grade
18 questions
Integer Operations
Quiz
•
5th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems
Quiz
•
9th - 12th Grade
10 questions
complementary and Supplementary angles
Quiz
•
9th - 12th Grade
