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 | |
|---|---|---|
| 1pri | AThe programmer has typed only the first letters, so the IDE shows a suggestion list that includes print. | |
| 2totalScore | BAuto-completion only saves the programmer typing time and reduces spelling mistakes. It has no effect on how fast the program runs. | |
| 3Auto-completion reduces spelling mistakes in names because the programmer picks the name from the list instead of typing it all. | CThis describes auto-correction, not auto-completion. Auto-completion suggests or finishes a name while you are still typing it. | |
| 4Auto-completion is different from auto-correction: it offers to finish what you are typing, while auto-correction fixes errors that were already typed. | DA long variable name that auto-completion lets you finish by typing just a few letters and pressing Tab or Enter. | |
| 5Auto-completion automatically fixes pritn to print after you type it | EAuto-completion: ran -> range Auto-correction: pritn -> print | |
| 6Auto-completion makes the program run faster when it is executed | FplayerScore chosen from list, not typed as plyerScore |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
auto-completion — An IDE feature that suggests or finishes a keyword, function or variable name as you start typing it. It saves time and cuts spelling mistakes in names.playerScore = 10
print(playerScore)print("Hello")# The IDE shows a suggestion list# Finishes a name as you type:
# auto-completionword = "cloud"
print(len(word))