Data security: integrity
Data stays accurate and unaltered unless an authorised person changes it, so a tampered bank balance breaks integrity.
Understanding Data security: integrity in QCE Digital Solutions Unit 2
What it does: Giving UPDATE permission only to an authorised role stops other users from altering balances, which protects integrity. A CHECK constraint rejects invalid balance values, helping keep the data accurate and unaltered by mistakes. An unauthorised edit alters the data and breaks integrity. A website being offline affects availability, not integrity. A balance that does not match the records suggests it was altered without authorisation, which is a loss of integrity. Secret changes alter the data and break integrity. Reading data you are allowed to see does not change it. Granting UPDATE to everyone removes the control that keeps data unaltered by unauthorised people.
Common mistakes: The condition is reversed, so everyone except a teller could change the balance. Only an authorised user may alter it: if userRole = "teller" then. When the stored balance matches the transaction total, the data is intact. This branch should print "Integrity OK", not report tampering.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 144–185) and word search (Modules 144–228).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
IntegrityFill in the Blanks
Spot the Error
Student with a class code? Join your class →