1
29: Selected Ideas from CS
- 1. The stored program
Concept
- Breaks away from the idea of a particular
machine that does a particular task
- Precursor: Jacquard loom – patterns
embedded in punched cards
- Machine executes simple instructions
which together build a complex task
Computers
- Everything an actual computer can do is the
result of extremely simple arithmetic and logical
- perations
- At the ground level, even these simple
- perations must be specified algorithmically
(e.g. “how to add two numbers”
- In this respect computers are exceptionally
stupid – but they make up for it by being extremely fast and accurate
Programs
- Most of the time we’re concerned with problems
and their procedural solutions at a much higher level of analysis
- In such contexts, the solution might first be
expressed as a set of step-by-step instructions in a natural language such as English
- Then the algorithm must be refined as a set of
instructions appropriate to some high level programming language –
- This gives the context relative to which the
instructions must be ‘mechanical’
- 2. The Algorithm