Select the accurate description of Semaphore.
Difficulty: Hard
About this MCQ
This Hard Operating Systems question asks: Select the accurate description of Semaphore. The correct choice is C. A synchronization variable used to control access to shared resources by multiple processes.. Read the options below, commit to one, then use the explanation to see why that choice holds and why the others do not.
Operating Systems items like this one are written for Pakistan exams such as CSS, FPSC, PPSC, and NTS. The difficulty label is a hint about how much of the topic the stem assumes, not a score. Tags and exam names, when they are present, tell you where else the same idea is tested. Previous and next links stay in Operating Systems so you can continue the subject. Related questions point at nearby stems if you want another angle on the same idea.
Treat the explanation as part of the question, not a footnote. If you missed it, reread the stem against the correct option before you open the next Operating Systems item. A timed quiz is the same pool with a clock and a score. A past paper is a full sitting rather than this single question.
- A. The smallest unit of execution within a process that can be scheduled independently.
Why not A: “The smallest unit of execution within a process that can be scheduled independently.” does not fit this question. The answer is A synchronization variable used to control access to shared resources by multiple processes..
- B. A memory management technique that gives an application the illusion of a large, continuous memory space using disk storage.
Why not B: “A memory management technique that gives an application the illusion of a large, continuous memory space using disk storage.” does not fit this question. The answer is A synchronization variable used to control access to shared resources by multiple processes..
- C. A synchronization variable used to control access to shared resources by multiple processes. ✓
- D. A program in execution, including its code, data, and current activity state.
Why not D: “A program in execution, including its code, data, and current activity state.” does not fit this question. The answer is A synchronization variable used to control access to shared resources by multiple processes..
Correct answer
C. A synchronization variable used to control access to shared resources by multiple processes.
Explanation
A synchronization variable used to control access to shared resources by multiple processes option C is the accepted answer to Select the accurate description of Semaphore Option A The smallest unit of execution within a process that can be scheduled independently does not fit this question Option B A memory management technique that gives an application the illusion of a large continuous memory space using disk storage does not fit this question Option D A program in execution including its code data and current activity state does not fit this question For this Operating Systems question the accepted answer is A synchronization variable used to control access to shared resources.
Source: Operating Systems Official Reference Guide
Tags: computer science, operating systems, OS concepts, process management
Submitted by: MCQsHub Editorial
Related MCQs
- What is Multitasking primarily used for?
- What does Interrupt refer to?
- Which concept is defined as follows: the ability of an operating system to execute multiple tasks or processes...
- What is the name for software that allows the operating system to communicate with a specific hardware device?
- Which statement correctly explains File system?
- Which of the following best describes Device driver?