Past-paper question · 2014 May-June · Paper 32 · Q2(d)

Question 2(d) 2014 · May-June · Paper 32 · 2 marks

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

Official answer for Question 2

Part (d)

Part (d)

✓
Displays the registration number
✓
(1)
✓
For all vehicles currently on a hireout
✓
(1)
[2]

Mark scheme 9691_s14_ms_32.pdf →

Show text version of question

Question 2

Part (d)

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

Part (d)

The following Data Manipulation Language (DML) query is run:

SELECT RegistrationNo FROM Hire WHERE (StartDate < Now() ) AND (ReturnDate > Now() );

Note: Now() is a function which returns the current date and time.

Describe what useful information is produced by the query.

[2]
Topic relevance

Why this question appears here

71% assigned-topic match · Databases › DDL and DML

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_32.pdf

Keep practising this topic