In IB Computer Science, students are expected to explain not just how data is stored, but how systems keep data reliable over time. Two key concepts that appear frequently in exams are data integrity and data consistency. These terms are closely related, but they are not identical — and confusing them often costs marks.
IB examiners look for explanations that show cause-and-effect understanding, not just definitions.
What Is Data Integrity?
Data integrity refers to the accuracy, reliability, and correctness of data over its entire lifecycle.
Data has integrity when:
- It is accurate
- It has not been corrupted
- It has not been altered incorrectly
- It remains valid as changes occur
In IB terms, data integrity answers the question:
“Can this data be trusted?”
Why Data Integrity Matters
Poor data integrity leads to:
- Incorrect decisions
- System errors
- Loss of trust
- Serious real-world consequences
For example:
- Incorrect grades in a school system
- Wrong balances in a banking system
- Invalid records in a medical database
This is why systems invest heavily in protecting integrity.
How Data Integrity Is Maintained
Data integrity is maintained through multiple mechanisms, including:
- Validation – preventing invalid data entry
