Passer au contenu

Concepts de programmation — structures de données et de contrôle

Introduit
Fiche de cours
Leçon vidéo pour ce sujet Ouvrir la page vidéo
13:08

Programmation

Voici un court programme. Il lit cinq notes de test et affiche le total. Les cinq notes sont huit, neuf, sept, six et dix, donc le total devrait être quarante. Regardez…

Narration en anglais · sous-titres en anglais et en 中文 au choix

Dans cette leçon

Leçon vidéo
Vocabulaire
English Sens
data type/ˈdeɪtə taɪp/type de données
control structures/kənˈtrəʊl ˈstrʌktʃəz/
totalling/ˈtəʊtəlɪŋ/Running total.
counting/ˈkaʊntɪŋ/Finding a number of items or events, often by increasing a counter for each one.
variable/ˈveərɪəbl/
constant/ˈkɒnstənt/constante
integer/ˈɪntɪdʒə/entier
real/rɪəl/réel
char/tʃɑː/
string/strɪŋ/chaîne
Boolean/ˈbuːlɪən/valeur booléenne
sequence/ˈsiːkwəns/séquence
selection/sɪˈlekʃn/sélection
branch/bræntʃ/
iteration/ˌɪtəˈreɪʃn/itération
body/ˈbɒdi/
Count-controlled/kaʊnt kənˈtrəʊld/
Pre-condition
Post-condition
loop/luːp/A structure that repeats a sequence of instructions.
pseudocode/ˈsuːdəʊkəʊd/A language-independent description of an algorithm using structured, programming-like statements.
CASE/keɪs/
Suivant →

Fiche de cours

IGCSE, A-Level & AP