Skip to content
AS & A Level Computer Science 9618 · Topic 8

Databases: past paper questions

155 real questionsasked in 9 of the last 9 exam series2021–2025usually: Write, Complete, Describe, Explain, Identify

Real questions on databases

The newest 20 of 155 written questions. Open one to see it on the real paper.

  1. 9618/11 · October/November 2025 · Q2a[2]

    Complete the entity-relationship (E-R) diagram for the database WORKEXPERIENCE. PLACEMENT COMPANY STUDENT

    See it on the paper →
  2. 9618/11 · October/November 2025 · Q2b[2]

    Explain why the database WORKEXPERIENCE is in Third Normal Form (3NF).

    See it on the paper →
  3. 9618/11 · October/November 2025 · Q2c(i)[2]

    Write a Structured Query Language (SQL) script to delete all placements that have been completed.

    See it on the paper →
  4. 9618/11 · October/November 2025 · Q2c(ii)[4]

    Write an SQL script to return the total number of placements completed by the student with ID LDEA01 at the company with ID NEAM. The total should be given an appropriate name.

    See it on the paper →
  5. 9618/11 · October/November 2025 · Q2d[3]

    The database tables are repeated here: STUDENT(StudentID, FirstName, TelephoneNumber, UniversityName) PLACEMENT( PlacementID, StudentID, CompanyID, StartDate, EndDate, Complete) COMPANY(CompanyID, CompanyName, MaxStudentsPerPlacement) Explain what is meant by referential integrity, and how it applies to this database.

    See it on the paper →
  6. 9618/12 · October/November 2025 · Q4a[2]

    Describe the relationship between the two tables. Refer to the primary and foreign keys in your answer.

    See it on the paper →
  7. 9618/12 · October/November 2025 · Q4b[2]

    Write a Structured Query Language (SQL) script to add one field to the table CONTAINER to store the date of last inspection of the container, for example 08/07/2019. (b) The table CONTAINER needs an additional field to store the data for the last inspection date.

    See it on the paper →
  8. 9618/12 · October/November 2025 · Q4c[4]

    Write an SQL script to return the number of containers stored in the database for the ship with the name Caledonia.

    See it on the paper →
  9. 9618/12 · October/November 2025 · Q4d[2]

    Describe the purpose of a developer interface in a Database Management System (DBMS).

    See it on the paper →
  10. 9618/13 · October/November 2025 · Q5a[3]

    Complete the entity‑relationship (E‑R) diagram for the database REVIEWS. CUSTOMER PRODUCT COMPLAINT STAFF

    See it on the paper →
  11. 9618/13 · October/November 2025 · Q5d[4]

    A Database Management System (DBMS) is used to maintain and manage the database. Describe two ways in which the DBMS can be used to ensure the security of the customer data. Question 6 starts on the next page.

    See it on the paper →
  12. 9618/22 · October/November 2025 · Q8c[2]

    When a book is returned, the loan record will have its OnLoan data set to FALSE A new procedure Archive() will mark these records as unused after first saving them for future reference. Explain how these records can be saved for future reference.

    See it on the paper →
  13. 9618/11 · May/June 2025 · Q5a[3]

    Complete the entity‑relationship (E‑R) diagram for the database. CUSTOMER CUSTOMER_CARD_DATA ORDER ORDER_ITEM

    See it on the paper →
  14. 9618/11 · May/June 2025 · Q5b[1]

    Identify one attribute in the table CUSTOMER_CARD_DATA that could be a candidate key.

    See it on the paper →
  15. 9618/11 · May/June 2025 · Q5c[2]

    Identify two tables in the database that contain one or more foreign keys. Give one attribute that is a foreign key in each table. Table Foreign key 1 2

    See it on the paper →
  16. 9618/11 · May/June 2025 · Q5d[3]

    Explain the reasons why the data in the table ORDER_ITEM cannot be stored in the table ORDER

    See it on the paper →
  17. 9618/11 · May/June 2025 · Q5e[4]

    Write an Structured Query Language (SQL) script to output the customer ID, the customer’s name and the total cost of the customer’s orders that have not been paid. The output of the total cost must have an appropriate title.

    See it on the paper →
  18. 9618/12 · May/June 2025 · Q5a[2]

    Explain the purpose of the table CHARACTER_ITEM in the database.

    See it on the paper →
  19. 9618/12 · May/June 2025 · Q5b[2]

    Underline the attribute, or attributes, that form the primary key in each of the tables. USER(Username, Password, DateOfBirth) CHARACTER(CharacterName, CharacterID, Username, Level, Money) ITEM(ItemName, MinimumLevel, Cost)

    See it on the paper →
  20. 9618/12 · May/June 2025 · Q5d(i)[3]

    Write a Structured Query Language (SQL) script to count the number of items purchased by the user with the username "KAT123".

    See it on the paper →

What examiners said

This question was generally answered well. Some candidates need to use a recognised convention for indicating the relationships.

— Examiner report, October/November 2023, 9618/11 Q3(a) (Cambridge)

This question was generally answered well. Most candidates were able to correctly identify three advantages of a relational database.

— Examiner report, October/November 2023, 9618/11 Q3(b) (Cambridge)

There were many correct answers to this question. The most frequent incorrect answer given was to use the CREATE TABLE statement instead of the CREATE DATABASE statement.

— Examiner report, October/November 2023, 9618/11 Q3(c)(i) (Cambridge)

Past papers, syllabus and examiner reports © UCLES (Cambridge University Press & Assessment). Questions are matched to topics from the official syllabus. AssessPro is independent and not endorsed by Cambridge.

Databases — AS & A Level Computer Science 9618 past paper questions | AssessPro