Worked solution from the Databases Paper 1 Theory Fundamentals booklet, Part 1 of 2.
Write a short definition for each:
Entity: an object about which data can be stored [1]
Primary key: the unique field (or fields) that identifies each record [1]
Referential integrity: every foreign key has a matching primary key, so data that does not exist cannot be referenced [1]
Describe other security methods. Write the method, then what it does. Four points score (two methods, each with its description); no more than 2 marks if there are no descriptions:
Backup and recovery procedures [1]
...copies of the database are taken automatically and stored off site, so the data can be recovered if it is lost [1]
Access rights [1]
...different users get different permissions to different tables, for example read only or full access [1]
Views
...different users see different parts of the database, only what they need to see
Other accepted methods (these can replace the two above): views (different users see different parts of the database, only what they need to see), record and table locking (stops simultaneous access, so updates are not lost) and encryption (data is turned into ciphertext, so it cannot be understood without a decryption key).
Explain the changes:
Identify the repeating groups of attributes [1]
...these are Subject and SubjectCode, which hold several values in one cell [1]
Make sure each field is atomic, for example split StudentName into FirstName and LastName [1]
Identify a primary key for the table [1]
▶ Starts at Q2 (10:26)
Starts at Q2 (10:26) · by Pseudocode Pro. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.