Cambridge AS Level Computer Science 9618 · 6.2 Data Integrity

Q17 · 9618/12/O/N/22 Q4

Worked solution from the Security, privacy and data integrity Paper 1 Theory Fundamentals booklet, Part 2 of 2.

Q179618/12/O/N/22original Q4Structured · 6 marks
Question 4 from 9618/12/O/N/22

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 IDEAA checksum is worked out before sending and again after receiving, then the two are compared.
TOTAL 6 marks

Official mark scheme

Mark scheme for 9618/12/O/N/22 question 4
VIDEO
▶ Whole paper

Video solution of the whole paper · by Audere Prep. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.