Search Header Logo

Python 71 Quiz

Authored by Rp ics

Professional Development

Professional Development

Used 12+ times

Python 71 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Media Image

Qual è una sintassi corretta per stampare "Ciao, Kodland!" in Python?

print(Ciao, kodland!)

print("Ciao, Kodland!")

Print("ciao kodland')

PRINT(Ciao, Kodland!)

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Quale tra questi è un commento?

"print(commento)"

@print('commento')

#print("Commento")

<!--print("Commento")--

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dobbiamo creare una variabile con un valore numerico, quale tra queste è la variabile corretta?

1var = 1

var 1 = var

var_1 = 1

var1 = "1"

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Abbiamo due variabili, x = 10 e y = 50, vogliamo stampare "Kodland" solo se "y " è maggiore di "x", come facciamo?

if x == y:

if y < x:

if y >= x:

if y > x:

5.

MULTIPLE CHOICE QUESTION

45 sec • 3 pts

Avendo due variabili password = 'Kodland' e y = input( ), dobbiamo stampare "Benvenuto su Kodland" se l'utente inserice la password giusta, secondo te, come si fa?

if password = y:

if y == password:

if y is password:

elif password == 'Kodland':

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

frutta = ["mela","pesca","ananas","uva"]

Questa è una variabile

Questo è un dizionario

Questa è una lista

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

frutta = ["kiwi", "mela", "ananas", "pesca"] come stampo solo la mela?

print(frutta[1])

frutta[print('mela')]

frutta[mela]

print("mela")

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?