Search Header Logo

Avaliação Python - 3º EMI

Authored by Gerbison Esmero Sabino

Information Technology (IT)

2nd Grade

Used 6+ times

Avaliação Python - 3º EMI
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

45 sec • 5 pts

Media Image

Qual a saída do código a seguir?

10

55

Erro de compilação

5 5

2.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Complete a frase: Para ler um valor do teclado usamos a função ____.

read()

input()

scan()

get()

3.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Qual a função de strip() em uma string?

Substitui caracteres

Remove espaços em branco do início e do fim

Converte a string para maiúsculas

Divide a string em partes

4.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Qual a sintaxe correta para declarar uma lista em Python?

{1, 2, 3}

[1, 2, 3]

(1, 2, 3)

<1, 2, 3>

5.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Para que serve o operador % em Python?

Multiplicação

Módulo

Exponenciação

Divisão

6.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Media Image

Qual será a saída do código a seguir?

1 2 3

0 1 2 3

0 1 2

Erro

7.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Qual a maneira correta de verificar se um número é par em Python?

if num % 2 == 0:

if num / 2 == 0:

if num % 2:

if num == 2:

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?