Python Quiz 15a30

Python Quiz 15a30

10th Grade

15 Qs

quiz-placeholder

Similar activities

Quiz sobre Comunicação e Redes Sociais - ETM 1ª SÉRIE

Quiz sobre Comunicação e Redes Sociais - ETM 1ª SÉRIE

10th Grade

20 Qs

Conceitos de lógica usando Portugo Studio

Conceitos de lógica usando Portugo Studio

10th Grade

10 Qs

Kiểm Tra Bài Cũ

Kiểm Tra Bài Cũ

10th Grade

10 Qs

9 Weeks Test

9 Weeks Test

9th - 12th Grade

16 Qs

EXTRA PRACTICE - Coding & Gaming

EXTRA PRACTICE - Coding & Gaming

10th Grade

15 Qs

post test 1

post test 1

10th Grade

20 Qs

Posttest Aplikasi Pengolah Kata

Posttest Aplikasi Pengolah Kata

9th - 12th Grade

10 Qs

Casa de Peixes

Casa de Peixes

10th Grade

12 Qs

Python Quiz 15a30

Python Quiz 15a30

Assessment

Quiz

Information Technology (IT)

10th Grade

Practice Problem

Medium

Created by

Douglas Carvalho

Used 1+ times

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

True

False

None

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual operador lógico é usado para inverter o valor de uma expressão booleana em Python?

and

or

not

xor

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True

False

None

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a saída do seguinte código Python? ```python if 10 > 5: print("Maior") else: print("Menor") ```

Maior

Menor

Error

Nenhuma das anteriores

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Maior que 5

Igual a 5

Menor que 5

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Maior que 5

Igual a 3

Menor que 5

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a saída do seguinte código Python? ```python def fatorial(n): if n == 0: return 1 else: return n * fatorial(n-1) print(fatorial(4)) ```

24

12

4

1

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?