Past-paper question · 2018 May-June · Paper 31 · Q3

Question 3 2018 · May-June · Paper 31 · 4 marks

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

Official answer for Question 3

✓
Four from:

Question 4

✓
Use a (suitable) name
✓
«. that is not a reserved word
✓
Declare the variable with ‘var’ (command word)
✓
Declared once only in the script/code
✓
Use as global or local variable but not both
✓
Initialise the variable with a value
✓
Do not use quotes around the variable name.
✓
9626/31
✓
Cambridge International AS/A Level – Mark Scheme
✓
May/June 2018
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9626_s18_ms_31.pdf →

Show text version of question

Question 3

Variables are used in JavaScript to hold values.

Explain how a variable is created in JavaScript code.

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

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

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

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

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

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

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

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

......................................................................................................................................................[4]

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

Keep practising this topic