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 | |
|---|---|---|
| 17 * 3 | AJoining text does not add. Because "5" and "3" are text, they join to make the text "53". Use the numbers 5 + 3 to get 8. | |
| 2"Sam" + "my" | B10 + 5 | |
| 3Numbers can be calculated with, so you can add them to get a total. | C9 > 4 | |
| 4True or false values can be tested, such as checking if one number is bigger than another. | DYou cannot sensibly multiply two names. Multiplying is for numbers, not text. To put names together, join them instead. | |
| 5"Mia" * "Leo" | EJoins two pieces of text together to make the text "Sammy". | |
| 6"5" + "3" gives 8 | FMultiplies two numbers and gives the number 21, because numbers can be calculated with. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
data type — The kind of value something is. It decides what you can do with it: calculate with numbers, join text together, or test true and false values.print(6 * 7)print("Sam" + "Lee")print(9 > 4)score = 9
print(score + 1)print(type(42))