Search Header Logo

Python revisão final

Authored by Angelo Casten

Computers

11th Grade

Used 1+ times

Python revisão final
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes estruturas de dados em Python é imutável?

Lista

Dicionário

Conjunto

Tupla

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual método é usado para adicionar um item ao final de uma lista em Python?

append()

add()

insert()

extend()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes opções é uma maneira correta de declarar uma função em Python?

function minha_funcao():

def minha_funcao():

func minha_funcao():

minha_funcao() def:

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Em Python, qual palavra-chave é usada para criar uma classe?

class

def

struct

object

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes opções é uma estrutura de dados que permite armazenar pares chave-valor?

Lista

Tupla

Dicionário

Conjunto

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes opções é um exemplo de herança em Python?

class Carro(object):

class Carro:

class Carro(Veiculo):

class Carro -> Veiculo:

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes opções é uma maneira correta de acessar o valor associado a uma chave em um dicionário?

dicionario.chave

dicionario[chave]

dicionario->chave

dicionario(chave)

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?