
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
Similar Resources on Wayground
15 questions
แข่งขันcodingม.ต้น

Quiz
•
12th Grade - University
15 questions
Join by Madi

Quiz
•
University
10 questions
Week3 上周知识点回顾

Quiz
•
University
20 questions
HTML BASICO

Quiz
•
University
20 questions
Tippie Tech Spring Kickoff Activity

Quiz
•
University
10 questions
Aula 2 - IC

Quiz
•
University
20 questions
Revissão - Linguagem C (str, fun, stru, vt+mt,)

Quiz
•
University
10 questions
Quiz de Lógica Computacional

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University