
Quiz: Vectors (Lists) in Python - Easy Level
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Marcelo Carlos
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções cria corretamente uma lista em Python?
lista = (1, 2, 3)
lista = {1, 2, 3}
lista = [1, 2, 3]
lista = <1, 2, 3>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você adiciona o número 5 ao final da lista numeros?
numeros.add(5)
numeros.append(5)
numeros.put(5)
numeros.insert()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual comando acessa o terceiro elemento da lista valores?
valores[3]
valores[2]
valores(3)
valores{2}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como você remove o número 10 da lista numeros (assumindo que ele exista)?
numeros.delete(10)
numeros.remove(10)
numeros.pop(10)
numeros.discard(10)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que `len(lista)` retorna?
O último elemento
A soma dos elementos
O número de elementos
Um erro
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que `lista = [1, 2] * 3` cria?
[1, 2, 3]
[3, 6]
[1, 2, 1, 2, 1, 2]
Erro
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções copia uma lista sem referenciar o mesmo objeto?
nova = lista
nova = lista.copy()
nova = lista
nova = lista.append()
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
20 questions
Pretest Alpro Dasar
Quiz
•
University
20 questions
Quiz 1 | Information Security | Kali Linux Commands
Quiz
•
University
15 questions
ViewSonic LCD Training
Quiz
•
12th Grade - University
20 questions
PPL 223 ( QUIZ 2) Syntax and Semantics
Quiz
•
University
15 questions
INFORMATIKA KELAS 7A DAN TB
Quiz
•
7th Grade - University
15 questions
MS Access
Quiz
•
University
19 questions
Lưu trữ và chia sẻ tệp tin bài 6 tin 11 ict
Quiz
•
11th Grade - University
20 questions
Pemrograman Blokly
Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Information Technology (IT)
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
