Question 1(b) 2023 · May-June · Paper 32 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (b)
Question 3
Show text version of question
Question 1
Part (b)
Question 1
JavaScript can be used in a web-based form to test whether a number entered by a user matches
a certain condition and to select and output an appropriate message.
Part (b)
The ternary operator could be used instead of if...else.
Explain why the ternary operator could be used to do this.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
Question 3
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_s23_qp_32.pdf
