Past-paper question · 2022 May-June · Paper 31 · Q8(b)

Question 8(b) 2022 · May-June · Paper 31 · 2 marks

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

Official answer for Question 8

Part (b)

✓
Two from:

Question 2

✓
Compares (both) type and value
✓
Returns TRUE if of the same value and different type
✓
Returns TRUE if of the same type and different value
✓
Returns FALSE if same type AND value.
✓
9626/31
✓
Cambridge International AS & A Level – Mark Scheme
✓
May/June 2022
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9626_s22_ms_31.pdf →

Show text version of question

Question 8

Part (b)

Question 8

JavaScript code can use comparison operators.

Explain how each of the following comparison operators works in JavaScript when comparing the number 1 with the text “1”.

Part (b)

the !== operator

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

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

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

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

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

[2]

Question 10

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

Keep practising this topic