Question 3(b) 2019 · May-June · Paper 23 · 2 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (b)
Question 2
Show text version of question
Question 3
Part (b)
Question 3
The following pseudocode represents three separate modules from an algorithm design. The
module contents are not shown.
FUNCTION Search(AA : INTEGER, BB : STRING) RETURNS INTEGER
ENDFUNCTION
FUNCTION Allocate() RETURNS BOOLEAN
ENDFUNCTION
PROCEDURE Enable(CC : INTEGER, BYREF DD : INTEGER)
ENDPROCEDURE
PROCEDURE Setup()
WHILE Authorised = TRUE
ThisValue Search(27, "Thursday")
Authorised Allocate()
CALL Enable(ThisValue, 4)
ENDWHILE
ENDPROCEDURE
Question 9
Part (b)
The algorithm is implemented in a high-level language. Changes are required and the
program is given to Albert, who is an experienced programmer. He is not familiar with the language that has been used.
Explain why Albert would be able to understand the program.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Question 10
Why this question appears here
71% assigned-topic match · Hardware › Logic gates and logic circuits
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_s19_qp_23.pdf
