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 the program line by line while writing it | Acompile game.src -> game.exe | |
| 2Compile the finished program once for release | Bprint(total) # edit, run, see the result at once | |
| 3While developing, an interpreter lets you test a small change straight away with no wait for full compilation | CThe final program should be compiled once into an executable. Giving out source code is less secure and the program runs slower when interpreted. | |
| 4For release, the program is compiled once and users receive an executable without the source code | DUsing a compiler to translate the final program into a fast executable file that users can run | |
| 5Developer compiles the whole program again after every small change while testing, and waits each time | ERecompiling the full program after every small edit wastes time during development. An interpreter should be used for quick testing and fixing. | |
| 6Company sends customers the source code and an interpreter so they can run the final program | FUsing an interpreter during development so you can test and fix code quickly without waiting for full compilation |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
interpreter for development, compiler for release — Use an interpreter while developing to test and fix code quickly, then compile the final program once into a fast executable to give users without the source code.developmentTranslator ← interpreterreleaseTranslator ← compilersendToUsers(executable)compileCountForRelease ← 1WHILE bugsExist
testWith(interpreter)
ENDWHILE