
Python Quiz 15a30

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Douglas Carvalho
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True
False
None
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual operador lógico é usado para inverter o valor de uma expressão booleana em Python?
and
or
not
xor
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True
False
None
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código Python? ```python if 10 > 5: print("Maior") else: print("Menor") ```
Maior
Menor
Error
Nenhuma das anteriores
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código Python? ```python x = 10 if x > 5: print("Maior que 5") elif x == 5: print("Igual a 5") else: print("Menor que 5") ```
Maior que 5
Igual a 5
Menor que 5
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código Python? ```python x = 3 if x > 5: print("Maior que 5") else: if x == 3: print("Igual a 3") else: print("Menor que 5") ```
Maior que 5
Igual a 3
Menor que 5
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código Python? ```python def fatorial(n): if n == 0: return 1 else: return n * fatorial(n-1) print(fatorial(4)) ```
24
12
4
1
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Koding dan kecerdasan artifisial

Quiz
•
10th Grade
15 questions
Dasar Koding dan Kecerdasan Artifisial

Quiz
•
10th Grade
20 questions
Analisis Data dengan Python

Quiz
•
10th Grade
15 questions
Quiz de Robótica com Arduino e mBlock

Quiz
•
10th Grade
10 questions
Quiz de Programação em C

Quiz
•
9th - 12th Grade
20 questions
Программирование на Python

Quiz
•
10th Grade
15 questions
Bài 19: Câu lệnh rẽ nhánh IF

Quiz
•
10th Grade
20 questions
python basics

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University