Python Rappel 1

Python Rappel 1

Assessment

Quiz

Information Technology (IT)

1st Grade

Practice Problem

Medium

Created by

bolivar obi

Used 8+ times

FREE Resource

Student preview

quiz-placeholder

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quelle est la bonne syntaxe pour créer une variable contenant un nombre entier en Python ?

nombre = "10"

nombre = 10

nombre = '10'

nombre == 10

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quelle est la bonne syntaxe pour créer une variable contenant un texte (chaîne de caractères) en Python ?

texte = "Bonjour"

texte = Bonjour

texte = 1234

texte = [Bonjour]

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quelle est la valeur de x après cette instruction : x = 5 + 3 ?

x = 53

x = "5 + 3"

x = 8

x = "8"

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quel type de données correspond à age = 12 ?

string

integer

float

boolean

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quel type de données correspond à prenom = "Alice" ?

integer

boolean

string

float

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quelle opération permet d’additionner deux nombres en Python ?

+

-

*

/

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quel sera le résultat de x = 4 * 2 ?

x = 6

x = 8

x = 42

x = "4*2"

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?