wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

QUIZ-6

Total questions: 10

Worksheet time: 2mins

Name
Class
Date
1.

Quel est le résultat de l'expression : not(True and False) or True ?

a)

True

b)

False

c)

Error

d)

Non

2.

Si a = 5, b = 2, quel est le résultat de a // b + a % b ?

a)

2

b)

2.5

c)

3

d)

1

3.

Quelle expression donne toujours True ?

a)

not(True or False)

b)

False and True

c)

not(False and True)

d)

True and False

4.

Si x = 3.7, que retourne round(x) ?

a)

3

b)

3.7

c)

4

d)

3.0

5.

Quel est le type du résultat : 5 / 2 ?

a)

int

b)

float

c)

bool

d)

str

6.

Que vaut l'expression : (10 > 5) and not(3 < 2) ?

a)

True

b)

False

c)

Error

d)

None

7.

Si a = 4b = 7, que retourne a % b ?

a)

3

b)

4

c)

1.75

d)

0

8.

Quelle expression est équivalente à not(a or b) ?

a)

not a and not b

b)

not a or not b

c)

a and b

d)

a or b

9.

not(True and False) donne True

a)

Vrai

b)

Faux

10.

5 / 2 donne un résultat de type int

a)

Vrai

b)

Faux