Python quiz

Python quiz

12th Grade

26 Qs

quiz-placeholder

Similar activities

C Programming

C Programming

12th Grade - University

25 Qs

L'età di Cesare e i poeti neoterici.

L'età di Cesare e i poeti neoterici.

12th Grade

30 Qs

SEMI 3.08

SEMI 3.08

9th - 12th Grade

22 Qs

L'Ottocento - Contesto

L'Ottocento - Contesto

12th Grade

22 Qs

Quispritz

Quispritz

1st - 12th Grade

25 Qs

Verifica Sistemi 3B 30/04/25

Verifica Sistemi 3B 30/04/25

10th Grade - University

27 Qs

2016-MSITA-PPT-Lesson 2 Vocats Review

2016-MSITA-PPT-Lesson 2 Vocats Review

9th - 12th Grade

21 Qs

Java Quiz

Java Quiz

10th - 12th Grade

24 Qs

Python quiz

Python quiz

Assessment

Quiz

Other

12th Grade

Hard

Created by

Luca Rosati

Used 1+ times

FREE Resource

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()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?