Python basic

Python basic

1st Grade

30 Qs

quiz-placeholder

Similar activities

PYTHON - KIỂU DỮ LIỆU TẬP HỢP

PYTHON - KIỂU DỮ LIỆU TẬP HỢP

1st - 5th Grade

30 Qs

Elemental quiz

Elemental quiz

1st - 5th Grade

25 Qs

Python basic

Python basic

Assessment

Quiz

Information Technology (IT)

1st Grade

Medium

Created by

bolivar obi

Used 3+ times

FREE Resource

30 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"

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?