Question 15(a) 2022 · October-November · Paper 32 · 12 marks
Reveal official mark-scheme answer
The answer for this question is in the official mark scheme: open the mark scheme.
Show text version of question
Question 15
Part (a)
Question 15
</html>
Fig. 9.1
When run in a web browser the HTML code outputs the heading in line 5 on the page. The browser executes the JavaScript code shown in lines 9 to 12.
The expected output of the code on the web page is shown in Fig. 9.2 but the actual output is shown in Fig. 9.3.
Fig. 9.2 Fig. 9.3
Question 11
Explain why the error in line 10 prevents the JavaScript code from outputting:
This is “Cambridge International IT 9626 Paper 3”
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
....................................................................................................................................................
Part (c)
JavaScript programmers often wish to control when sections of their code are executed.
Compare the use of setTimeout() and setInterval() for delaying the execution of JavaScript code.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Please turn over for Question 10.
Question 12
10 Image editing software has tools for altering digital images.
Explain why a graphic designer might use each of the following tools to alter a digital image.
Part (a)
layer tool
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
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
