An automated medication dispensing system requires a practitioner to input the required dosage of a drug in milligrams and the patient's unique alphanumeric reference code.
Explain why the system must validate this input data.
23 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.