Pular para o conteúdo

Tipos de dados e registros

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

Tipos de Dados & Estruturas

Todo valor armazenado pelo seu programa precisa de um tipo de dado — e escolher o correto é importante. Digamos que você armazene se um item está em estoque. Você poderia escrever a palavra yes…

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

Nesta aula

Videoaula
Vocabulário
English Significado
data type/ˈdeɪtə taɪp/tipo de dado
memory/ˈmeməri/Circuits that store data, such as registers, RAM and ROM.
characters/ˈkærɪktəz/A text unit such as a letter, digit, punctuation mark or other symbol.
code/kəʊd/Instructions written in a programming language for a computer to follow.
field/fiːld/campo
bug/bʌɡ/An error in a program that causes it to work incorrectly.
values/ˈvæljuːz/Pieces of information that a program stores or uses.
record/ˈrekɔːd/registro
whole number/həʊl ˈnʌmbə/A number with no decimal or fraction, such as 42, -7 or zero.
flags/flæɡz/Values that show whether a particular condition is true or false.
Pseudocode/ˈsuːdəʊkəʊd/A language-independent description of an algorithm using structured, programming-like statements.
structured typesData types that organise multiple data items into a single structure.
array indexA whole number that identifies the position of an item in an array.
record structure/ˈrekɔːd ˈstrʌktʃə/estrutura de registro
data itemsSeparate pieces of information stored or used by a program.
identifier/aɪˈdentɪfaɪə/A name used to identify a program element such as a variable, function or class.
variables/ˈveərɪəblz/A quantity or named value that can change or take different values.
dot notation/dɒt nəʊˈteɪʃn/notação pontual
record typeA definition of the fields and their data types for a record.
element/ˈelɪmənt/A substance made of atoms with the same proton number.
bounds/baʊndz/The lowest and highest indexes allowed in an array.
index/ˈɪndeks/A whole number that identifies the position of an item in an array.
array of recordsAn array whose items are records of the same record type.
rounding errors/ˈraʊndɪŋ ˈerəz/Differences between exact values and the limited-precision values used to represent or calculate them.

Material de apoio

IGCSE, A-Level & AP