
Quiz Python
Authored by Rp ics
Professional Development
Professional Development
Used 8+ times

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 • 20 pts
trova la variabile giusta
1_variabile = 1
variabile 2 = 2
variabile-3 = 3
variabile_4 = 4
2.
MULTIPLE CHOICE QUESTION
30 sec • 14 pts
x = 1
print(x + '2')
TypeError
x2
3
'x+2'
3.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
avendo x = 0 come faccio il ciclo infinito?
if x == 0:
x += 1
while true:
x = x + 1
print(x)
for i in range(x)
print(x + 1)
while True:
x += 1
print(x)
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
print('l'anno scorso sono andato al mare')
il rislutato è:
l'anno scorso sono andato al mare
SyntaxError
'l'anno scorso sono andato al mare''
"l'anno scorso sono andato al mare"
5.
MULTIPLE CHOICE QUESTION
30 sec • 18 pts
lista = [ ] aggiungi una mela
print(mela)
lista.append('mela')
lista = ['mela']
lista.append['mela']
6.
MULTIPLE CHOICE QUESTION
30 sec • 20 pts
come salvo un dato nella variabile?
print('come ti chiami?')
nome = input( )
nome = "nome"
print('nome')
non si può
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
x = random.randint(1, 10)
perchè non funziona il codice?
manca una variabile
manca import
si scrive random.randimt
x è una stringa
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?