BPSC TRE Operating Systems – Full-Length Mock Test Set 2

Questions 36-40 of 80

0% completed (0/80 answered)
Your score 0/80 0 answered
Correct 0 Incorrect 0 Unanswered 80 Accuracy 0%

Question 36

MCQ · Single Correct 1 mark

In Dijkstra's Semaphore definition, what happens when a process calls the wait(S) or P(S) operation on a counting semaphore whose current value S is 0?

Answers for question 36

Question 37

MCQ · Single Correct 1 mark

What is a major performance downside of using a Spinlock for mutual exclusion on single-processor systems?

Answers for question 37

Question 38

MCQ · Single Correct 1 mark

In the Classic Bounded-Buffer (Producer-Consumer) problem using semaphores, what is the role of the 'empty' counting semaphore initialized to N?

Answers for question 38

Question 39

MCQ · Single Correct 1 mark

What synchronization phenomenon occurs when a high-priority process is indirectly preempted by a lower-priority process holding a shared resource lock needed by a medium-priority process?

Answers for question 39

Question 40

MCQ · Single Correct 1 mark

Which of the following represents the four necessary Coffman conditions that MUST simultaneously hold for a Deadlock to occur?

Answers for question 40
Scroll to Top