Flashcards: Introduction à la Programmation Python — 16 cards

All cards

1Question

Variables — définition ?

Answer

Conteneurs en mémoire stockant une valeur.

2Question

Type de variable — rôle ?

Answer

Définit la nature de la donnée stockée.

3Question

int — exemple ?

Answer

Nombre entier, ex : 16.

4Question

float — exemple ?

Answer

Nombre décimal, ex : 19.99.

5Question

str — exemple ?

Answer

Chaîne de caractères, ex : "Alice".

6Question

bool — valeur ?

Answer

Vrai ou Faux.

7Question

Opérateurs arithmétiques — symboles ?

Answer

+, -, *, /, //, %, **.

8Question

Division / — résultat ?

Answer

Nombre flottant.

9Question

Division // — résultat ?

Answer

Quotient entier.

10Question

Modulo — symbole ?

Answer

%.

11Question

Puissance — symbole ?

Answer

**.

12Question

Comparateurs — rôle ?

Answer

Comparer deux valeurs.

13Question

`==` — signification ?

Answer

Égal à.

14Question

`!=` — signification ?

Answer

Différent de.

15Question

`if` — fonction ?

Answer

Contrôle conditionnel.

16Question

`elif` — rôle ?

Answer

Condition supplémentaire.

Test yourself with the quiz

Test your knowledge with 8 questions on Introduction à la Programmation Python.

1. Qu'est-ce qu'un type de variable en Python ?

2. Quel symbole en Python représente l'opérateur de puissance ?

Take the quiz →

Read the revision sheet

Review the complete course in the revision sheet for Introduction à la Programmation Python.

See revision sheet →

Similar courses

Create your own flashcards

Import your course and AI generates flashcards in 30 seconds.

Flashcard generator