engineering computer science MCQ #1837

What is the role of a semaphore in operating systems?

engineering computer science MCQ #1837

  1. Question 1

    Q1. What is the role of a semaphore in operating systems?

    • A) Process Synchronization
    • B) Memory Management
    • C) File System Management
    • D) CPU Scheduling

    Answer: Process Synchronization

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