
Quiz de Programmation Python

Quiz
•
Computers
•
1st - 5th Grade
•
Easy
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
Similar Resources on Wayground
25 questions
Introduction to Python

Quiz
•
KG - University
20 questions
วิทยาการคำนวณ ม.3

Quiz
•
1st Grade
20 questions
N5 Computing SDD (up to fixed loops)

Quiz
•
4th Grade
15 questions
Komputer

Quiz
•
1st Grade
15 questions
Python syntax quiz

Quiz
•
1st - 4th Grade
15 questions
Python Junior

Quiz
•
1st Grade
15 questions
Basic Parts of MS Word

Quiz
•
2nd Grade
17 questions
SNT -photo numérique

Quiz
•
2nd Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade