Quiz de Programação em Python

Quiz de Programação em Python

2nd Grade

15 Qs

quiz-placeholder

Similar activities

Arquitetura IPv6

Arquitetura IPv6

1st Grade - University

10 Qs

Tìm hiểu thư điện tử

Tìm hiểu thư điện tử

2nd Grade

13 Qs

PSAS Komputer

PSAS Komputer

1st - 5th Grade

19 Qs

Quiz sobre Funções em Programação

Quiz sobre Funções em Programação

2nd Grade

10 Qs

Organizarea informatiilor

Organizarea informatiilor

2nd Grade

11 Qs

Directory

Directory

2nd - 4th Grade

11 Qs

Bài 9 Thực hành với tệp và thư mục trong máy tính

Bài 9 Thực hành với tệp và thư mục trong máy tính

1st - 5th Grade

18 Qs

Quiz de Programação em Python

Quiz de Programação em Python

Assessment

Quiz

Computers

2nd Grade

Practice Problem

Hard

Created by

Joao Aires

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?