Question 3(a) 2021 · May-June · Paper 21 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 3
Part (a)
Question 5
Show text version of question
Question 3
Part (a)
The following table contains information about five modules in a program. It describes the calls made and the parameters passed.
Module Description
- repeatedly calls Module_Y then Module_Z
- passes two parameters of type INTEGER to Module_Z
Module_X • passes a parameter of type REAL to Module_Y
Module_Y calls either Module_YA or Module_YB Module_Z called with two parameters of type INTEGER
Module_YA
- called with a parameter of type REAL
- parameter is passed by reference
Module_YB
- called with a parameter of type INTEGER
- returns a BOOLEAN value
Complete the structure chart to include the information given about the five modules.
Module_X
Module_Y Module_Z
Module_YA Module_YB
Question 9
Why this question appears here
82% 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_s21_qp_21.pdf
