Python
Quiz
•
Computers
•
1st - 2nd Grade
•
Practice Problem
•
Medium
MOHAMED HANNAN
Used 72+ times
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
16 questions
Linux-1 Week 6
Quiz
•
1st - 5th Grade
15 questions
Parts of Computer
Quiz
•
1st - 2nd Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
10 questions
programowanie Python
Quiz
•
1st Grade
10 questions
Recap _Basic Concepts class 1 n 2
Quiz
•
1st - 2nd Grade
10 questions
MS OFFICE
Quiz
•
1st Grade
14 questions
COMPUTER SYSTEM REPAIR
Quiz
•
1st Grade - University
14 questions
Python Functions and Flowcharts
Quiz
•
1st - 3rd Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
14 questions
States of Matter
Lesson
•
KG - 3rd Grade
13 questions
Veterans' Day
Quiz
•
1st - 3rd Grade
10 questions
Charlie Brown's Thanksgiving Adventures
Interactive video
•
2nd - 5th Grade
20 questions
Multiplication Mastery Checkpoint
Quiz
•
1st - 5th Grade
20 questions
Subtraction Facts
Quiz
•
2nd Grade
20 questions
Multiplication Facts
Quiz
•
2nd - 3rd Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
