Manipução de arrays e listas em Python
Quiz
•
Computers
•
Vocational training
•
Practice Problem
•
Medium
CLEYTON PINHEIRO
Used 2+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual dos seguintes é um tipo de dado primitivo em Python?
array
float
struct
tuple
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual comando cria uma lista vazia em Python?
lista = ()
lista = []
lista = {}
lista = array()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dado o código abaixo, qual será a saída? ```python lista = [1, 2, 3] print(lista[1]) ```
1
2
3
Erro
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual método é utilizado para adicionar um elemento ao final de uma lista em Python?
add()
append()
insert()
push()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual das opções abaixo remove o primeiro elemento de uma lista chamada `dados`?
dados.remove(0)
dados.pop(0)
dados.delete(0)
dados.erase(0)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Como acessar o elemento 'b' na lista aninhada abaixo? ```python lista = [[1, 2], ['a', 'b']] ```
lista[1][1]
lista[0][1]
lista[1][0]
lista[2][1]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual função retorna o número de elementos de uma lista chamada `itens`?
count(itens)
len(itens)
size(itens)
length(itens)
Access all questions and much more by creating a free account
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
10 questions
Quiz sobre Funções em Programação
Quiz
•
2nd Grade
20 questions
Nest JS - Parte 01
Quiz
•
Professional Development
10 questions
cp06-01-1D-Array
Quiz
•
University
20 questions
ÔN TẬP HỌC KỲ 2 - TIN HỌC 8
Quiz
•
8th Grade
10 questions
Паскаль. Основные команды
Quiz
•
8th - 11th Grade
10 questions
Perangkat Keras Komputer
Quiz
•
7th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
20 questions
Banco de Dados
Quiz
•
University - Professi...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
