Past-paper question · 2017 May-June · Paper 12 · Q40

Question 40 2017 · May-June · Paper 12 · 9 marks

Question 40

</html>

Question 13

(i)

The developer has used three variables in the JavaScript code. State the identifiers used. 1. .................................... 2. .................................... 3. ....................................

[2]

(ii)

The button has an event whose identifier is onMouseDown. When the mouse button is clicked, some code is run. State the line numbers which contain this code. From line .................................... to line ....................................

[1]

(iii)

The JavaScript code uses a selection statement. State the line number which contains its condition. Line number: ....................................

[1]

(iv)

Describe the purpose of the validation check that the code performs. ........................................................................................................................................... .......................................................................................................................................[1]

(v)

Name and describe two other types of validation check which could be appropriate for this data capture form. Validation check: ............................................................................................................... Description ........................................................................................................................ ........................................................................................................................................... Validation check: ............................................................................................................... Description ........................................................................................................................ ...........................................................................................................................................

[4]

Question 14

Reveal official mark-scheme answer

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

Mark scheme 9608_s17_ms_12.pdf →

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Constructs

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 9608_s17_qp_12.pdf

Keep practising this topic