Time allowed: 45 minutes
| Centre number |
| | | |
|
Candidate number |
| | | |
| First name |
|
Last name |
INSTRUCTIONS
- Use black ink.
- Answer all the questions.
INFORMATION
- The total mark for this paper is 35.
- The marks for each question are shown in brackets [ ].
Turn over
Section A: The Basics (Standard Frequency)
1
Complete the sentences below using the correct terms from the list.
List: Boundary, Syntax, Normal, Erroneous, Logic, Valid, Iterative.
(a) Data that is within the limits of what the program should accept is called ................................. data.
[1]
(b) Data that is of the correct type but is outside the accepted range is called ................................. data.
[1]
(c) Data that is of the incorrect type (e.g., entering text into a number field) is called ................................. data.
[1]
2
A program accepts an integer input for a student's age. The valid range is
11 to 18 inclusive.
Complete the test plan below.
[3]
| Test Data |
Type of Test Data |
Reason for Test |
| 14 |
Normal |
To check that a mid-range valid value is accepted. |
| (a) .......... |
Boundary |
To check that the lowest valid value is accepted. |
| 19 |
(b) ......................... |
To check that data just above the upper limit is rejected. |
| "Ten" |
(c) ......................... |
To check that incorrect data types are handled. |
Section B: Ghost Topics (Low Frequency / High Risk)
3
A student has written a test plan for a program that validates a password.
Rule: Password must be longer than 6 characters.
Test Data: "Secur" | Type: Invalid | Reason: "To see if the program works"
(a) Explain why the reason "To see if the program works" would be awarded 0 marks by an examiner.
[1]
(b) Write a corrected, precise "Reason for Test" for the data "Secur".
[2]
Turn over