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 | |
|---|---|---|
| 1OUTPUT "Hello" | AThe quotes make this the word Score rather than the value stored in the variable. To show the value, write OUTPUT Score. | |
| 2OUTPUT Score | BDisplays the text Hello exactly as written, because it is in double quotes | |
| 3Show the words Game Over on the screen exactly as written | COUTPUT Total | |
| 4Show whatever number is stored in the variable Total | DDisplays the value currently stored in the variable Score | |
| 5OUTPUT Hello | EOUTPUT "Game Over" | |
| 6OUTPUT "Score" | FThe text has no double quotes, so Hello is treated as a variable name instead of text to display. It should be OUTPUT "Hello". |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
OUTPUT — OUTPUT displays a value to the user. OUTPUT "Hello" shows the text exactly as written. OUTPUT Score shows the value stored in the variable Score.OUTPUT "Hello"Score ← 10
OUTPUT ScoreScore ← 42
OUTPUT ScoreLives ← 3
OUTPUT LivesPoints ← 50
OUTPUT "Points"
OUTPUT Points