MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

SYSTEM SOFTWARE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What reads the whole high-level code and if there are no errors, translates it into complete machine code which is output as a new file?
A
Compiler
B
Interpreter
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -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-2: -A compiler is a computer program that translates a program written in a high-level language to the machine language of a computer.

Detailed explanation-3: -Compiler. A compiler is a computer program that translates a program written in a high-level language to the machine language of a computer. The high-level program is referred to as ‘the source code.

Detailed explanation-4: -A compiler is a translator program which translates a high level programming language into equivalent machine language programs.

There is 1 question to complete.