Paper 1 · Unit 6. Protecting data and systems, threats, validation and verification.
▶ Watch: AS & A Level 9618: Security, privacy and data integrity (10 min)
(function(){var b=document.getElementById(“rhyt-YuuDWFLpg-8”);if(!b)return;b.addEventListener(“click”,function(){var f=document.createElement(“iframe”);f.src=”https://www.youtube-nocookie.com/embed/”+b.dataset.id+”?autoplay=1″;f.title=b.getAttribute(“aria-label”);f.setAttribute(“allow”,”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture”);f.setAttribute(“allowfullscreen”,””);f.style.cssText=”position:absolute;inset:0;width:100%;height:100%;border:0″;b.replaceWith(f);});})();
{“@context”:”https://schema.org”,”@type”:”VideoObject”,”name”:”Security, Privacy and Data Integrity | AS & A Level Computer Science 9618 (Unit 6) Full Topic”,”description”:”Everything in Cambridge AS and A Level Computer Science 9618 Unit 6: data security, privacy and integrity, threats (viruses, spyware, hacking, phishing, pharming), protection (passwords, access rights, firewalls, anti-malware, encryption, back-ups), validation checks including check digits, and verification by visual check, double entry, parity checks, parity blocks and checksums.”,”thumbnailUrl”:”https://i.ytimg.com/vi/YuuDWFLpg-8/hqdefault.jpg”,”uploadDate”:”2026-11-26″,”duration”:”PT10M15S”,”embedUrl”:”https://www.youtube-nocookie.com/embed/YuuDWFLpg-8″,”contentUrl”:”https://www.youtube.com/watch?v=YuuDWFLpg-8″,”publisher”:{“@type”:”Organization”,”name”:”Revision Hub”,”url”:”https://revisionhub.online/”}}
Protecting data from loss, damage or unauthorised access
Data privacy
Keeping personal data confidential and used only for agreed purposes (protected by data protection laws)
Data integrity
Making 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
Measure
How it protects
User accounts and passwords
Only authorised users can log in; access rights limit what each user can do
Biometrics
Fingerprints, face or iris recognition are unique and hard to copy
Firewall
Monitors incoming and outgoing traffic and blocks traffic that breaks the rules
Anti-virus / anti-spyware
Detects and removes malware
Encryption
Scrambles data so it is meaningless without the key
Digital signatures and certificates
Confirm the sender and that data has not been altered
Back-ups
A 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
Threat
Description
Malware: virus
Attaches to files and replicates when they run; can delete or corrupt data
Malware: worm
Replicates itself across a network without user action
Malware: spyware
Secretly records activity, e.g. keystrokes, and sends it to a third party
Hacking
Gaining unauthorised access to a system
Phishing
Fake emails or messages trick users into giving personal details
Pharming
Malicious 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 check
Example
Range check
Age between 0 and 120
Format check
A date in the form DD/MM/YYYY
Length check
A password at least 8 characters long
Presence check
A required field is not empty
Existence check
The product code exists in the database
Limit check
Only one boundary, e.g. quantity ≥ 1
Check digit
An extra digit calculated from the others, e.g. ISBN, detects input errors
Verification method
How
Double entry
Data is entered twice and the two versions are compared
Visual check
The user compares the entered data with the original
Parity check
An extra bit makes the number of 1s even (or odd); a mismatch shows an error
Checksum
A value calculated from a block of data is sent with it and recalculated on arrival
Parity block
Parity bits for each byte and each column identify the exact bit in error
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].
(function(){var w=document.getElementById(‘rh-practice’);if(!w)return;function chk(id,btn){var i=document.getElementById(id),f=btn.parentNode.querySelector(‘.fb’);var got=(i.value||”).replace(/[^a-z0-9]/gi,”).toUpperCase();var ok=i.getAttribute(‘data-a’).split(‘|’).indexOf(got)>-1;f.className=’fb ‘+(ok?’ok’:’no’);f.textContent=got?(ok?’✓ Correct’:’✗ Not quite, try again or show the answer’):’Type an answer first’;}w.addEventListener(‘click’,function(e){var id=e.target.getAttribute(‘data-check’);if(id)chk(id,e.target);});w.addEventListener(‘keydown’,function(e){if(e.key===’Enter’&&e.target.matches(‘input[data-a]’)){e.preventDefault();chk(e.target.id,w.querySelector(‘[data-check=’+e.target.id+’]’));}});})();
7. Topic test: predict your grade
Topic test: predict your grade
15 questions, about 10 minutes. Answer them all, then press Mark my test.
‘+(pc>=75?’Excellent. This topic is exam-ready; keep it fresh with past papers.’:pc>=55?’Good base. Re-read the sections for the questions marked in red, then try again.’:’Work through the notes and the practice questions above, then retake the test.’)+’
Estimated grade for this topic only, based on typical IGCSE grade boundaries. Your real grade depends on both papers.
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.
What is a firewall?
A firewall monitors traffic coming into and out of a network and blocks data that does not meet a set of rules, helping to prevent unauthorised access.
What is the difference between phishing and pharming?
Phishing uses fake emails or messages to trick people into giving personal details. Pharming installs malicious code or alters DNS records to redirect users to a fake website, even if they type the correct address.
What is a checksum?
A checksum is a value calculated from a block of data and sent with it. The receiver recalculates the checksum and, if it does not match, the data has been corrupted.
What is data privacy?
Data privacy is keeping personal data private and controlling who can access it, usually protected by data protection laws.
{“@context”:”https://schema.org”,”@type”:”FAQPage”,”mainEntity”:[{“@type”:”Question”,”name”:”What is the difference between validation and verification?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”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.”}},{“@type”:”Question”,”name”:”How does a parity block detect which bit is wrong?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”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.”}},{“@type”:”Question”,”name”:”What is the difference between a virus and a worm?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”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.”}},{“@type”:”Question”,”name”:”What is a firewall?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”A firewall monitors traffic coming into and out of a network and blocks data that does not meet a set of rules, helping to prevent unauthorised access.”}},{“@type”:”Question”,”name”:”What is the difference between phishing and pharming?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”Phishing uses fake emails or messages to trick people into giving personal details. Pharming installs malicious code or alters DNS records to redirect users to a fake website, even if they type the correct address.”}},{“@type”:”Question”,”name”:”What is a checksum?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”A checksum is a value calculated from a block of data and sent with it. The receiver recalculates the checksum and, if it does not match, the data has been corrupted.”}},{“@type”:”Question”,”name”:”What is data privacy?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”Data privacy is keeping personal data private and controlling who can access it, usually protected by data protection laws.”}}]}