Search Header Logo

Python Quiz

Authored by Guilherme Prado

Computers

6th - 8th Grade

Used 5+ times

Python Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Como você adiciona um item ao final de uma lista em Python?

list.append(item)

list.insert(item)

list.push(item)

list.add(item)

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

O que é Python?

Uma linguagem de programação de baixo nível.

Uma linguagem de programação de alto nível.

Um sistema operacional.

Um banco de dados.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Como você cria uma variável com o valor 10 em Python?

var = 10

int var = 10

var : 10

int var := 10

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Qual a estrutura correta para um laço 'for' em Python?

for i = 0; i < 10; i++:

for i in range(10):

for (i = 0; i < 10; i++):

for i to 10:

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Qual a sintaxe correta para imprimir "Olá, Mundo!" em Python?

echo "Olá, Mundo!"

print("Olá, Mundo!")

printf("Olá, Mundo!")

cout << "Olá, Mundo!"

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Como você define uma função em Python?

function minha_funcao():

def minha_funcao():

func minha_funcao():

define minha_funcao():

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Qual destas opções é usada para verificar se um valor está presente em uma lista em Python?

if item in list:

if item is in list:

if item not in list:

if list has item:

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?