GATE CSE Process Management & Deadlocks – Operating Systems Practice Test | Set 1

Questions 36-40 of 100

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

Question 36

MCQ · Single Correct 1 mark

What is a Busy-Waiting Semaphore also known as?

Answers for question 36

Question 37

MCQ · Single Correct 1 mark

What are the two atomic operations associated with a Counting Semaphore S?

Answers for question 37

Question 38

MCQ · Single Correct 1 mark

A binary semaphore S is initialized to 1. A process executes wait(S) followed by signal(S). What is the value of S after these two operations?

Answers for question 38

Question 39

MCQ · Single Correct 2 mark

A counting semaphore S is initialized to 10. Then 6 wait(S) operations and 2 signal(S) operations are performed on S. What is the resulting value of S?

Answers for question 39

Question 40

MCQ · Single Correct 2 mark

A counting semaphore S is initialized to 7. A sequence of 12 wait(S) and 5 signal(S) operations are executed. What is the value of S?

Answers for question 40
Scroll to Top