QCM : Python (TC Lycée)

Quiz
•
Computers
•
7th Grade
•
Easy
fatima FADLI
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle instruction permet de demander à l’utilisateur
de saisir un nombre entier en Python ?
read()
scan()
int(input())
get()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle est la bonne syntaxe pour afficher un résultat en Python ?
afficher(resultat)
print(resultat)
echo(resultat)
output(resultat)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Que signifie l’opérateur // en Python ?
Division entière
Modulo
Exponentiation
Erreur
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Que fait le code suivant ?
Compare deux chaînes de caractères
Affiche une erreur
Compare deux nombres et affiche un message
Demande une saisie
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quel mot-clé est utilisé pour ajouter un choix alternatif après un if ?
For
elif
else if
elseif
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Que se passe-t-il si on divise par zéro en Python ?
Le programme affiche 0
Le programme ignore l’opération
Le programme plante avec une erreur
Le programme affiche "infini"
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Complète ou corrige le code suivant pour qu’il fonctionne :
a = input("Entrez un nombre : ")
b = input("Entrez un autre nombre : ")
print("Résultat = ", ___)
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
7 сынып информатика

Quiz
•
7th Grade
10 questions
CodeTigers Python 101

Quiz
•
KG - Professional Dev...
15 questions
Python Basics

Quiz
•
KG - University
10 questions
Artificial Intelligence

Quiz
•
6th - 12th Grade
13 questions
Python

Quiz
•
7th - 8th Grade
11 questions
Python for Class 7

Quiz
•
7th - 8th Grade
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
15 questions
Python basics

Quiz
•
6th - 8th 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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade