Worked solution from the Software Development Paper 2 Problem-solving and Programming booklet, Part 1 of 3.
Match each activity to its stage:
| Activity | Stage |
|---|---|
| The walkthrough method is used. | Testing |
| An algorithm is implemented in a programming language. | Coding |
| The client is interviewed about problems with the current system. | Analysis |
| The program is modified to run on new hardware. | Maintenance |
| Records and file structures are defined. | Design |
Testing [1]
Coding [1]
Analysis [1]
Maintenance [1]
Design [1]
Valid range is 24 to 37. Test the edges of the range and a value just outside each edge:
| Type of test data | Test data value | Expected result |
|---|---|---|
| Normal | 30 | TRUE |
| Boundary | 24 | TRUE |
| Boundary | 37 | TRUE |
| Abnormal / boundary | 23 | FALSE |
| Abnormal / boundary | 38 | FALSE |
One correct row for 24 (TRUE) [1]
One correct row for 37 (TRUE) [1]
One correct row for 23 (FALSE) [1]
One correct row for 38 (FALSE) [1]
Other correct rows also score, for example 12 or 99 (abnormal, FALSE) or 25 and 36 (TRUE). Four marks at most.
Testing a module on its own, then joining it to others, is this type:
Write: integration testing [1]
▶ Whole paper
Video solution of the whole paper · by Pseudocode Pro. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.