• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

GATE | GATE CS 1997 | Question 48

Each Process Pi, i= 1.......9 is coded as follows
 repeat 
    P(mutex)
    {Critical section}
    V(mutex)
 forever
The code for P10 is identical except it uses V(mutex) in place of P(mutex). What is the largest number of processes that can be inside the critical section at any moment?

(A)

1

(B)

2

(C)

3

(D)

None of above

Answer

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments