Question 1
2 marksExplain why validation checks are needed when data is input into a computer system.
Model answer
Validation is an automatic check that input data is reasonable and follows set rules, for example that an age is within a sensible range. It stops invalid data from being processed or stored, where it could cause errors or wrong results, and lets the program reject the data and ask for it again.
Explanation
Validation is carried out by the program itself as the data is entered. It can only check that data is sensible, not that it is actually correct, but it catches many mistakes before they cause problems later.
Mark scheme
-
1 mark
To check that the data is reasonable / sensible / follows set rules before it is accepted
max 2
-
1 mark
To stop invalid data being processed or stored, which could cause errors / crashes / incorrect results
-
1 mark
So that invalid data can be rejected and the user asked to enter it again