Past-paper question · 2023 May-June · Paper 23 · Q7(b)

Question 7(b) 2023 · May-June · Paper 23 · 3 marks

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

Official answer for Question 7

Part (b)

Question 3

✓
MP1
✓
All modules correctly labelled and interconnected.
✓
MP2
✓
Correct parameters and return type to Module-X and Reset
✓
MP3
✓
Correct parameters and return type to Module-Y and Replace
✓
MP4
✓
Correct parameters and return type to Overlay and Module-Y
✓
9618/23
✓
Cambridge International AS & A Level – Mark Scheme
✓
May/June 2023
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9618_s23_ms_23.pdf →

Show text version of question

Question 7

Part (b)

Question 7

A school has a library system which allows students to borrow books for a length of time.

Information relating to students and books is stored in text files. Student information includes name, home address, email address, date of birth, tutor and subject choices. Book information includes author, title, subject category, library location and the date that the book was borrowed.

A
program helps the staff to manage the borrowing of books.

Part (b)

Part of the library program contains program modules with headers as follows:

Pseudocode module header PROCEDURE Module-X() PROCEDURE Module-Y(BYREF RA : INTEGER, SA : REAL) PROCEDURE Overlay() FUNCTION Replace(RA : INTEGER, RB : BOOLEAN) RETURNS BOOLEAN FUNCTION Reset(TA : STRING) RETURNS INTEGER

Module-X() and Module-Y() are both called from module Overlay().

Complete the structure chart.

[3]

Question 14

Topic relevance

Why this question appears here

99% assigned-topic match · Data types and structures › Data types and records

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 9618_s23_qp_23.pdf

Keep practising this topic