11.3 Structured programming
47 questions in this subtopic. Open a question to solve it and check the official answer.
Structured programming · 4 marks · official answer ready
10 (a) Explain how the use of procedures and functions can assist a programming team when a piece of software is being developed. [4]
Structured programming · 0 marks · official answer ready
(i) a local variable;
Structured programming · 0 marks · official answer ready
(iii) a parameter passed by value;
Structured programming · 4 marks · official answer ready
(iv) a parameter passed by reference. [4]
Structured programming · 4 marks · official answer ready
(c) Explain how a stack is used to handle procedure calling and parameter passing. [4] [TOTAL 90] reasonable effort has been made by the publisher (UCLES) to trace copyright holde…
Structured programming · 4 marks · official answer ready
(b) Describe two methods of making the code of a piece of software more understandable to other programmers. [4]
Structured programming · 6 marks
(c) Explain how a stack is used to control the following example. A main program is run. The instruction at address 100 calls a procedure with a parameter of value 6. Within this …
