Structured programming

<< Previous: Random Next: Robust programming >>

About structured programming

Structured programming refers to modularised programming. This means using decomposition to break down a complex program into manageable subroutines. It also means these subroutines have good interfaces.

Some students find the concept of a subroutine interface confusing but it simply means the parameters that are passed to a subroutine and the values that it returns. In structured programming it is essential that the interface for subroutines is clear so other programmers know how to use them.

Structured programming also means solving these sub-problems by using the programming constructs of sequence, selection, iteration and recursion. Recursion is a more complex method of getting code to happen more than once that is not covered at GCSE level.

Knowledge check


Questions:
Correct:

Question text


<< Previous: Random Next: Robust programming >>

© All materials created by and copyright S.Goff