Explain the role of sub-procedures in solving a problem.


Teaching Note:

Constructing procedures that can then be referred to by their identifier.

LINK Abstraction, connecting computational thinking and program design, introduction to programming.


Sample Question:


JSR Notes:


In general sub-procedures offer:

The teaching note refers to Java methods and the way we can access Java methods is by calling their name (i.e. their identifier).

Methods are, indeed,"named chunks of code". And so from that point on, when we want to run those lines of code we can identify them, i.e. call them, using their names, i.e. their identifiers.