Past-paper question · 2024 May-June · Paper 21 · Q2(a)

Question 2(a) 2024 · May-June · Paper 21 · 4 marks

Original past-paper question for 2(A)
Original past-paper question for 2(A)
Reveal official mark-scheme answer Official mark-scheme answer for 2(A)

Official answer for Question 2

Part (a)

✓
One mark for each correct line

Question 4

✓
Description
✓
Programming concept
✓
function
✓
a subroutine that may not return a value
✓
procedure
✓
a value that is declared and used within
✓
a specific procedure
✓
parameter
✓
a value that a procedure expects you to
✓
global variable
✓
supply when it is called
✓
a subroutine that will always return a
✓
local variable
✓
value

Mark scheme 0478_s24_ms_21.pdf →

Show text version of question

Question 2

Part (a)

Question 2

Four descriptions of programming concepts and five programming concepts are shown.

Part (a)

Draw one line to link each description to the most appropriate programming concept.

Not all programming concepts will be used.

Description Programming concept

function a subroutine that may not return a value

procedure a value that is declared and used within a specific procedure parameter a value that a procedure expects you to supply when it is called global variable

a subroutine that will always return a value local variable

[4]
Topic relevance

Why this question appears here

98% assigned-topic match · Programming › Programming concepts

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 0478_s24_qp_21.pdf

Keep practising this topic