Python quiz

Python quiz

12th Grade

26 Qs

quiz-placeholder

Similar activities

Nobilitazioni Tessili

Nobilitazioni Tessili

12th Grade - University

23 Qs

Ognuno muore solo

Ognuno muore solo

12th Grade

30 Qs

direct object pronouns / pronomi oggetto diretto

direct object pronouns / pronomi oggetto diretto

9th - 12th Grade

21 Qs

Robo_Codo Quiz

Robo_Codo Quiz

12th Grade

29 Qs

2016-MSITA-PPT-Lesson 2 Vocats Review

2016-MSITA-PPT-Lesson 2 Vocats Review

9th - 12th Grade

21 Qs

Programming with Python Section 2.1 and 2.2

Programming with Python Section 2.1 and 2.2

9th - 12th Grade

23 Qs

Turtle Graphics and Range in Python

Turtle Graphics and Range in Python

12th Grade

21 Qs

QB 64 TEST 2

QB 64 TEST 2

9th - 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?