BPSC TRE – OS: Process Management, Scheduling & Synchronization | Test 1

Questions 31-35 of 50

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

Question 31

MCQ · Single Correct 1 mark

A Binary Semaphore can take integer values restricted exclusively to:

Answers for question 31

Question 32

MCQ · Single Correct 1 mark

In standard Dijkstra Semaphore notation, what happens when a process executes the wait() (or P() / down()) operation on a semaphore S with value $S = 1$?

Answers for question 32

Question 33

MCQ · Single Correct 1 mark

What operation does signal(S) (or V() / up()) perform on a semaphore S?

Answers for question 33

Question 34

MCQ · Single Correct 1 mark

A semaphore implementation that wastes CPU cycles while repeatedly looping in a while-check loop to acquire a lock is called a:

Answers for question 34

Question 35

MCQ · Single Correct 1 mark

In the Bounded-Buffer (Producer-Consumer) problem using semaphores, what semaphore initialized to N represents the number of empty slots?

Answers for question 35
Scroll to Top