Which of the following is the odd one out?

The Operating System is the correct answer because it is system software, whereas the Interpreter, Compiler, and Assembler are all language translators used to convert source code into a form that the computer can understand. Therefore, Option A (Operating System)... Read More

1 PROGRAMMING MCQS

Which of the following is the odd one out?

  • Operating System
  • Interpreter
  • Compiler
  • Assembler
Correct Answer: A. Operating System

Detailed Explanation

The Operating System is the correct answer because it is system software, whereas the Interpreter, Compiler, and Assembler are all language translators used to convert source code into a form that the computer can understand. Therefore, Option A (Operating System) is the odd one out.


An Operating System (OS) is responsible for managing computer hardware, memory, files, input/output devices, and software applications. It acts as an interface between the user and the computer, allowing programs to run efficiently. Examples of operating systems include Windows, Linux, and macOS.


The remaining three options belong to the same category because they are language processing programs. An Interpreter translates and executes a program line by line during execution. A Compiler translates the entire source program into machine code before execution, producing an executable file. An Assembler converts assembly language into machine language so that the processor can execute the instructions.


Since the Operating System performs system management tasks while the other three options are used specifically for translating programming languages, it is the only option that does not belong to the same group.


Key Point:



  • Operating System: System software that manages computer resources. 

  • Interpreter: Translates and executes code line by line.

  • Compiler: Translates the entire program before execution.

  • Assembler: Converts assembly language into machine code.

Discussion

No comments yet. Be the first to share your thoughts!

Leave a Comment