9618/23/M/J/23 question 5: worked solution (May/June 2023, paper 23)

Show as plain text

Cambridge AS Level Computer Science 9618 · 12.3 Program Testing and Maintenance Worked solution from the Software Development Paper 2 Problem-solving and Programming booklet, Part 3 of 3. Q45 9618/23/M/J/23 original Q5 Structured · 4 marks Worked solution (a) Walkthrough testing is done by hand, so the tester needs the program's details and the data to use. Write any three of these four points: Additional information: the program code / source code (or the specification) [1] Additional information: a test plan , that is the test data and the expected outputs [1] Explanation: the tester must know the structure / design / algorithm of the program [1] so that all paths through the program can be tested (this point is also accepted, but only three marks can be earned in all) (b) Changes that make a working program faster or better are not fixes. Write: perfective maintenance [1] KEY IDEA A walkthrough needs the code and the test data with expected results, so every path can be followed by hand. TOTAL 4 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Zafar Ali Khan (ZAK). Tap the picture to open it on YouTube.