Which of the following is a function of an operating system? Statements: I.…

2021

Which of the following is a function of an operating system? Statements: I. Memory allocation II. Resource utilization

  1. A.

    Only I

  2. B.

    Only II

  3. C.

    Both I and II

  4. D.

    Neither I nor II

Attempted by 984 students.

Show answer & explanation

Correct answer: C

An Operating System (OS) acts as a resource manager and a virtual machine provider. Both statements provided are fundamental pillars of OS functionality:

I. Memory Allocation

The OS manages the computer's Primary Memory (RAM). It keeps a record of which parts of memory are currently in use and by whom. Key tasks include:

  • Allocating memory blocks to processes when they start.

  • Tracking "free" space to prevent overlaps.

  • De-allocating memory when a process terminates to prevent memory leaks.

II. Resource Utilization

The OS manages hardware resources like the CPU, Disk, and I/O devices. Its goal is to ensure maximum efficiency:

  • CPU Scheduling: Ensuring the processor is never idle if there are tasks to perform.

  • Concurrency: Managing multiple users or programs so they can share resources without conflict.

  • Throughput: Maximizing the number of tasks completed in a given time frame.

Explore the full course: Up Lt Grade Assistant Teacher 2025