Warning: Trying to access array offset on value of type null in /home/u935539699/domains/mcqbuddy.com/public_html/engineering/post.php on line 31

Warning: Trying to access array offset on value of type null in /home/u935539699/domains/mcqbuddy.com/public_html/engineering/post.php on line 32
Let S and Q be two semaphores initialized to 1, where P0 and P1 processes the following statements wait(S);wait(Q); ---; signal(S);signal(Q) and wait(Q); wait(S);---;signal(Q);signal(S); respectively. The above situation depicts a _________.
πŸ“Š
Q. Let S and Q be two semaphores initialized to 1, where P0 and P1 processes the following statements wait(S);wait(Q); ---; signal(S);signal(Q) and wait(Q); wait(S);---;signal(Q);signal(S); respectively. The above situation depicts a _________.
  • (A) Livelock
  • (B) Critical Section
  • (C) Deadlock
  • (D) Mutual Exclusion
πŸ’¬ Discuss
βœ… Correct Answer: (C) Deadlock

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
299
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate