Railways PYQCBT 1 2026Information TechnologyComputer Fundamentals & Hardware

RRB NTPC · Question 6

Which classification best describes a compiler based on its role in program translation?

  1. System software because it converts code for OS execution

  2. Application software because users launch it manually

  3. Application software because it edits documents

  4. It is a hardware abstraction layer

Show answer & explanationShow explanation

Answer: (A) System software because it converts code for OS execution

Explanation

• Program translator: A compiler translates high-level source code into machine code. • A compiler is system software because it converts code for OS execution. Related Facts: • System software includes operating systems, device drivers, and language translators (compilers, assemblers, and interpreters). • A compiler translates entire high-level language programs into machine-level object code so the operating system and hardware processor can execute them. • Therefore, a compiler is classified as system software rather than application software. Correct Answer: (a) System software because it converts code for OS execution

Diagram explaining the answer