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 | |
|---|---|---|
| 1"hello" | AWrong - string values need quotes around them | |
| 2true | B42 | |
| 3A data type for whole or decimal numbers | Cfalse | |
| 4A data type with two possible values: true or false | DA string data type that holds text | |
| 5let name = Sam; | EA boolean data type representing true or false | |
| 6let flag = True; | FWrong - booleans use lowercase true/false |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
string — A data type that holds text, written inside quotes like "hello".let age = 12;let isReady = false;let price = 9.99;let isDone = true;let temp = -5;