Skip to content

Procedures, functions and structured programming

Introduced
Handout Watch lesson
Vocabulary
English Meaning
subroutines/ˈsʌbruːtiːnz/Named groups of instructions that can be called to carry out particular tasks.
function/ˈfʌŋkʃn/A mapping that assigns exactly one output to each allowed input.
procedure/prəˈsiːdʒə/A named sequence of instructions that performs a task when called.
structured programming/ˈstrʌktʃəd ˈprəʊɡræmɪŋ/Organising programs around clear routines and control structures such as sequence, selection and repetition.
decomposition/ˌdiːkɒmpəˈzɪʃn/The breakdown of a substance or system into simpler components.
parameters/pəˈræmɪtəz/Values that specify a model or function, or named inputs that a subroutine receives.
arguments/ˈɑːɡjuːmənts/Values or references supplied to a function or procedure when it is called.
signature/ˈsɪɡnɪtʃə/In a program interface, the information identifying how a routine is called, such as its name and parameter types, with return information where required by the language or notation.
pass by value/pæs baɪ ˈvæljuː/pass by value
pass by reference/pæs baɪ ˈrefrəns/pass by reference
global variable/ˈɡləʊbl ˈveərɪəbl/A variable declared outside a routine's local scope and accessible wherever the language's program or module scope rules permit.
local variable/ˈləʊkl ˈveərɪəbl/A variable whose name is accessible only within a particular function, block or other limited scope.
scope/skəʊp/The region of a program in which a particular name or binding can be accessed.

Handout

Log in or create account

IGCSE, A-Level & AP