Search Header Logo

Exercícios de Revisão – Python Básico

Authored by PAULO HENRIQUE GOMES CORDEIRO DA CUNHA

Information Technology (IT)

1st Grade

Used 4+ times

Exercícios de Revisão – Python Básico
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual função do Python é usada para exibir informações na tela?

input()

print()

show()

output()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é o tipo de dado retornado por input()?

int

bool

str

float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Analise o código abaixo e assinale o resultado exibido: print(2 + 3 * 4)

20

14

24

18

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sobre a indentação em Python, é correto afirmar:

É opcional, apenas melhora a estética.

É obrigatória e define blocos de código.

Pode ser substituída por colchetes.

Serve apenas para comentários.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a saída do código abaixo? nome = "Lucas" print("Olá,", nome)

Olá,Lucas

nome

Olá, nome

Olá, Lucas

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

O operador != significa:

Atribuição

Igual a

Diferente de

Menor ou igual

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual estrutura repete um bloco de código enquanto uma condição for verdadeira?

for

while

if

def

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?