Past-paper question · 2014 May-June · Paper 31 · Q2(b)(ii)

Question 2(b)(ii) 2014 · May-June · Paper 31 · 4 marks

Original past-paper question for 2(B)(II)
Original past-paper question for 2(B)(II)
Original past-paper question for 2(B)(II)
Reveal official mark-scheme answer Official mark-scheme answer for 2(B)(II)

Official answer for Question 2

Part (b)

(ii)

(ii)

✓
Vehicle (RegistrationNo, VehicleType, Mileage,
✓
DepotTown)
✓
Mark as follows …
✓
Correct first three attributes
✓
(1)
✓
RegistrationNo PK
✓
(1)
✓
DepotTown present
✓
(1)
✓
Depot (DepotTown (or similar), DepotAddress)
✓
All correct …
✓
(1)
[4]

Mark scheme 9691_s14_ms_31.pdf →

Show text version of question

Question 2

Part (b)

(ii)

Question 2

A company hires vehicles to customers. A database is to be created to record data for all hire

transactions. The company has a number of depots in different towns. Each town has one depot only. A number of vehicles are available for hire. Each vehicle is based at one of the depots. Every vehicle starts and ends a hire from its base depot. Depot data consist of:

  • Depot town name
  • Depot address
  • Vehicle data consist of:

  • A unique registration number
  • A vehicle type code. Vehicles are coded as SC – Small Car, LC – Large Car or V – Van.
  • Vehicle mileage
  • Customer data consist of:

  • Unique Customer ID
  • Customer address
  • Data for each hire transaction consist of:

  • Customer ID
  • Vehicle registration number
  • Date the booking was made
  • Start date of the hire
  • Return date
  • Driving licence check. A check is carried out to confirm that customers have a valid driving
  • licence and this is recorded. This check is done when the customer shows their driving licence when they collect the vehicle.

  • Hire charge

Consider the relationship between Depot and Vehicle.

(ii)

Complete the description for the Vehicle and Depot tables using the notation:

TableName(Attribute1, Attribute2, …)

where the underlined attribute indicates the primary key.

Vehicle( )

Depot( )

[4]
Topic relevance

Why this question appears here

71% assigned-topic match · Databases › Database concepts

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 9691_s14_qp_31.pdf

Keep practising this topic