Question 3(b) 2016 · May-June · Paper 41 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (b)
Part (b)
Question 5
Question 1
Question 1
Question 1
Question 1
Question 1
Question 41
Show text version of question
Question 3
Part (b)
Question 3
A car hire company hires cars to customers. Each time a car is hired, this is treated as a transaction.
For each transaction, the following data are stored.
For the customer:
- customer name
- ID number
For the hire:
- car registration
- hire start date
- number of days hired
The transaction data are stored in a text file HIRE-TRANS. The file is made up of a file body, F_BODY, and a file trailer, F_TRAILER.
F_BODY has one transaction, TRANS, on each line.
Part (b)
The computer system will produce many printed reports.
One report is CAR_REPORT. This displays all hire data for all cars.
For each car, the following data are displayed:
- the car data
- a list of all the hires
- the total number of hires
Complete the following CAR_REPORT JSP data structure diagram.
CAR_REPORT
* CAR
No hires One or more hires
HIRE_LIST
HIRE
Question 8
Why this question appears here
71% assigned-topic match · Hardware › Logic gates and logic circuits
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_s16_qp_41.pdf
