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
20 questions
HW 2-2
Quiz
•
9th - 12th Grade
19 questions
Atividade Diagnóstica
Quiz
•
9th - 12th Grade
20 questions
Desvendando as Porcentagens
Quiz
•
7th Grade - University
16 questions
Medidas de tendência central – II
Quiz
•
10th Grade - University
17 questions
Derivate 2
Quiz
•
11th - 12th Grade
20 questions
OLIMATH NIVEL UPPER
Quiz
•
11th Grade
15 questions
Função afim
Quiz
•
8th - 12th Grade
20 questions
untitled
Quiz
•
10th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Mathematics
15 questions
Mock Fall Final
Quiz
•
9th - 12th Grade
23 questions
Rational Exponents and Simplifying using Exponent Properties
Quiz
•
9th - 12th Grade
12 questions
Polynomials 7-1/7-2/7-3
Lesson
•
9th - 12th Grade
13 questions
Congruent Triangle Proofs
Quiz
•
9th - 12th Grade
14 questions
Permutations and Combinations
Quiz
•
9th - 12th Grade
13 questions
Reading And Writing Numerical Expression
Quiz
•
6th - 12th Grade
11 questions
73 WarmUp: Graphing SOE/Ineqs
Quiz
•
9th - 12th Grade
19 questions
Distributive Property
Quiz
•
6th - 12th Grade
