Question 4(b) 2013 · October-November · Paper 31 · 8 marks
Reveal official mark-scheme answer
Official answer for Question 4
Part (b)
Part (b)
The class diagram includes:
Show text version of question
Question 4
Part (b)
Question 4
Object-oriented programming is one programming paradigm. For
Examiner's Use
Part (b)
The following scenario is to be implemented with object-oriented programming. For
Examiner's Use
include books (BOOK), and recordings (RECORDING). Recordings are available for either films (FILM) or music (MUSIC) CDs.
Data stored will include:
- library ID for every item
- author for books
- release date for music CDs and films
- title for every available item
- number of tracks for CDs
- running time for films
- whether or not on loan
Complete the class diagram showing the classes and properties only for the data given above.
RESOURCE LibraryID: INTEGER
Question 11
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 9691_w13_qp_31.pdf
