
Programs
Objectives
Explain the concepts of programming (4).
• Illustrate concepts of constants, variables, assignment statements,
numbers, strings and arrays (4.1).
• Give examples of types of instruction executed by computers (4.2).
• Explain execution of programs using flowcharts or pseudocode
(4.3).
A program is a set of instructions to a computer. These instructions are set
out in order and will be obeyed in that order, because computers at present
are serial devices which carry out commands one at a time and in sequence.
However, we shall soon have in general use computers which are capable of
parallel processing, carrying out severa