Practice free →
HomeIBPS ClerkComputer AwarenessSoftware › 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_
Solve this in the app — IBPS Clerk practice & 24k+ MCQs →
Related questions