Question 9(b) 2022 · October-November · Paper 32 · 0 marks
Reveal official mark-scheme answer
Official answer for Question 9
Part (b)
Question 4
Show text version of question
Question 9
Part (b)
Question 9
A programmer is writing some JavaScript code to display this text on a web page:
This is “Cambridge International IT 9626 Paper 3”
The programmer uses strings in the code.
Part (b)
The programmer’s first attempt at the HTML and JavaScript code is shown in Fig. 9.1. Line
numbers are shown only for your use when referring to the code.
1 <!DOCTYPE html> 2 <html> 3 <body>
Question 4
5 <h2>This is "Cambridge Assessment International Education"</h2>
Question 6
7 <p id="string"></p>
Question 8
9 <script>
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_w22_qp_32.pdf
