Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1Integrity | ASomeone intentionally changes data without permission, such as editing a mark in a database | |
| 2Deliberate tampering | BData stays accurate and unaltered unless an authorised person changes it | |
| 3An accidental change breaks integrity when a user mistypes a value and overwrites correct data | CThis describes confidentiality, not integrity. Integrity is about data staying accurate and unaltered unless an authorised person changes it. | |
| 4Deliberate tampering breaks integrity when an unauthorised person edits stored data to benefit themselves | DUPDATE students SET points = 9999 WHERE studentId = 5; | |
| 5Integrity means keeping data secret from unauthorised people. | EIntegrity can also be lost through accidental changes, such as typing errors or accidental deletions, not just deliberate tampering. | |
| 6Integrity is only lost when a hacker deliberately changes data. | FUPDATE results SET mark = 880 WHERE studentId = 1; |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Integrity — Data stays accurate and unaltered unless an authorised person changes it. It protects data from accidental changes and deliberate tampering.mark = int(input("Mark: "))if mark >= 0 and mark <= 100:
record = marktampered = current != originalfile = open("marks.txt", "r")if user in authorised_users:
record = new_value