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 | |
|---|---|---|
| 1print(Highlight.yellow + "Level up!") | ADisplays the text with a yellow highlight | |
| 2print(Highlight.red + "Warning!") | BThe colour name should not be written in quotation marks | |
| 3A value joined with + to a string to change its background highlight colour | CHighlight. | |
| 4The word after the dot specifying which highlight colour to use | DHighlight.blue | |
| 5print(highlight.red + "Warning!") | EDisplays the text with a red highlight | |
| 6print(Highlight."red" + "Game Over") | FHighlight should start with an uppercase H, not lowercase highlight |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
Highlight.yellow — A value joined to a string with + inside print() to change the background highlight colour of the displayed textprint(Highlight.yellow + "Level up!")print(Highlight.red + "Warning!")print(Highlight.blue + "Great job!")print(Highlight.gold + "Score: 100")print(Highlight.purple + "Bye!")