Past-paper question · 2015 October-November · Paper 43 · Q3(b)(iii)

Question 3(b)(iii) 2015 · October-November · Paper 43 · 3 marks

Original past-paper question for 3(B)(III)
Original past-paper question for 3(B)(III)
Original past-paper question for 3(B)(III)
Original past-paper question for 3(B)(III)
Original past-paper question for 3(B)(III)
Reveal official mark-scheme answer Official mark-scheme answer for 3(B)(III)Official mark-scheme answer for 3(B)(III)

Official answer for Question 3

Part (b)

(iii)

(iii)

✓
Pascal
✓
NewBook := Book.Create;

Question 1

✓
NewBook.Title := 'Computers';
✓
NewBook.Author := 'A.Nyone';
✓
NewBook.ISBN := '099111';

Question 1

✓
NewBook.DateAcquired := '12/11/2001';
✓
NewBook.OnLoan := FALSE

Question 1

✓
Python
✓
NewBook = Book()

Question 1

✓
NewBook.Title = "Computers"
✓
NewBook.Author = "A.Nyone"
✓
NewBook.ISBN = "099111"

Question 1

✓
NewBook.DateAcquired = "12/11/2001"
✓
NewBook.OnLoan = False

Question 1

✓
VB.NET
✓
Dim NewBook As Book = New Book()

Question 1

✓
NewBook.Title = "Computers"
✓
NewBook.Author = "A.Nyone"
✓
NewBook.ISBN = "099111"

Question 1

✓
NewBook.DateAcquired = #12/11/2001#
✓
NewBook.OnLoan = False

Question 1

[3]
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
Cambridge International A Level – October/November 2015
✓
9608

Question 43

Mark scheme 9608_w15_ms_43.pdf →

Show text version of question

Question 3

Part (b)

(iii)

Question 3

A lending library stocks two types of item for loan: books and CDs.

All stock items have a title, the date the item was acquired and whether the item is currently out on loan.

Books have an author and ISBN. CDs have an artist and play time in minutes.

The library needs a program to process data about the stock items. The program will use an object-oriented programming language. Write program code

(iii)

to create a new instance of Book with:

  • identifier NewBook
  • title “Computers”
  • author A.Nyone
  • ISBN 099111
  • acquired on 12/11/2001
  • not out on loan

Programming language .....................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

.......................................................................................................................................[3]

Question 9

Question 4 begins on page 10.

Question 10

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_w15_qp_43.pdf

Keep practising this topic