Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 15 === 5 | AReturns true because both values and types match | |
| 25 !== 3 | BWrong - the strict inequality operator is !==, not !=== | |
| 3Compares if one value is greater than another | CReturns true because the values are not equal | |
| 4Compares if one value is less than another | DWrong - use === for comparison, = is for assignment | |
| 5console.log(5 = 5); | E10 > 7 | |
| 6console.log(5 !=== 3); | F3 < 8 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
=== — Checks if two values are equal in both value and type, returning true or false.console.log(5 === 5);console.log(5 !== 3);console.log(10 > 7);console.log(3 < 8);let isEqual = age === 12;