Paper 1 · Unit 6. Protecting data and systems, threats, validation and verification.

1. Security, privacy and integrity

TermMeaning
Data securityProtecting data from loss, damage or unauthorised access
Data privacyKeeping personal data confidential and used only for agreed purposes (protected by data protection laws)
Data integrityMaking sure data is accurate, complete and consistent

Security is needed for both data and computer systems, because threats can corrupt, steal or destroy data and stop systems working.

2. Security measures

MeasureHow it protects
User accounts and passwordsOnly authorised users can log in; access rights limit what each user can do
BiometricsFingerprints, face or iris recognition are unique and hard to copy
FirewallMonitors incoming and outgoing traffic and blocks traffic that breaks the rules
Anti-virus / anti-spywareDetects and removes malware
EncryptionScrambles data so it is meaningless without the key
Digital signatures and certificatesConfirm the sender and that data has not been altered
Back-upsA copy can be restored if data is lost or corrupted
Disk mirroring (RAID)Data is written to two disks at once, so one can fail without data loss

3. Threats

ThreatDescription
Malware: virusAttaches to files and replicates when they run; can delete or corrupt data
Malware: wormReplicates itself across a network without user action
Malware: spywareSecretly records activity, e.g. keystrokes, and sends it to a third party
HackingGaining unauthorised access to a system
PhishingFake emails or messages trick users into giving personal details
PharmingMalicious code redirects users to a fake website even if they type the correct URL

Preventing threats: firewalls, anti-malware, strong passwords, keeping software updated, user training, checking URLs and certificates, and not opening suspicious attachments.

4. Validation and verification

Validation checks that data is sensible and follows rules; it cannot prove the data is correct. Verification checks that data has been entered or transferred accurately.

Validation checkExample
Range checkAge between 0 and 120
Format checkA date in the form DD/MM/YYYY
Length checkA password at least 8 characters long
Presence checkA required field is not empty
Existence checkThe product code exists in the database
Limit checkOnly one boundary, e.g. quantity ≥ 1
Check digitAn extra digit calculated from the others, e.g. ISBN, detects input errors
Verification methodHow
Double entryData is entered twice and the two versions are compared
Visual checkThe user compares the entered data with the original
Parity checkAn extra bit makes the number of 1s even (or odd); a mismatch shows an error
ChecksumA value calculated from a block of data is sent with it and recalculated on arrival
Parity blockParity bits for each byte and each column identify the exact bit in error

Try it: parity bit and check digit


5. Examiner tips

  1. Validation vs verification: validation checks reasonableness, verification checks accuracy of copying.
  2. A parity check cannot detect an even number of bit errors.
  3. Phishing needs the user to act; pharming redirects without them noticing.
  4. Firewall: say it filters traffic using rules, not just “blocks hackers”.
  5. Name the check and give an example relevant to the scenario.

6. Practice questions

Practice: answer and check instantly

Type a short answer, then press Check or Enter.

Show answer

A worm.

Show answer

Pharming.

Show answer

A presence check.

Show answer

Double entry.

Show answer

Four 1s, already even.

Show answer

Four 1s, so add 1 to make it odd.

Show answer

Encryption.

Show answer

A range check.

Exam-style questions

9. Explain the difference between validation and verification, giving an example of each. [4]

Show mark guide

Validation checks data is reasonable / follows rules [1] e.g. range check [1] · verification checks data has been entered/copied accurately [1] e.g. double entry or visual check [1].

10. Describe how a parity block can identify which bit has been corrupted. [3]

Show mark guide

A parity bit is added to each byte (row) [1] · a parity byte is added for each column [1] · the row and column that both fail the parity check meet at the corrupted bit, which can be flipped to correct it [1].

7. Topic test: predict your grade

Topic test: predict your grade

15 questions, about 10 minutes. Answer them all, then press Mark my test.

1. Data integrity means data is…
2. Data privacy concerns…
3. A firewall…
4. Spyware…
5. Phishing uses…
6. Disk mirroring…
7. A format check would test…
8. Validation can prove data is correct.
9. A visual check is a form of…
10. A parity check cannot detect…
11. A checksum is…
12. Biometrics are hard to fake because…
13. Which check uses an extra digit calculated from the others?
14. A virus differs from a worm because a virus…
15. An existence check confirms…

Frequently asked questions

What is the difference between validation and verification?

Validation checks that data is reasonable and follows rules, such as a range or format check. Verification checks that data has been entered or transferred accurately, such as double entry or a parity check.

How does a parity block detect which bit is wrong?

Each byte has a parity bit and each column has a parity bit. The row and the column that both fail the check cross at the corrupted bit, which can then be corrected.

What is the difference between a virus and a worm?

A virus attaches to a host file and replicates when the file runs. A worm replicates itself across a network without needing a host file or user action.

Was this page helpful?