COMPUTER PROGRAMMING FUNDAMENTALS
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Compiler
|
|
Interpreter
|
|
IDE
|
|
Operand
|
Detailed explanation-1: -Detailed Solution. The correct answer is Compiler. A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file).
Detailed explanation-2: -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-3: -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-4: -Assembly code is converted into executable machine code by a utility program referred to as an assembler.
Detailed explanation-5: -A compiler translates the entire source code in a single run. An interpreter translates the entire source code line by line. It consumes less time i.e., it is faster than an interpreter. It consumes much more time than the compiler i.e., it is slower than the compiler. It is more efficient.