Search Header Logo

Questionário de Programação em Python

Authored by FELIPE GARCIA VIEIRA

Information Technology (IT)

12th Grade

Used 3+ times

Questionário de Programação em Python
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

3 mins • 1 pt

Qual comando é utilizado para importar um módulo em Python?

import()

import module

from module import

include module

require module

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Qual é a saída do código abaixo? print(3 * 4 - 2)

12

10

14

24

6

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Qual das alternativas é uma forma correta de declarar uma lista em Python?

[1, 2, 3]

{1, 2, 3}

(1, 2, 3)

[1, 2; 3]

list(1, 2, 3)

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Como podemos acessar o último item de uma lista chamada meu_lista?

meu_lista[0]

meu_lista[-1]

meu_lista[-0]

meu_lista[1]

meu_lista[2]

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Qual é a sintaxe correta para definir uma função em Python?

def minha_funcao{}

function minha_funcao()

def minha_funcao():

func minha_funcao():

function minha_funcao{}

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Qual operador é utilizado para divisão em Python?

//

%

/

*

**

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Qual é a função usada para obter o tipo de uma variável em Python?

type()

variable()

gettype()

type_of()

checktype()

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?