Past-paper question · 2018 May-June · Paper 42 · Q4(d)

Question 4(d) 2018 · May-June · Paper 42 · 3 marks

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

Official answer for Question 4

Part (d)

Question 1

mark per bullet

Question 3

✓
•
✓
variable BMXJudge assigned value
✓
•
✓
call Official
✓
•
✓
with all 6 parameters assigned correctly
✓
Python example code:
✓
BMXJudge = Official("Omar", "Ellaboudy", "17/03/1993", "Male", true, "Judge")
✓
Visual Basic example code:
✓
BMXJudge = New Official("Omar", "Ellaboudy", "17/03/1993", "Male, true, "Judge")
✓
Pascal example code:
✓
BMXJudge := Official("Omar", "Ellaboudy", "17/03/1993", "Male", true, "Judge")
✓
960
✓
08/42
✓
Ca
✓
ambridge Interna
✓
ational AS/A Lev
✓
vel – Mark Scheme
✓
May/June 2 018
✓
PUBLISHED
✓
Q uestion
✓
Answer
✓
Mar rks

Mark scheme 9608_s18_ms_42.pdf →

Show text version of question

Question 4

Part (d)

Question 4

X-Games is an international extreme sports competition.

A
program will store and process data about the teams in the 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

Topic relevance

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

Keep practising this topic