Search Header Logo

Quiz di Programmazione Python

Authored by vincenzo cicco

Computers

2nd Grade

Used 5+ times

Quiz di Programmazione Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

print("he77o w0rld".isdigit()) restituisce:

False

True

Errore

Niente

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In un ciclo for i in range(2, 10, 2): print(i), cosa viene stampato?

2 4 6 8

2 3 4 5 6 7 8 9

2 4 6 8 10

4 6 8 10

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

s = [1, 2, 3, 4]; s.reverse() produce:

[4, 3, 2, 1]

[1, 2, 3, 4]

4, 3, 2, 1

[3, 4, 1, 2]

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

print("Python Programma Perfetto".find("p")) restituisce:

1

-1

Errore

0

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Qual è l'output di print("abcdefghi"[::3])?

abcde

ace

bd

ae

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Qual è l'output di print("Hello World".upper())?

hello world

HELLO WORLD

HELLO world

Hello World

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

print([1, 2, 3] + [4, 5, 6]) restituisce:

[4, 5, 6, 1, 2, 3]

1, 2, 3, 4, 5, 6

[1, 2, 3, 4]

[1, 2, 3, 4, 5, 6]

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?