OCR GCSE Computer Science · J277
Paper 2
Revise: Defensive Design ConsiderationsInput validation checks whether data meets the program's rules before it is used. Invalid data can be rejected with a useful error message and a request for another entry. A prompt helps the user understand what to enter, but it does not replace a check: users can still ignore or misunderstand it.
- Revise: Input Validation
Checking input against rules to decide whether it is acceptable for a program to process.