Python

Quiz
•
Computers
•
1st - 2nd Grade
•
Medium

MOHAMED HANNAN
Used 72+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pour creer la class stagiaire on ecrit
class Stagiaire:
class Stagiaire():
class stagiaire:
def Stagiaire:
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pour créer le constructeur on écrit
def init(self, nom, prenom, age, moyenne):
def __init__(self, nom, prenom, age, moyenne):
def __init__(self):
def __init__(self, nom, prenom, age, moyenne): self.nom = nom self.prenom = prenom self.age = age self.moyenne = moyenne
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
la methode qui affiche les infos d'un stagiaire est :
print(f"Nom :", self.nom) print(f"Prénom :", self.prenom)
def __init__(self): print(f"Nom :", self.nom) print(f"Prénom :", self.prenom) print(f"Age :", self.age) print(f"Moyenne :", self.moyenne)
def afficher(self): print(f"Nom :", self.nom) print(f"Prénom :", self.prenom) print(f"Age :", self.age) print(f"Moyenne :", self.moyenne)
print(f"Nom :", self.nom) print(f"Prénom :", self.prenom) print(f"Age :", self.age) print(f"Moyenne :", self.moyenne)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pour afficher la methode qui affiche les admis
print("liste des admis")
if self.moyenne > 10: self.afficher()
print("admis")
def method(self): if self.moyenne > 10: self.afficher()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
pour comparer si deux variables a et b sont égaux
if a==b:
if a=b:
if a > b:
if a < b:
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for i in range(2,10):
cette boucle se répète ?
10 fois
8 fois
6 fois
4 fois
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = 5
b = 7
s = a*b
la valeur de s est:
7
35
12
2
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Локальные и глобальные переменные

Quiz
•
1st - 5th Grade
10 questions
TUX PAINT

Quiz
•
2nd Grade
14 questions
ôn tập về chuỗi

Quiz
•
1st - 5th Grade
10 questions
Introduction to Python - Loops and Logic

Quiz
•
1st - 6th Grade
10 questions
Information Technology 1 UNIT 13

Quiz
•
1st - 12th Grade
16 questions
Python

Quiz
•
1st Grade
14 questions
Python Functions and Flowcharts

Quiz
•
1st - 3rd Grade
15 questions
Selection in Python

Quiz
•
1st - 9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
20 questions
Proper and Common nouns

Quiz
•
2nd - 5th Grade
30 questions
Multiplication Facts 1-12

Quiz
•
2nd - 5th Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
20 questions
nouns verbs adjectives test

Quiz
•
2nd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade