Passer au contenu

File processing

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

Paradigmes de programmation

Voici une tâche : lister tous les élèves ayant une note A. Un programmeur écrit une boucle — commencer au premier enregistrement, vérifier la note, ajouter le nom à une liste, avancer…

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

Dans cette leçon

Leçon vidéo
Vocabulaire
English Sens
text file/tekst faɪl/A file that stores data as a sequence of encoded characters.
stream of charactersA sequence of characters stored one after another in a file.
byte/baɪt/A group of eight bits, commonly used as a unit of data storage.
file operationsActions a program performs on files, such as reading and writing.
APPEND/əˈpend/AJOUT
file layoutThe way data and records are organised within a file.
access method/ˈækses ˈmeθəd/A way of reaching and reading records stored in a file.
sequential access/siːˈkwenʃl ˈækses/Reading records in order from the start until the wanted record is reached.
text recordsUnits of information stored as text, often one per line in a file.
flag/flæɡ/A stored indicator of a condition or state, often represented by a Boolean value or a single bit.
loop/luːp/A structure that repeats a sequence of instructions.
temporary file/ˈtemprəri faɪl/fichier temporaire
sequential updateChanging records by reading them in order and writing the updated results.
record/ˈrekɔːd/A stored collection of information about an item, person or event.
delete/dɪˈliːt/To remove a record from a table.
insert/ˈɪnsɜːt/To add a new item to a data structure, file or table.
Hard-coded pathsPut the filename in a constant so it appears once and the program can be moved.
filenameThe name used to identify a file when accessing it.
constant/ˈkɒnstənt/A named or literal value that does not change during the relevant part of a program.
mode/məʊd/A setting that determines how a file is opened or used, such as reading, writing or appending.
log/lɒɡ/A record of events and actions on a computer system.
overwrite/ˌəʊvəˈraɪt/réécriture
configuration fileA file that stores settings a program uses when it runs.

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP