Past-paper question · 2019 October-November · Paper 32 · Q3

Question 3 2019 · October-November · Paper 32 · 0 marks

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

Official answer for Question 3

✓
Three from:

Question 3

✓
Line 7 contains a syntax error
✓
”Peter” is enclosed in quotes that are the same as the quotes for the string
✓
(Strings in JavaScript can contain quotes but) the quotes in a string must not
✓
be the same as the enclosing quotes
✓
Any syntax error causes the script to fail/not run
✓
No error message is produced.
✓
Question
✓
Answer
✓
Marks

Mark scheme 9626_w19_ms_32.pdf →

Show text version of question

Question 3

JavaScript uses strings to store data.

This script is intended to display the contents of three variables on a web page.

Line numbers are provided only for your convenience when referring to the code.

1 <html> 2 <body>

Question 3

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

Keep practising this topic