Past-paper question · 2013 October-November · Paper 21 · Q3(b)

Question 3(b) 2013 · October-November · Paper 21 · 16 marks

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

Official answer for Question 3

Part (b)

Part (b)

–

✓
title and date
✓
–
✓
heading for resource
✓
–
✓
heading for keeping place
✓
–
✓
method of grouping
✓
–
✓
use of all page
[5]

Mark scheme 9691_w13_ms_21.pdf →

Show text version of question

Question 3

Part (b)

Question 3

[6]

Part (f)

Juan wants to use an array, NumberOfCopies to store whole numbers.

In a high-level programming language:

  • declare the array of size 5000
  • initialise the array to 0

Programming language

Code

[4]

Question 7

Part (b)

Juan needs to design the code for a part of the program that determines where For

resources are kept. If the resource has: Examiner's Use

  • an ID less than 1001 it will be kept in Cabinet 1
  • an ID between 1001 and 3000 it will be kept in Cabinet 2
  • o even numbered IDs in Drawer 1 o odd numbered IDs in Drawer 2

  • an ID between 3001 and 5000 it will be kept in Cabinet 3

Write pseudocode that processes the variable ResourceID and outputs where the resource is kept. Use nested IF statements.

[6]

Question 9

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Constructs

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

Keep practising this topic