wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Python (1)

Total questions: 20

Worksheet time: 5mins

Name
Class
Date
1.

Quel est le type de a : a="33"

a)

Integer

b)

Float

c)

String

d)

Boolean

2.

Quel est le type de a : a=33

a)

Integer

b)

Float

c)

String

d)

Boolean

3.

Quel est le type de a : a=33.0

a)

Integer

b)

Float

c)

String

d)

Boolean

4.
a)

b + a

b)

Salut

c)

lutSa

d)

ERROR

5.
a)

48

b)

48.0

c)

ERROR

d)

12*4

6.
a)

48.0

b)

ERROR

c)

48

d)

12*4.0

7.
a)

5

b)

32

c)

ERROR

d)

3 + "2"

8.
a)

60

b)

23

c)

35

d)

27

9.

Comment demander son âge à l'utilisateur ?

a)

age : input (Quel est votre age ?)

b)

age : input (‘’Quel est votre age ?’’)

c)

age = input ‘’Quel est votre age ?’’

d)

age = input (‘’Quel est votre age ?’’)

e)

age = input (Quel est votre age ?)

10.
a)

a

b)

4

c)

3

d)

b

11.
a)

Majeur

b)

Rien

c)

Mineur

d)

ERROR

12.
a)

Majeur

b)

Rien

c)

ERROR

d)

Mineur

13.
a)

Rien

b)

Majeur

Monsieur

c)

ERROR

d)

Monsieur

14.
a)

7

b)

10

c)

12

d)

15

15.
a)

Il est midi, à table !

b)

Rien

c)

ERROR

d)

J'ai faim !

16.
a)

Soir

b)

Nuit

c)

Matin

d)

Après-midi

17.
a)

Soir

b)

Nuit

c)

Matin

d)

Après-midi

18.
a)

J'ai pas la monnaie

C'est trop cher

b)

C'est trop cher

c)

J'ai pas la monnaie

d)

J'ai le compte pile !

19.
a)

2

b)

4

c)

6

d)

ERROR

20.
a)

2

b)

4

c)

6

d)

ERROR