Gate CS-2010 Question Paper With Solutions

Q. 39 Consider the methods used by processes P1 and P2 for accessing their critical
sections whenever needed, as given below. The initial values of shared boolean
variables S1 and S2 are randomly assigned.

Gate CS-2010 Question Paper With Solutions

While one of the following statements describes properties achieved ?

(A) Mutual exclusion nut nor progress

(B) Progress but not mutual exclusion

(C) Neither mutual exclusion nor progress

(D) Both mutual exclusion and progress

Answer: (A)

Explanation:

Gate CS-2010 Question Paper With Solutions

Learn More:   Gate ME 2015-2 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here