A program will be written to store information about members of a swimming club. The following membership details will be recorded: • Name • Gender • Status: ο Senior ο Junior • Fee • Team member (Yes or No)
- (i)Choose a suitable data type for each of the membership details to be recorded. Membership details Name Gender Status Fee Team member Data type[5]
- (ii)The swimming club has 50 members. State the data structure that would be most suitable to use and give a reason for your choice. Data structure.. Reason.[2]
Mark scheme
Marking points from the official mark scheme (May/June 2016). The mark or mark type is shown in brackets.
- [5] (i) Name type – string Gender type – char/string Status type - char/string Fee type - real Team member type – Boolean
- [2] (ii) Data Structure – several Arrays ………………………………Reason – to simplify programming/ make programs shorter/index can be used to identify the same member across the arrays etc.
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →