EXAM QUESTIONS · AS LEVEL 9618

Security, Privacy and Data Integrity Exam-Style Questions with Answers (A Level 9618)

Original exam-style questions on security, privacy and integrity, malware and hacking, protection methods, validation, verification, parity checks and checksums for Cambridge AS & A Level Computer Science 9618 (Paper 1). There are 24 marks in total. Try each question on paper first, then press Show answer to see the mark scheme. Answers that can be calculated mark themselves.

Question 1[3 marks]

Explain the difference between data security, data privacy and data integrity.

Show answer
  • Security: protecting data from loss, damage or unauthorised access. [1]
  • Privacy: controlling who is allowed to see personal data / keeping personal data confidential. [1]
  • Integrity: making sure data is accurate, complete and consistent. [1]
Question 2[4 marks]

Describe the difference between a virus and a worm, and give one effect of spyware.

Show answer
  • A virus attaches itself to another program/file [1] and replicates when that file is run. [1]
  • A worm is a standalone program that replicates and spreads across a network by itself, without needing a host file. [1]
  • Spyware secretly records the user’s activity, e.g. key presses or passwords, and sends it to a third party. [1]
Question 3[4 marks]

Describe two methods of protecting a computer system from unauthorised access.

Show answer

Any two, with a description (2 marks each) from:

  • User accounts with strong passwords – only authorised users can log in.
  • Biometrics, e.g. fingerprint or face recognition – hard to copy.
  • Two-step/two-factor authentication – a second form of identification is needed.
  • Firewall – monitors traffic and blocks unauthorised access.
  • Access rights – users can only access the data they need.
Question 4[3 marks]

State the most suitable validation check for each item and describe it.

  1. A date of birth entered as DD/MM/YYYY [1]
  2. A product code that must already exist in the stock file [1]
  3. A field that must not be left blank [1]
Show answer
  1. Format check – checks the data matches the pattern DD/MM/YYYY. [1]
  2. Existence check – checks the value is found in the existing data. [1]
  3. Presence check – checks that some data has been entered. [1]
Question 5[3 marks]

A check digit is calculated by multiplying the digits 5, 1, 8 by the weights 4, 3, 2, adding the results, finding the remainder when the total is divided by 11, and subtracting that remainder from 11. Calculate the check digit. Show your working.

Show answer

5 [3]

  • 5 × 4 + 1 × 3 + 8 × 2 = 20 + 3 + 16 = 39 [1]
  • 39 MOD 11 = 6 [1]
  • 11 − 6 = 5 [1]
Question 6[2 marks]

Explain why verification does not guarantee that the data entered is correct.

Show answer
  • Verification only checks that the data matches the original source / was entered the same way twice. [1]
  • If the original data is wrong, or the same mistake is made twice, the incorrect data will still be accepted. [1]
Question 7[3 marks]

Explain how a parity block (two-dimensional parity) can identify the exact bit that is wrong, and why this is an advantage over a single parity bit.

Show answer
  • A parity bit is added to every byte (row), and a parity byte is added for every column. [1]
  • The row with the wrong parity and the column with the wrong parity cross at the incorrect bit. [1]
  • The error can be located and corrected without re-sending the data; a single parity bit only shows that an error exists somewhere. [1]
Question 8[2 marks]

Describe how a checksum is used to check that a file has been transmitted correctly.

Show answer
  • A value is calculated from the data before it is sent and sent with it. [1]
  • The receiver recalculates the value; if it does not match the one sent, an error has occurred and the data is requested again. [1]

Frequently asked questions

What is the difference between data security and data integrity?

Data security means protecting data from loss and unauthorised access. Data integrity means the data is accurate, complete and consistent.

Are these past paper questions?

No. These are original exam-style questions written by a Computer Science teacher in the Cambridge style.

Revise the topic: 9618 security, privacy and integrity notes · 9618 flashcards · All exam-style questions