A programmer is developing software to assist a school in entering and storing student details. It is a secondary comprehensive school with a sixth form. You have been asked to carry out some standard tests on the software. Click the Start button to begin.
Start
Program testing
Sorry. The data you entered is not valid.Try again.
Carry out a valid test on the 'Year group' field by entering suitable data and then click the submit button.
Enter First Name:
Submit
Well done. You entered a value in the expected range of 7 to 13.
Here is part of the user interface:
Enter Year Group Number:
Continue
Enter Surname:
Sorry. The data you entered is not adequate for a boundary test.Try again.
Carry out a boundary test on the 'Year group' field by entering suitable data and then click the submit button.
Well done. 7 and 13 are boundary values.
Carry out an  out of range test on the 'Year group' field by entering suitable data and then click the submit button.
Well done. Any number outside the range 7 to 13 is correct.
Sorry. The data you entered is not adequate for an out of range test.Try again.
Please enter a number between 7 and 13 inclusive.
Sorry. That is not correct.
There is a logical error in one of the lines of code.Edit the code and then click the Submit button.
Click the button to view the code dealing with year group entry.
Try:if(year_group >=7 AND year_group <=13)
View the code
Show
Another user carried out a valid in-range-test. They entered numbers between 7 and 13 but got an error message. Try it out by entering a number below: