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 | |
|---|---|---|
| 1Run button | AShows the program's output and lets the programmer type in test input while it runs | |
| 2Console window | BThe run-time environment lets you run the program inside the IDE, so you do not need to leave it. | |
| 3The run-time environment lets a programmer enter test input and check the program reacts correctly, without leaving the IDE | CStarts the program from inside the IDE so the programmer can see it work straight away | |
| 4The run-time environment can step through code one line at a time so the programmer can watch the program run | DThis describes error diagnostics, not the run-time environment. The run-time environment runs the program and shows its input and output. | |
| 5To test my program I must close the IDE and run it in a separate application | EStep 1: total = 0 | Step 2: total = total + 5 | |
| 6The run-time environment is the part of the IDE that underlines syntax errors as you type | Fage = int(input("Age: ")) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
run-time environment — An IDE feature that lets you run your program and see it work, including its input and output, without leaving the IDE. It has a run button, a console and can step through code.name = input("Enter name: ")
print("Hello " + name)total = 5 + 3
print(total)age = int(input("Age: "))
print(age + 1)x = 1
x = x + 1 # step: watch x become 2
print(x)# Press the Run button to start
print("Hello")