Evaluation Python 2

Quiz
•
Computers
•
12th Grade
•
Medium

Housem Boulmezaoud
Used 105+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pour déclarer une variable α de type entier, on utiliser l'instruction
a == 4
a = 4
a = 4.0
a = '4'
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
L'instruction range(5) renvoie la liste
[0,1,2,3,4,5]
[0,1,2,3,4]
[1,2,3,4,5]
[1,2,3,4]
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
La suite d'instruction
mot = 'Baccalaureat'
for i in mot:
.....print(i)
Affiche une liste d'éléments de type int
Affiche une liste de mot
Affiche une liste de lettre
N'affiche rien
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Le mot réservé while, permet de définir
une variable
une boucle
un test
une fonction
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
La suite d'instruction:
n = 3
while n>4:
.....n = n +2
print(n)
affiche 0
ne affiche rien
affiche 3
affiche 5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
n = -1
if n > 0:
.....print(False)
else:
.....print(True)
False
True
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cette suite d'instructions est elle correctement écrite:
n = 3
if n > 2:
print('oui')
else :
......print('non')
Oui
Non
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Big O Notation Revision

Quiz
•
12th Grade
10 questions
Ciência de Dados - Probabilidade e Variáveis Aleatórias II

Quiz
•
12th Grade
13 questions
It essential - chapitre 12

Quiz
•
12th Grade
10 questions
QCM 1 SMDSI

Quiz
•
12th Grade
18 questions
FOR and WHILE loop in Python

Quiz
•
9th - 12th Grade
16 questions
Keyboard Shortcuts

Quiz
•
6th - 12th Grade
19 questions
A Level - Big O Notation

Quiz
•
12th Grade
10 questions
Kiểm tra bổ sung

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade