Search Header Logo

Quiz de Python para Iniciantes

Computers

10th Grade

Used 1+ times

Quiz de Python para Iniciantes
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das opções abaixo representa corretamente a declaração de uma variável do tipo inteiro em Python?

inteiro numero = 10

numero = 10

int numero = 10

numero := 10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é o tipo de dado retornado pela função `input()` em Python?

int

float

str

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual comando é utilizado para exibir uma mensagem na tela em Python?

show()

print()

display()

output()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dado o código abaixo, qual será o valor da variável `x` após a execução? ```python x = 5 x = x + 2 ```

2

5

7

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das opções abaixo representa um tipo de dado float em Python?

10

"10"

10.0

True

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

O que será exibido ao executar o seguinte código? ```python nome = input("Digite seu nome: ") print("Olá,", nome) ```

Olá, nome

Digite seu nome: Olá, nome

Olá, seguido do nome digitado pelo usuário

Erro de sintaxe

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das opções abaixo NÃO é um tipo de dado primitivo em Python?

int

float

string

list

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?