9618/12/O/N/22 question 4: worked solution (October/November 2022, paper 12)
Show as plain textHide plain text
Cambridge AS Level Computer Science 9618 · 6.2 Data Integrity Worked solution from the Security, privacy and data integrity Paper 1 Theory Fundamentals booklet, Part 2 of 2. Q17 9618/12/O/N/22 original Q4 Structured · 6 marks Worked solution (a) Write: verification checks that the input data is the same as the original, while validation checks that the data is reasonable or sensible [1] (b) Write the steps in order: A checksum value is calculated from the data before it is sent [1] The value is sent with the data [1] The receiving computer recalculates the checksum from the received data [1] If the two values match there is no error; if they differ an error has occurred. (Any three of the four points score.) (c) Write any two validation methods for non-numeric data: Format check : makes sure the data is in the required format, with only expected characters [1] Length check : makes sure the data has the correct number of characters [1] Other accepted answers: a check that the data is already present in the system; a check that non-numeric data is entered. KEY IDEA A checksum is worked out before sending and again after receiving, then the two are compared. TOTAL 6 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Audere Prep. Tap the picture to open it on YouTube.