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("Hello") | Aif mark >= 50: print("Pass") | |
| 2Python, Java, Visual Basic | BHigh-level languages use English-like words, not binary, and they must be translated into machine code before the CPU can run them. | |
| 3A high-level language uses English-like keywords so people can read and write it easily | CExamples of high-level languages that use English-like words and must be translated before the CPU can run them | |
| 4High-level code cannot be run directly by the CPU, so it must be translated into machine code first | DOne English-like statement that makes the computer display text, which is far easier to read than the many machine instructions needed to do it | |
| 5A high-level language is written in binary so the CPU can run it directly with no translation | Esource code -> compiler or interpreter -> machine code | |
| 6total = a + b is hard to read because one high-level statement is just one machine instruction | FOne high-level statement usually becomes many machine instructions, and it is easy to read, not hard. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
high-level language — A programming language using English-like words that is easy for people to read and write, such as Python or Java. One statement does many jobs, and it must be translated before the CPU can run it.print("Hello, world!")name = input("Enter your name: ")if score >= 50:
print("Pass")for i in range(5):
print(i)total = sum([4, 7, 9])