engineering computer science MCQ #1816

What is the purpose of a semaphore in Operating System?

engineering computer science MCQ #1816

  1. Question 1

    Q1. What is the purpose of a semaphore in Operating System?

    • A) Process synchronization
    • B) Memory management
    • C) File system management
    • D) I/O management

    Answer: Process synchronization

    Explanation: Semaphores are used for process synchronization, controlling access to shared resources by multiple processes.