COMPUTER FUNDAMENTALS

COMPUTER SOFTWARE

PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Translates all of the source code into machine code in one go
A
Assembler
B
Compiler
C
Interpreter
D
None of the above
Explanation: 

Detailed explanation-1: -A compiler takes the source code as a whole and translates it into object code all in one go. Once converted, the object code can be run at any time. This process is called compilation .

Detailed explanation-2: -A compiler is a special program that translates a programming language’s source code into machine code, bytecode or another programming language. The source code is typically written in a high-level, human-readable language such as Java or C++.

Detailed explanation-3: -To get from source code to machine language, the programs must be transformed by a compiler. The compiler produces an intermediary form called object code. Object code is often the same as or similar to a computer’s machine language.

Detailed explanation-4: -Compilers translate code all at once and the processor then executes upon the machine language that the compiler produced. If changes are made to the code after compilation, the changed code will need to be compiled and added to the compiled code (or perhaps the entire program will need to be re-compiled.)

There is 1 question to complete.