Teaching Program Design
- Key idea: A programmer should maintain intellectual control
- All parts of the program need to be understandable and understood
- Requirements
- Before writing a program, a programmer needs goals
- These goals are called requirements
- These requirements describe what the program will do;
they do not necessarily describe how it will be done
- In a teaching context, the requirements are given by the instructor
for each assignment
(next)