Question 4(d) 2018 · May-June · Paper 42 · 3 marks
Reveal official mark-scheme answer

Official answer for Question 4
Part (d)
Question 1
mark per bullet
Question 3
Show text version of question
Question 4
Part (d)
Question 4
X-Games is an international extreme sports competition.
- Each team is made up of members.
- Members can be added and removed from each team.
- Each member has a first name, last name, date of birth and gender.
- Each member can be an official or a competitor.
- Each official has a job title and may be first-aid trained.
- Each competitor takes part in one sport.
The program is written using object-oriented programming.
The program can output the full name and date of birth of any member. For example, “Nadia Abad 16/05/1995”
An introduction about a team member can be output using their name. For example, “Hello, I’m Nadia Abad”.
The program outputs a different version of the introduction for a competitor. This version includes the competitor’s sport. For example, “Hello, I’m Sally Jones and my sport is Skateboard Park.”
Question 13
Part (d)
Omar Ellaboudy is an official at X-Games. He is first-aid trained and his job title is Judge. He
is male and was born on 17/03/1993.
Write program code to create an instance of an object with the identifier BMXJudge. All attributes of the instance must be fully initialised.
Programming language ............................................................................................................
Program code
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...............................................................................................................................................[3]
Question 17
Question 5 begins on the next page.
Question 18
Why this question appears here
98% assigned-topic match · Further programming › Programming paradigms
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_s18_qp_42.pdf
