Home › IBPS Clerk › Computer Awareness › Software › Which translator converts the whole source progr…
Which translator converts the whole source program into machine code in one go?
ACompiler
BAssembler
CInterpreter
DDebugger
Answer & Solution
Correct answer: A. Compiler
1. A computer executes machine code only, so high level code must be translated.
2. A compiler converts the source code into machine code as a single pass over the program.
3. Once translated, the compiler itself is no longer needed to run the program.
4. An interpreter instead translates one line at a time, so it is needed every time the code runs.
5. An assembler handles assembly language only, and a debugger finds errors rather than translating.
_Source: NCERT Computer Science Class 11, Ch 1 'Computer System', S1.7.3 Programming Tools_
Related questions
Software written for a wide audience, such as a spreadsheet tool or a web browser, is callWhich of these is an example of proprietary software?Skype and Adobe Reader, which can be used free of cost but whose source code is not releasLow level languages differ from high level languages mainly because low level languages arWhich statement correctly distinguishes an interpreter from a compiler?A device driver works as an interface between the attached device and the:An antivirus program and a disk defragmentation tool are both examples of:Software is broadly classified into which three categories?