Question 1(b)(ii) 2015 · May-June · Paper 32 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (b)
(ii)
(ii)
Show text version of question
Question 1
Part (b)
(ii)
Question 1
A sports centre has a gym and a swimming pool. The sports centre has members.
Different types of membership are available:
- J – Junior
- SF – Senior full
- SG – Senior gym only
- SS – Senior swim only
Members who use the gym are assigned a personal trainer.
Sports centre employees are identified with a unique three-character code.
An employee can be a personal trainer to one or more members.
The sports centre organises classes. Each class has a unique class name.
Each class is taken by an employee who acts as the class leader. An employee may be a class leader for zero, one or more classes.
Members can take classes. Each class has a class code. Some classes are assigned a level:
- B – beginners
- I – intermediate
- A – advanced
attendance.
The following table design MEMBER was a first attempt at the database design.
Table: MEMBER
MemberNo MemberType Trainer ClassName ClassLevel ClassLeader 510 SF SAF Yoga B B OLO Box fit DAV
Zumba ROG
808 SS OLO Swimathon A ROG 756 J DAV Circuits I VAR Box fit DAV
Yoga A A OLO Body pump CFD
Question 3
The design is changed so that there are two tables:
MEMBER(MemberNo, MemberType, Trainer)
MEMBERCLASSES(MemberNo, ClassName, ClassLevel, ClassLeader)
The primary keys are not shown.
(ii)
Using the data given in the original table, show three rows stored in table
MEMBERCLASSES.
The MemberNo should be different for each row.
Table: MEMBERCLASSES
MemberNo ClassName ClassLevel ClassLeader
Why this question appears here
82% 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 9691_s15_qp_32.pdf
