Option 1. P(S) at W, V(S) at X, P(T) at Y, V(T) at Z, S and T initially 1
By using this both process can run at same time since both semaphore value is 1 and resulted 01110 type string.
Option 2. P(S) at W, V(T) at X, P(T) at Y, V(S) at Z, S and T initially 1
By using this both process can run at same time since both semaphore value is 1 and resulted 01110 type string.
Option 3. P(S) at W, V(S) at X, P(S) at Y, V(S) at Z, S initially 1
here only one semaphore is used so only one process enter and run b/c both process start wth P(s).
Option 4. V(S) at W, V(T) at X, P(S) at Y, P(T) at Z, S and T initially 1
Both process can run at same time when first p2 run then p1 run .
So c is answer