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 | |
|---|---|---|
| 1game.exe | ASend game.exe to users. Keep game.c private. | |
| 2gcc game.c -o game | Bgame.exe made for a PC will not run on a phone | |
| 3A company gives customers only the executable file, so they can run the program without seeing the source code | CAn executable file: the machine code program made by a compiler that the user can run directly | |
| 4An executable file is machine code for one type of machine, so it will not run on a different type of processor | DAn executable file runs without the compiler, because it is already machine code and needs no translating again. | |
| 5The user must install the compiler to run game.exe each time | EAn executable file is machine code, not source code. The source code is the separate file that the compiler translated. | |
| 6game.exe is the source code, so users can read and edit it | FRuns the compiler to translate the source code once and produce an executable file called game |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
executable file — The machine code program a compiler produces. It runs without the compiler or source code, needs no re-translation, and works only on the type of machine it was made for.source code -> compiler -> executable fileAn executable file contains machine codeRun game.exe: translate again? noGive users the .exe, keep the source codeAn executable file is specific to one type
of machine