
Condições e Lógica em Python
Quiz
•
Computers
•
9th Grade
•
Medium
Used 2+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que o seguinte código imprime? ```python x = 10 if x > 5: print("Maior que 5") else: print("Menor ou igual a 5") ```
Menor ou igual a 5
Maior que 5
Nada
Erro
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual operador lógico é usado para indicar "e" em Python?
or
and
not
if
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que será impresso? ```python a = 3 b = 7 if a < b and b < 10: print("Verdadeiro") else: print("Falso") ```
Verdadeiro
Falso
Erro
Nada
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True
False
Erro
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que o seguinte código imprime? ```python x = 4 if x % 2 == 0: print("Par") else: print("Ímpar") ```
Par
Ímpar
Erro
Nada
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual operador lógico inverte o valor de uma expressão booleana?
and
or
not
if
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que será impresso? ```python idade = 15 if idade >= 18: print("Maior de idade") else: print("Menor de idade") ```
Maior de idade
Menor de idade
Erro
Nada
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
30 questions
9th_1st quarter Excel Examination
Quiz
•
9th Grade
35 questions
MINH ÔN TẬP TIN HỌC LỚP 3
Quiz
•
1st - 12th Grade
27 questions
Functions of Operating Systems
Quiz
•
8th - 12th Grade
28 questions
Python по занятиям
Quiz
•
1st - 10th Grade
25 questions
Python 2021
Quiz
•
7th - 9th Grade
25 questions
Lesson 4_Advanced Motion Tweening
Quiz
•
9th - 12th Grade
25 questions
Digital Design Review #1
Quiz
•
9th Grade
25 questions
Recap B1 (version française)
Quiz
•
3rd Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)
Quiz
•
9th Grade
15 questions
MLA Formatting
Quiz
•
9th Grade
20 questions
Typing Practice
Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz
Quiz
•
9th Grade