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
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
Already have an account?
Similar Resources on Wayground
16 questions
Matrizes
Quiz
•
11th Grade
15 questions
SISTEMI LINEARI
Quiz
•
9th - 12th Grade
20 questions
QUIZ SAEB 3º ANO
Quiz
•
9th - 12th Grade
16 questions
Questões – Carta do Leitor (7º ano) Waygraund
Quiz
•
10th Grade - University
20 questions
Sas Asa Sss
Quiz
•
10th Grade - University
15 questions
Função do 1° grau
Quiz
•
10th - 12th Grade
19 questions
Similarity
Quiz
•
7th - 12th Grade
19 questions
Triangles Review
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Mathematics
11 questions
Solve Systems of Equations and Inequalities
Quiz
•
9th - 12th Grade
17 questions
Identify Linear and Nonlinear Functions
Quiz
•
8th - 12th Grade
15 questions
Identify Triangle Congruence Postulates
Quiz
•
9th - 12th Grade
12 questions
Combine Like Terms
Quiz
•
6th - 12th Grade
20 questions
Multi-Step Equations and Variables on Both Sides
Quiz
•
9th - 12th Grade
20 questions
Multiplication and Division Facts
Quiz
•
3rd - 12th Grade
30 questions
Unit 1 Final Review
Quiz
•
9th - 12th Grade
17 questions
Triangle Congruence Theorems
Quiz
•
9th - 11th Grade
