MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPILER DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A ____ is a software utility that translates code written in higher language into a low level language
A
Compiler
B
Translator
C
Converter
D
Text Editor
Explanation: 

Detailed explanation-1: -The name “compiler” is primarily used for programs that translate source code from a high-level programming language to a low-level programming language (e.g. assembly language, object code, or machine code) to create an executable program.

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.

Detailed explanation-3: -The correct option is C Machine language. A compiler translates a program written in a high-level language into Machine language or that transforms computer code written in one programming language into another programming language.

Detailed explanation-4: -Explanation: Compiler is a computer program that accepts the code written in a high-level language and converts that code into the assembly language.

Detailed explanation-5: -A compiler is a translator program that converts a high-level language source program into a machine language object program.

There is 1 question to complete.