Time Left - 15:00 mins

GATE 2023 Operating System Rank Booster Quiz 45

Attempt now to get your rank among 71 students!

Question 1

The following figure depicts a general structure of a process. What does A denote and the solution to that A section problem must satisfy which requirements?

do
{
 ENTRY SECTION
 
           A

EXIT SECTION
remainder section
}
while(1)

Question 2

In Peterson’s solution for the critical section problem which of the following is true?

Question 3

A counting semaphore S is initialized to 10. Then, 6 P operations and 4 V operations are performed on S. What is the final value of S?

Question 4

Consider two process ‘P0’ and ‘P1’ need to access a critical section. Consider following synchronization construct used by both the process:

Here turn is a shared variable, which is initialized to '0'. Which of the following is true?

Question 5

A classic ______solution to the critical-section problem known as Peterson’s solution

Question 6

A critical region

Question 7

Let r1, r2, r3 be reader processes and let w1, w2, w3 be writer processes requesting shared data. How many of the statement is/are correct?

1) Mutual exclusion is necessary for r1 and r2

2) Mutual exclusion is necessary for w1 and w2

3) Mutual exclusion is necessary for r1 and w3

4) Mutual exclusion is not necessary for w1 and r3

  • 71 attempts
  • 0 upvotes
  • 0 comments
Jan 27GATE & PSU CS