Search Header Logo

Quiz sobre Listas, Funções e Estruturas de Dados em Python

Authored by Leilane Kazuko

Instructional Technology

10th Grade

Used 2+ times

Quiz sobre Listas, Funções e Estruturas de Dados em Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

41 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a função usada para adicionar um elemento ao final de uma lista em Python?

push()

append()

add()

insert()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é o resultado da função len([10, 20, 30])?

10

2

30

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

O que a função range(n) retorna?

Uma lista de 1 a n-1

Uma lista de 0 a n-1

Uma lista de 1 a n

Uma lista de 0 a n

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a saída do código: for i in range(2): print(i)?

1 2

1 2 3

0 1 2

0 1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Como se chama a estrutura de dados que usa pares de chave e valor?

Dicionário

Conjunto

Lista

Tupla

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a saída de print(aluno['nome']) se aluno = {'nome': 'Lucas', 'idade': 17}?

idade

Lucas

17

nome

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual método de lista modifica a lista original para ordená-la?

sort()

arrange()

sorted()

order()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?