Past-paper question · 2007 May-June · Paper 3 · Q6(b)(i)

Question 6(b)(i) 2007 · May-June · Paper 3 · 0 marks

Original past-paper question for 6(B)(I)
Original past-paper question for 6(B)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 6(B)(I)

Official answer for Question 6

Part (b)

(i)

Part (b)

(i)

- The value of the variable only exists in the procedure

  • The counter used to control the loop (so that it does not effect a repeat use of the
✓
variable).

Mark scheme 9691_s07_ms_3.pdf →

Show text version of question

Question 6

Part (b)

(i)

Question 6

A name is passed as a parameter to a function.

The function uses a loop structure to search for the name in an array. It returns the details found to the calling program. Using examples from this function, explain what is meant by a

(i)

local variable,

Topic relevance

Why this question appears here

99% 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_s07_qp_3.pdf

Keep practising this topic