An online flight booking system requires users to enter information such as their passport number, flight departure date, and the number of cabin bags.
Describe two different validation checks that could be implemented to ensure that the user's input is sensible before the booking is processed.
25 exam-style questions on Edexcel GCSE Computer Science Input/output, covering Accepting and responding to user input, Reading and writing CSV text files, Implementing validation, and Implementing authentication. Each one has a worked solution and a mark scheme showing where the marks go.