Question 3(b) 2013 · October-November · Paper 21 · 16 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (b)
Part (b)
–
Show text version of question
Question 3
Part (b)
Question 3
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
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
- an ID between 3001 and 5000 it will be kept in Cabinet 3
o even numbered IDs in Drawer 1 o odd numbered IDs in Drawer 2
Write pseudocode that processes the variable ResourceID and outputs where the resource is kept. Use nested IF statements.
Question 9
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
