
Python - Revisão P2
Quiz
•
Information Technology (IT)
•
University
•
Easy
CRISTINA CO
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
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") else: print("Menor ou igual a 5") ```
Menor ou igual a 5
Maior que 5
Nenhuma das anteriores
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a função correta para calcular o comprimento de uma lista em Python?
length(lista)
count(lista)
len(lista)
size(lista)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código Python? ```python for i in range(3): print(i) ```
0 1 2
1 2 3
0 1 2 3
1 2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a sintaxe correta para definir uma função em Python?
def nome_funcao():
function nome_funcao():
func nome_funcao():
define nome_funcao():
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código Python? ```python lista = [1, 2, 3, 4] print(lista[2]) ```
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a função usada para ler a entrada do usuário em Python 3?
input()
read()
scan()
get()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual é a saída do seguinte código Python? ```python x = 0 while x < 3: print(x) x += 1 ```
0 1 2
1 2 3
0 1 2 3
1 2
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
12 questions
Test Procesos de Investigación II
Quiz
•
University
12 questions
Графічний інтерфейс Python
Quiz
•
12th Grade - University
10 questions
ITEC 95:QUANTITATIVE RESEARCH QUIZ 1
Quiz
•
University
15 questions
Quiz Diagnóstico - RA e RV para JD
Quiz
•
University
20 questions
Ktra thường xuyên Tin 11
Quiz
•
11th Grade - University
20 questions
BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON
Quiz
•
10th Grade - University
16 questions
Sistematizacija gradiva IX
Quiz
•
9th Grade - University
13 questions
Matploblib en Python
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
