
Programação em Python | Operadores
Quiz
•
Mathematics
•
Professional Development
•
Practice Problem
•
Hard
Walmes Zeviani
FREE Resource
Enhance your content in a minute
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é o resultado da expressão `10 + 5 * 2` em Python?
20
30
15
25
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual operador é usado para obter o resto da divisão entre dois números em Python?
/
//
%
**
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Para calcular a raiz quadrada de um número em Python, qual função do módulo `math` você usaria?
math.pow(x, 2)
math.root(x)
math.sqrt(x)
math.exp(x)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual a diferença entre os operadores `/` e `//` em Python?
Ambos realizam a mesma operação, a divisão.
`/` retorna um número de ponto flutuante, enquanto `//` retorna a parte inteira do resultado da divisão.
`/` retorna a parte inteira da divisão, enquanto `//` retorna um número de ponto flutuante.
`/` realiza a divisão, enquanto `//` calcula o resto da divisão.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual o resultado da expressão `2 ** 3` em Python?
5
6
8
9
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual função do módulo `math` você usaria para calcular o logaritmo na base 10 de um número em Python?
math.log(x)
math.log10(x)
math.log2(x)
math.ln(x)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que o operador `==` faz em Python?
Atribui um valor a uma variável.
Verifica se dois valores são iguais.
Verifica se dois valores são diferentes.
Compara a ordem de dois valores.
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
15 questions
Raciocínio lógico Matemática
Quiz
•
Professional Development
15 questions
ÔN TẬP SỐ HỌC
Quiz
•
Professional Development
13 questions
Relembrando Potenciação com os números naturais.
Quiz
•
Professional Development
10 questions
Measures of Central Tendency - Ungrouped Data
Quiz
•
11th Grade - Professi...
12 questions
Unidade 3: Ângulos e Triângulos
Quiz
•
Professional Development
10 questions
MATEMÁTICA E NATUREZA LEANDRO MACIEL
Quiz
•
Professional Development
10 questions
Geometria Espacial
Quiz
•
Professional Development
10 questions
Avaliação de Pensamento Lógico
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
