Past-paper question · 2013 May-June · Paper 21 · Q3(c)

Question 3(c) 2013 · May-June · Paper 21 · 1 mark

Original past-paper question for 3(C)
Original past-paper question for 3(C)
Reveal official mark-scheme answer Official mark-scheme answer for 3(C)

Official answer for Question 3

Part (c)

Part (c)

  • within the module/subroutine/block in which it is declared
[1]

Mark scheme 9691_s13_ms_21.pdf →

Show text version of question

Question 3

Part (c)

Question 3

Meena needs to be aware of her average grade and declares a variable AvMark, which For

she decides will be a global variable. Examiner's Use

Part (c)

Good programming practice uses local variables.

What is the scope of a local variable?

[1]

To make future computation more straightforward Meena retrieves her marks from the file and stores them in an array, Marks. This array has 30 elements, and marks range from 0 to 100.

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Structured programming

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_s13_qp_21.pdf

Keep practising this topic