Recuperação - Fundamentos de Python

Recuperação - Fundamentos de Python

Assessment

Passage

Computers

2nd Grade

Easy

Created by

CLAUDINEI JOSE TAGUTI

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

print()

input()

output()

display()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é o operador usado para atribuir valores a variáveis em Python?

==

=

:=

->

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

int

float

str

bool

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual desses é um exemplo válido de uma lista em Python?

{1, 2, 3}

[1, 2, 3]

(1, 2, 3)

<1, 2, 3>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das opções abaixo é uma estrutura de repetição em Python?

if

elif

for

switch

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

O que acontece se você tentar acessar um índice inexistente em uma lista?

Retorna None

Retorna False

Gera um erro IndexError

Cria automaticamente um novo índice

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das opções abaixo representa uma tupla em Python?

[1, 2, 3]

(1, 2, 3)

{1, 2, 3}

<1, 2, 3>

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers