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.
"Alice"?15?5.5?42?Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1'25' + 1 | AValid: float type | |
| 2year_born = 1989.0 | BOutput: 3.14 | |
| 3score = 4.5 | CError: float value, not an int | |
| 4name = 'Alice' | DError: Can't add str and int | |
| 5print(int('25')) | EOk: str type | |
| 6print(float('3.14')) | FOutput: 25 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
name = "Alice" — Strings are text in quotes.~~age = 15name = "Alice"age = 15height = 5.5score = int("100")city = "Melbourne"