Past-paper question · 2022 May-June · Paper 32 · Q4(c)

Question 4(c) 2022 · May-June · Paper 32 · 3 marks

Original past-paper question for 4(C)
Original past-paper question for 4(C)
Original past-paper question for 4(C)
Reveal official mark-scheme answer Official mark-scheme answer for 4(C)

Official answer for Question 4

Part (c)

✓
Three from:

Question 3

✓
Return value will be stored in a declared variable
✓
Return value is Boolean/either-or/one of two values
✓
If user clicks/chooses OK then TRUE is returned to the variable
✓
If user clicks cancel/close then FALSE is returned to the variable
✓
Result in variable can be used to display appropriate message depending on choice by user.
✓
Question
✓
Answer
✓
Marks

Mark scheme 9626_s22_ms_32.pdf →

Show text version of question

Question 4

Part (c)

Question 4

The confirm() method is used in JavaScript to create and provide dialog boxes for users to

interact with web pages.

Part (c)

Explain how the result of the user interaction from confirm() is reported back to the

JavaScript code for use in the remaining code.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................

[3]

Question 6

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

Keep practising this topic