Past-paper question · 2018 October-November · Paper 41 · Q2(a)

Question 2(a) 2018 · October-November · Paper 41 · 4 marks

Original past-paper question for 2(A)
Original past-paper question for 2(A)
Reveal official mark-scheme answer Official mark-scheme answer for 2(A)

Official answer for Question 2

Part (a)

Question 1

mark per bullet point to max 4:

Question 4

✓
•
✓
declaration of type Book
✓
•
✓
Title, Author and ISBN as String
✓
•
✓
Fiction as Boolean
✓
•
✓
LastRead as Date
✓
For example:
✓
TYPE Book
✓
DECLARE
✓
Title : String
✓
DECLARE
✓
Author : String
✓
DECLARE
✓
ISBN : String
✓
DECLARE
✓
Fiction : Boolean
✓
DECLARE
✓
LastRead : Date
✓
ENDTYPE
✓
9608/41
✓
Cambridge International AS/A Level – Mark Scheme
✓
October/November 2018
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_w18_ms_41.pdf →

Show text version of question

Question 2

Part (a)

Question 2

Kendra collects books. She is writing a program to store and analyse information about her books.

Her program stores information about each book as a record. The following table shows the information that will be stored about each book.

Field name Description Title The title of the book Author The first listed author of the book

A
13-digit code that uniquely identifies the book,

ISBN for example: Fiction If the book is fiction (TRUE) or non-fiction (FALSE) LastRead The date when Kendra last read the book

Part (a)

Write pseudocode to declare an Abstract Data Type (ADT) named Book, to store the

information in the table.

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

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

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

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

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

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

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

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

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

[4]

Question 5

Topic relevance

Why this question appears here

71% assigned-topic match · Data types and structures › Introduction to abstract data types

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

Keep practising this topic