Any program written in a ____ level language is known as source ____. However, computers cannot understand ____ code. Before it can be run, source code must first be ____ into a form which a computer understands, this form is called object code. A ____ is a program that converts source code into ____ code. Generally, there are ____ types of translator: compilers, interpreters and assemblers. A translator takes a program written in one programming language and ____ it to another. A compiler takes the source code as a ____ and translates it into object code all in ____ go. Once converted, the object code can be ____. A ____ translates high-level language source code into a computer's machine code. Compilers have several advantages: - Compiled programs can run ____ as they have already been translated - The program can be supplied as an ____ file, which is ready to run and cannot be easily ____. - Compilers optimise code which can run quicker and take up ____ memory space. Compilers also have disadvantages: - There must be enough ____ to hold the source code, the compiler and the generated code as it is translated all at once. Modern systems either have enough memory or will need to use ____ memory. - Harder to spot ____ - Source code must be ____ every time the programmer changes the program - Source code on one platform will not run on another, the object code is ____ to the processors' architecture. An interpreter ____ source code into object code one ____ at a time. The resulting object code is then ____ immediately. An interpreter translates and execute a program ____ line at a time. Interpreters have several advantages: - Instructions are executed as soon as they are translated. Since instructions are executed once translated, they are not stored for later use. As a result, interpreters require less available ____. - ____ can be quickly spotted - once an error is found, the program ____ running and the user is ____ at which part of the program the interpretation has failed. This makes interpreters extremely useful when developing programs. Interpreters also have several disadvantages: - Interpreted programs run more ____ as the processor has to wait for each instruction to be translated before it can be executed. - Additionally, the program has to be translated every time it is run. - Interpreters do not produce an executable file that can be distributed. As a result, the source code program has to be supplied, and this could be ____ without permission. - Interpreters do not ____ code - the translated code is executed as it is. Assemblers are a third type of ____. The purpose of an ____ is to translate assembly language into object code. Whereas compilers and interpreters generate many machine code instructions for each high level instruction, assemblers create one ____ code instruction for each assembly ____. Assembly language is a ____ programming language closely related to machine code.

द्वारा

लीडरबोर्ड

दृश्य शैली

विकल्प

टेम्पलेट स्विच करें

ऑटो-सेव पुनःस्थापित करें: ?