5½ min · narrated walkthrough: every key type, 1:1, 1:M and M:M, and a full ERD for a steelpan academy · captions available
Class activity: Mas Camp Database — printable student sheets for a 40-minute group lesson.
See how foreign keys link rows in 1:1, 1:M and M:M relationships, and how a junction table resolves a M:M.
Multiple-choice items in Paper 1 style and structured questions in Paper 2 style, adapted from CAPE Information Technology Unit 2 past papers. Your score and answers are saved on this device. When you have finished, submit them to your teacher at the end of this section.
Choose one answer for each item, then check. Aim for 80% or better.
Write a full answer to each part, then show the mark scheme and tick every point you earned. Marks for a part are capped at its maximum. Mark schemes are EduTech’s own; CXC does not publish them.
Question 1 [11 marks]
| BookID | Title | Available |
|---|---|---|
| B10 | Caribbean Cooking | Yes |
| B11 | Solar Homes | No |
| B12 | Reef Life | Yes |
| B13 | Sign Language Basics | No |
| MemberID | BookID | RequestDate |
|---|---|---|
| M4 | B11 | 2 May |
| M9 | B12 | 3 May |
| M4 | B10 | 5 May |
(a) Identify the foreign key and the file in which it is found. [2]
(b) State the purpose of the RESERVATION (transaction) file. [1]
(c) List the titles of the reserved books that are available for lending. [2]
(d) A member can reserve many books and a book can be reserved by many members. Draw an ERD for reserving books. Show the cardinality and the primary key of each entity. (Use any standard notation — Chen, crow’s foot or 1/M labels — consistently.) [6]
Question 2 [10 marks]
(a) Write an SQL statement to add an order: number 212, for Maya Lue, who orders 3 patties on 26 May 2025. [3]
(b) Write an SQL query to list the StudNo of all students older than 16 years. [3]
(c) Write an SQL statement to count the number of different locations at which parcel P77 was scanned. [2]
(d) CUSTOMER (CustID, CustName, LocationID*) and LOCATION (LocationID, LocationName). Explain the relationship between the two tables. [2]
Send your multiple-choice choices and written answers to your teacher for marking. Your teacher will also see whether you opened the mark scheme or checked your answers before submitting. You can submit again if you improve your answers.
If submitting keeps failing, copy this code and send it to your teacher by email or chat:
Items are adapted from CAPE® Information Technology Unit 2 Papers 01 and 02 (2019–2026) for practice. © Caribbean Examinations Council for the original papers.