Passer au contenu

Algorithmes et pseudocode

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

Pensée computationnelle

Voici une tâche : construire un système pour gérer tout le stock d'un magasin — chaque produit, chaque vente, chaque livraison, chaque rapport. En tant que problème unique, c'est trop grand pour…

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

Dans cette leçon

Leçon vidéo
Vocabulaire
English Sens
algorithm/ˈælɡərɪθəm/algorithm : algorithme
sequence/ˈsiːkwəns/sequence : séquence
deterministic/dɪˌtɜːmɪˈnɪstɪk/deterministic : déterministe
randomised algorithmAn algorithm that uses random choices and can behave differently with the same input.
programming language/ˈprəʊɡræmɪŋ ˈlæŋɡwɪdʒ/A language used to write instructions that a computer can run.
process/ˈprəʊses/The actions that change input data to produce a result.
identifier table/aɪˈdentɪfaɪə ˈteɪbl/identifier table : tableau des identificateurs
code/kəʊd/Instructions written in a programming language for a computer to follow.
variable/ˈveərɪəbl/variable : variable
data type/ˈdeɪtə taɪp/data type : type de données
pseudocode/ˈsuːdəʊkəʊd/pseudocode : pseudocode
constructsBasic ways to organise steps in an algorithm, including order, choice and repetition.
Assignment/əˈsaɪnmənt/The action of storing a value in a variable.
comparison/kəmˈpærɪsn/Examining two or more items to identify similarities, differences or their relative order.
whole-number divisionDivision that gives the whole-number part of the result without the remainder.
remainder/rɪˈmeɪndə/The amount left after division into equal whole groups, or the residual expression after algebraic division.
loop/luːp/loop : boucle
count-controlled loop/kaʊnt kənˈtrəʊld luːp/count-controlled loop : boucle comptée
condition/kənˈdɪʃn/A requirement or circumstance that affects what happens or whether something is true.
body/ˈbɒdi/The statements inside a loop that run each time the loop repeats.
pre-condition loop/priː kənˈdɪʃn luːp/pre-condition loop : boucle à précondition
post-condition loop/pəʊst kənˈdɪʃn luːp/post-condition loop : boucle à postcondition
iteration/ˌɪtəˈreɪʃn/itération
selection/sɪˈlekʃn/sélection
statementsInstructions in a program or pseudocode that tell the computer what to do.
flowchart/ˈfləʊtʃɑːt/organigramme
decision/dɪˈsɪʒn/A test in a flowchart that chooses a path based on a condition.
flow lineA line with an arrow showing the direction between steps in a flowchart.
structured English/ˈstrʌktʃəd ˈɪŋɡlɪʃ/A restricted form of ordinary English that uses clear sequence, selection and repetition statements to describe an algorithm.
Stepwise refinement/ˈstepwaɪz rɪˈfaɪnmənt/The process of expanding an outline into detailed steps until each can be coded.
logic statementsConditions made from comparisons that may be joined using AND, OR or NOT.
comparisonsOperations that check the relationship between two values.
initialise/ɪˈnɪʃəlaɪz/Give a variable or data structure its starting value before it is used.
running total/ˈrʌnɪŋ ˈtəʊtl/A value that is updated as new amounts are added.
Suivant →

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP