Why programmers use subprograms
Why programmers use subprograms
A subprogram is a named block of code that performs a smaller task inside a larger program. Breaking a program into subprograms makes code easier to read, test, reuse, and update.
Step-by-step lessons on Edexcel GCSE Computer Science Functions versus procedures. Each one builds up to exam-style questions. Build strong foundations in binary, logic and core programming constructs before moving on to the more complex algorithm design and evaluation questions.