Subject
Computer Science
Topic
Computer Hardware
What is the function of a 'compiler'?
What is the function of a 'compiler'?
a)
To execute a program line by line.b)
To translate the entire source code of a high-level programming language into machine code before execution.c)
To link multiple object files into a single executable file.d)
To find and fix bugs in a program.Explanation
A compiler performs a one-time translation of the whole program, creating a standalone executable file that can be run by the computer's hardware. This is different from an 'interpreter', which translates and executes the program one statement at a time, without creating a separate executable.Related questions
Which is best for cleaning Mylar-protected LCD screens?ESD potential decreases with the use of a:Which FRU is clearly an input/output device?A COM port is a ______ port.Which device uses IRQ 6 by default?With two IDE hard drives, the primary partition of the second drive becomes drive letter:Key difference between USB and IEEE 1394 (FireWire) is that:Which specification covers PC Card (“PCMCIA”) hard cards?
