Pular para o conteúdo

Algoritmos e pseudocódigo

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

Pensamento Computacional

Aqui está uma tarefa: criar um sistema para gerenciar todo o estoque de uma loja — todos os produtos, todas as vendas, todas as entregas, todos os relatórios. Como um único problema gigante, ele é grande demais para…

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

Nesta aula

Videoaula
Vocabulário
English Significado
algorithm/ˈælɡərɪθəm/algoritmo
sequence/ˈsiːkwəns/sequência
deterministic/dɪˌtɜːmɪˈnɪstɪk/determinístico
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/tabela de identificadores
code/kəʊd/Instructions written in a programming language for a computer to follow.
variable/ˈveərɪəbl/variável
data type/ˈdeɪtə taɪp/tipo de dado
pseudocode/ˈsuːdəʊkəʊd/pseudocódigo
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/
count-controlled loop/kaʊnt kənˈtrəʊld luːp/loop controlado por contagem
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/loop pré-condição
post-condition loop/pəʊst kənˈdɪʃn luːp/loop pós-condição
iteration/ˌɪtəˈreɪʃn/iteração
selection/sɪˈlekʃn/seleção
statementsInstructions in a program or pseudocode that tell the computer what to do.
flowchart/ˈfləʊtʃɑːt/fluxograma
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.
Próximo →

Material de apoio

IGCSE, A-Level & AP