Passer au contenu

User-defined data types

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

Types de données définis par l'utilisateur

Un champ chaîne simple stockera volontiers des nonsens. Demandez un type de véhicule, et quelqu'un tape Bananes — le programme l'accepte sans murmurer. Mais si vous…

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

Dans cette leçon

Leçon vidéo
Vocabulaire
English Sens
field/fiːld/A named component of a record, with its own value and type.
enumerated type/ɪˈnjuːməreɪtɪd taɪp/Type énuméré
enum literalA named value in the fixed list of an enumerated type.
compiler/kəmˈpaɪlə/Software that translates a program from a source language into another form, commonly machine or intermediate code.
run time/rʌn taɪm/The period during which a program is running on a computer.
assignedGiven a value to store in a variable or field.
user-defined types/ˈjuːzə dɪˈfaɪnd taɪps/Types définis par l'utilisateur
variable/ˈveərɪəbl/A quantity or named value that can change or take different values.
non-composite/nɒn ˈkɒmpəzɪt/Non composite
composite/ˈkɒmpəzɪt/
named constantsValues given names that do not change while a program runs.
integers/ˈɪntɪdʒəz/A whole number that may be positive, negative or zero.
pointer/ˈpɔɪntə/pointeur
memory address/ˈmeməri əˈdres/A number that identifies a location in memory.
dereference/ˌdiːˈrefrəns/Déréférencement
dynamic structuresData structures that can grow or shrink while a program runs.
linked list/lɪŋkt lɪst/A sequence of nodes connected by references or pointers; the nodes need not occupy adjacent memory locations.
nodes/nəʊdz/Individual parts of a data structure that hold data and links to other parts.
tree/triː/A structure of connected nodes that can split into branches.
record/ˈrekɔːd/Enregistrement
procedure/prəˈsiːdʒə/A named sequence of instructions that performs a task when called.
set/set/Ensemble
membership test/ˈmembəʃɪp test/A check of whether a particular value is present in a set.
union/ˈjuːnɪən/The set of elements that belong to at least one of the sets being combined.
intersection/ˌɪntəˈsekʃn/The set of elements that belong to all of the sets being compared.
class/klæs/Classe
instances/ˈɪnstənsɪz/A particular occurrence or example; in object-oriented programming, an object created from a class.
objects/ˈɒbdʒekts/An entity in a program with associated state and behaviour, often an instance of a class.
data fieldsNamed places in a record or object that hold its data values.
attributes/ˈætrɪbjuːts/Attributs
methods/ˈmeθədz/Méthodes
identifier/aɪˈdentɪfaɪə/A name used to identify a program element such as a variable, function or class.
indirectionAccess to data through an address held by a pointer.
array/əˈreɪ/An indexed collection of elements arranged in one or more dimensions.

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP