Past-paper question · 2022 February-March · Paper 32 · Q7(b)

Question 7(b) 2022 · February-March · Paper 32 · 2 marks

Original past-paper question for 7(B)
Original past-paper question for 7(B)
Reveal official mark-scheme answer Official mark-scheme answer for 7(B)

Official answer for Question 7

Part (b)

✓
Two from:

Question 2

✓
Position of the dialog box cannot be specified by the programmer/is
✓
determined by the browser so may not be in the ‘best’ position for the user
✓
The appearance of the dialog box is determined by the browser/cannot be
✓
modified by the programmer so may not be as desired by the programmer
✓
The script is paused until the user interacts with the dialog box/creates a
✓
modal window so the user cannot access the rest of page until the box is
✓
closed
✓
Additional code is required to validate the entered data
✓
Some browsers/versions of browsers require a default value to be supplied by
✓
the programmer to make the dialog box appear correctly/may not
✓
appear/function properly in all browsers unless a default is supplied.
✓
Question
✓
Answer
✓
Marks

Mark scheme 9626_m22_ms_32.pdf →

Show text version of question

Question 7

Part (b)

Question 7

The prompt() method is used in JavaScript to provide a popup dialog box for users to interact

with web pages.

Part (b)

Explain two limitations of using the prompt() method of user interaction.

1 ................................................................................................................................................

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

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

2 ................................................................................................................................................

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

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

[2]

Question 9

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

Keep practising this topic