EDUCATION (CBSE/UGC NET)

EDUCATION UGC NET

ICT

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A Compiler is a software which converts
A
words to bits
B
characters to bits
C
machine language to high level language
D
high level language to machine language
Explanation: 

Detailed explanation-1: -A compiler is a computer program that translates a program written in a high-level language to the machine language of a computer. The compiler is used to translate source code into machine code or compiled code.

Detailed explanation-2: -A program that converts a high-level language source file into a machine-language file is called a compiler.

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

Detailed explanation-4: -Compilers convert high-level language code to machine (object) code in one session. Compilers can take a while, because they have to translate high-level code to lower-level machine language all at once and then save the executable object code to memory.

Detailed explanation-5: -It converts a high-level language program into machine language line by line as well as executes it. If there is any error in the program, translation and execution stops and the error is reported for debugging.

There is 1 question to complete.