
Python quiz
Authored by Luca Rosati
Other
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quale tipo di dato viene utilizzato per rappresentare numeri con decimali in Python?
float
int
str
bool
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quale funzione utilizziamo per ottenere un input dall'utente?
input()
print()
get_input()
read()
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cosa restituirà il codice: print(type(10.5))?
<class 'float'>
<class 'int'>
<class 'str'>
<class 'bool'>
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Come si dichiara una variabile in Python?
x = 5
int x = 5
declare x = 5
var x = 5
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quale di questi è un operatore di confronto?
0
+
0
:
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quale valore ha la variabile 'x' dopo: x = bool(0)?
False
True
0
1
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Quale funzione stampa un messaggio in output?
print()
output()
echo()
display()
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?