Computer Science for IGCSE & O level - Software (Section 2 - No. 31)

What is the primary role of a compiler?
To translate machine code to assembly language.
To execute a program.
To translate the entire program into machine code at once.
To translate the program line by line.

Explanation

A compiler translates the whole program into a language that a computer can execute.

Comments (0)

Advertisement