Question 3(a) 2019 · May-June · Paper 23 · 6 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (a)
Question 6
- Arrows labelled AA, BB and CC with correct symbols
- Return parameter from Search with correct symbol
- Return boolean from Allocate with correct symbol
- Double-headed arrow for DD
Show text version of question
Question 3
Part (a)
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 (a)
Draw a structure chart to show the four modules and the parameters that these pass between
them.
Why this question appears here
72% 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 9608_s19_qp_23.pdf
