Past-paper question · 2019 October-November · Paper 13 · Q3(a)(i)

Question 3(a)(i) 2019 · October-November · Paper 13 · 3 marks

Question 3

Part (a)

(i)

Question 3

A hotel needs to record information about customers and their bookings.

The hotel has two types of room: double and family. Each room has a unique room number.

The hotel stores information about the customers including their name, address and contact details.

When a customer books a room, they give the start date and the number of nights they want to stay. If a customer wants more than one room, each room must have a separate booking. Each booking has an ID number.

The hotel creates a normalised, relational database to store the required information. There are three tables:

  • CUSTOMER
  • ROOM
  • BOOKING

(i)

Complete the database design for the hotel by writing the attributes for each table.

CUSTOMER( .......................................................................................................................

...........................................................................................................................................

........................................................................................................................................ )

ROOM( ...............................................................................................................................

...........................................................................................................................................

........................................................................................................................................ )

BOOKING( .........................................................................................................................

...........................................................................................................................................

........................................................................................................................................ )

[3]
Reveal official mark-scheme answer Official mark-scheme answer for 3(A)(I)

Official answer for Question 3

Part (a)

(i)

Question 1

mark per table

Question 3

✓
•
✓
CUSTOMER table has at least customer ID, customer name, address
✓
and contact details
✓
•
✓
ROOM has at least room number, room type,
✓
•
✓
BOOKING has at least booking ID, room number, customer ID, start
✓
date, number of nights
✓
CUSTOMER (CustomerID, Name, Address, ContactDetails)
✓
ROOM (RoomNumber, RoomType)
✓
BOOKING (BookingID, RoomNumber, CustomerID, StartDate,
✓
NumberNights)
✓
9608/13
✓
Cambridge International AS/A Level – Mark Scheme
✓
October/November
✓
PUBLISHED
✓
2019
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_w19_ms_13.pdf →

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Constructs

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9608_w19_qp_13.pdf

Keep practising this topic