Question:medium

What is the primary function of an operating system?

Show Hint

An operating system manages the computer's resources, ensuring the efficient operation of hardware and software.
Updated On: Jan 16, 2026
  • To compile source code
  • To manage hardware and software resources
  • To design user interfaces
  • To execute database queries
Show Solution

The Correct Option is B

Solution and Explanation

The core role of an operating system is to orchestrate hardware and software assets. This involves several key operations:

  • Resource Assignment: The OS allocates critical resources like CPU cycles, memory, and I/O devices among programs and users.
  • Memory Administration: It meticulously tracks every memory byte to manage its allocation and release efficiently.
  • Process Synchronization: It governs processes and supervises application execution by ensuring a stable environment with proper assignment and prioritization of all hardware and software resources.
  • Peripheral Control: The OS manages external devices through drivers, enabling communication between hardware and software components.
  • User Interaction Layer: It offers a bridge between users and the computer's hardware, simplifying interaction and command.

Conversely, activities such as source code compilation, user interface design, and database query execution are typically domain-specific functions of application software or development tools, not primary operating system duties.

Was this answer helpful?
0