Quelle instruction permet de demander à l’utilisateur
de saisir un nombre entier en Python ?
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
10 questions
Python. Урок-01. Знакомство
Quiz
•
6th - 7th Grade
11 questions
Excel Tableau croisé dynamique ( niveau 8 )
Quiz
•
1st - 12th Grade
15 questions
Programación
Quiz
•
7th - 9th Grade
10 questions
Test rápido tecno 1
Quiz
•
7th Grade
10 questions
computer science league
Quiz
•
6th - 12th Grade
10 questions
Python
Quiz
•
3rd - 10th Grade
10 questions
Python ծրագրավորման լեզու
Quiz
•
7th - 10th Grade
12 questions
Limbaj de programare
Quiz
•
7th - 8th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check
Quiz
•
5th - 7th Grade
10 questions
Identifying equations
Quiz
•
KG - University
44 questions
El fin del año- 7th
Quiz
•
7th - 12th Grade
20 questions
Math Review
Quiz
•
7th Grade
14 questions
Subtracting Integers
Lesson
•
6th - 8th Grade
15 questions
Exponent Properties
Quiz
•
7th - 9th Grade