Quiz de Programação em Python

Quiz de Programação em Python

2nd Grade

15 Qs

quiz-placeholder

Similar activities

Advance Python

Advance Python

KG - Professional Development

10 Qs

AV1/R1 1TEC_IP_Introdução à Programação - Aula 01 a 06

AV1/R1 1TEC_IP_Introdução à Programação - Aula 01 a 06

1st Grade - University

15 Qs

Python Math

Python Math

1st - 12th Grade

10 Qs

Jogos Eletrônicos

Jogos Eletrônicos

1st - 12th Grade

15 Qs

PYTHON BASIC

PYTHON BASIC

2nd Grade

18 Qs

Quiz de Programação

Quiz de Programação

2nd Grade

20 Qs

Python Quiz 🐍

Python Quiz 🐍

2nd - 8th Grade

10 Qs

INFORMÁTICA: Quem sabe mais?

INFORMÁTICA: Quem sabe mais?

KG - Professional Development

15 Qs

Quiz de Programação em Python

Quiz de Programação em Python

Assessment

Quiz

Computers

2nd Grade

Hard

Created by

Joao Aires

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a maneira correta de declarar uma variável em Python?

`var = 10`

`int var = 10`

`10 = var`

`variable: int = 10`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes opções é uma estrutura de controle em Python?

`if`

`print`

`input`

`def`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Como você define uma função em Python?

`function myFunction():`

`def myFunction():`

`create myFunction():`

`define myFunction():`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a saída do seguinte código? ```python x = 5 if x > 3: print("Maior que 3") else: print("Menor ou igual a 3") ```

`Menor ou igual a 3`

`Maior que 3`

`Erro`

`Nenhuma das anteriores`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual das seguintes opções é um loop em Python?

`for`

`while`

`do-while`

`A e B`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Como você lê a entrada do usuário em Python?

`input()`

`read()`

`scan()`

`get()`

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a saída do seguinte código? ```python for i in range(3): print(i) ```

`0 1 2`

`1 2 3`

`0 1 2 3`

`1 2`

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?