Past-paper question · 2021 October-November · Paper 32 · Q3(d)

Question 3(d) 2021 · October-November · Paper 32 · 1 mark

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

Official answer for Question 3

Part (d)

✓
Local variables must be declared with the var keyword otherwise they will

Question 1

✓
become global variables.
✓
9626/32
✓
Cambridge International AS & A Level – Mark Scheme
✓
October/November
✓
PUBLISHED
✓
2021
✓
Question
✓
Answer
✓
Marks

Mark scheme 9626_w21_ms_32.pdf →

Show text version of question

Question 3

Part (d)

Question 3

JavaScript is a programming language used within HTML on web pages.

Explain why it is considered good practice when coding in JavaScript to:

Part (d)

always declare local variables.

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................

[1]

Question 5

Topic relevance

Why this question appears here

98% assigned-topic match · Programming for the web

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 9626_w21_qp_32.pdf

Keep practising this topic