13

Computer Science HL Paper 1 (May 2025, TZ2)

(a) List three advantages of using sub‑programs in this situation. [3]

(b) Construct an algorithm in pseudocode for the sub‑program inputInRange(). [4]

(c) Construct the algorithm in pseudocode for the isCorrectlyCompleted(MAT) sub‑program as described. [8]