Computer Science Ques 2

Question: A compiler translates a program written in a high-level language into______

Options:

A) Machine language

B) an algorithm

C) A debugged program

D) Java

E) No ne of these

Show Answer

Answer:

Correct Answer: A

Solution:

  • A compiler is a software program that translates a source program written in some high-level language (such as C. C++.Java) into machine code for some computer architecture (such as Intel Pentium Architecture). The generated code can be later executed many times against different data each time.