All employee ID codes have the same format. The first position is a letter, followed by five digits, followed by a single letter. "E90812A" and "e90812a" are valid codes.
Complete the table to show two different validation checks (other than a pattern check) and a piece of test data that would be caught (rejected) by each validation check.
The first one has been done for you as an example. The letter 'N' represents a number (0-9) and the letter 'L' represents a letter (A-Z or a-z).
| Validation check | Test data |
|---|---|
| Pattern check ("LNNNNNL") | "990812A" |
| [1] | [2] |
| [3] | [4] |
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.