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
10 questions
Quiz Python

Quiz
•
2nd Grade
10 questions
Teknologi kelas 2 print artist

Quiz
•
2nd Grade
9 questions
Internetul

Quiz
•
1st - 8th Grade
15 questions
Python MDS 2

Quiz
•
1st Grade
10 questions
6 сынып PYTHON тілінде программалау

Quiz
•
1st Grade
8 questions
1 jour, 1 question "Qui a inventé les jeux vidéo ? "

Quiz
•
1st - 12th Grade
10 questions
Small Basic 2

Quiz
•
KG - 8th Grade
10 questions
Introduction to Python - Input, Output and Math

Quiz
•
1st - 6th 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
Discover more resources for Computers
18 questions
D189 1st Grade OG 1c Concept 37-38

Quiz
•
1st Grade
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
10 questions
Human-Environment Interactions Vocab Unit 1 Grade 2 Quiz

Quiz
•
2nd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
17 questions
Place value

Quiz
•
2nd Grade