Pular para o conteúdo

File processing

Introduzido
Material de apoio
Videoaula para este tópico Abrir a página do vídeo
13:52

Paradigmas de Programação

Aqui está um trabalho: liste todos os alunos com nota A. Um programador escreve um loop — comece no primeiro registro, verifique a nota, adicione o nome a uma lista, mova…

Narração em inglês · legendas em inglês e 中文 que você pode alternar

Nesta aula

Videoaula
Vocabulário
English Significado
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/apender
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/arquivo temporário
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/sobrescrita
configuration fileA file that stores settings a program uses when it runs.

Material de apoio

Entrar ou criar conta

IGCSE, A-Level & AP