QCM : Python (TC Lycée)

QCM : Python (TC Lycée)

7th Grade

10 Qs

quiz-placeholder

Similar activities

Environnement informatique

Environnement informatique

7th - 8th Grade

12 Qs

Défis Python

Défis Python

7th Grade

12 Qs

Python Course

Python Course

5th Grade - University

6 Qs

Cours techniscéniste

Cours techniscéniste

6th - 8th Grade

10 Qs

Python Math

Python Math

1st - 12th Grade

10 Qs

Quiz: Python Intermédiaire Niveau 1

Quiz: Python Intermédiaire Niveau 1

6th - 8th Grade

14 Qs

computer science league

computer science league

6th - 12th Grade

10 Qs

Contrôle N°2 (Scratch)

Contrôle N°2 (Scratch)

6th - 8th Grade

12 Qs

QCM : Python (TC Lycée)

QCM : Python (TC Lycée)

Assessment

Quiz

Computers

7th Grade

Easy

Created by

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?