Past-paper question · 2019 May-June · Paper 4 · Q5

Question 5 2019 · May-June · Paper 4 · 10 marks

Original past-paper question for 5
Reveal official mark-scheme answer

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9626_s19_ms_4.pdf →

Show text version of question

Question 5

Open the file Task5.html in a browser.

Clicking the Start button is supposed to prompt for two numbers and display their sum in an alert.

Test the web page by entering numbers when prompted and take note of the result.

Open the file in a text editor and examine the JavaScript to identify the error(s).

Correct the code and insert programmer comments to indicate where you have made changes or additions.

Save the file as Task5Corrected_ followed by your centre number_candidate number. For example: Task5Corrected_ZZ999_9999

In your Evidence Document explain the error(s) and describe your changes.

[10]

Question 7

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

Keep practising this topic