Quiz de Programmation Python

Quiz de Programmation Python

1st - 5th Grade

20 Qs

quiz-placeholder

Similar activities

Python - тест

Python - тест

1st - 12th Grade

15 Qs

Class 3 MS word

Class 3 MS word

3rd Grade

16 Qs

LATIHAN OPERATOR MATEMATIK DALAM PYTHON

LATIHAN OPERATOR MATEMATIK DALAM PYTHON

2nd Grade

20 Qs

08-23(57). Язык программирования. Система программирования

08-23(57). Язык программирования. Система программирования

5th Grade

20 Qs

Grasshopper App Quiz

Grasshopper App Quiz

4th - 6th Grade

15 Qs

Introduction to Python Quiz - Year 5

Introduction to Python Quiz - Year 5

4th Grade

15 Qs

Python Quiz

Python Quiz

5th - 10th Grade

15 Qs

Quiz de Programmation Python

Quiz de Programmation Python

Assessment

Quiz

Computers

1st - 5th Grade

Easy

Created by

Khaled Abdellatif

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Que va afficher ce code ? for i in range(3): print(i)

1 2 3

0 1 2

0 1 2 3

Rien

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quel est le résultat de ce code ? x = 0 while x < 5: x += 1 print(x)

4

5

6

Erreur

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Laquelle de ces boucles affiche uniquement les nombres pairs de 0 à 10 ?

for i in range(10): print(i)

for i in range(0, 11, 2): print(i)

for i in range(1, 11, 2): print(i)

for i in range(0, 10): print(i+1)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Que va afficher ce code ? for i in range(1, 6): if i == 3: continue print(i)

1 2 3 4 5

1 2 4 5

2 3 4 5

1 2 3 4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quelle est la différence entre break et continue ?

break termine la boucle, continue passe à l'itération suivante

Les deux font la même chose

continue arrête la boucle, break l'ignore

break relance la boucle au début

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Que fait math.ceil(4.2) ?

Arrondit vers le bas

Donne 4

Donne 5

Donne 4.5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Que renvoie math.floor(5.9) ?

6

5

5.9

0

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?