Computer Science · Operating Systems
Which of the following statements are correct regarding Peterson's Solution for the critical-section problem? I. It utilizes a shared boolean flag array to indicate a process's interest in entering the critical section. II. In the entry section, a process sets its own flag to true and assigns the turn variable to itself to ensure immediate entry. III. The algorithm satisfies the requirements of mutual exclusion, progress, and bounded waiting. IV. A significant limitation of this solution is that it involves busy waiting and is designed specifically for only two processes. Choose the most appropriate answer from the options given below:
- 1I, II and III Only
- 2II, III and IV Only
- 3I, II and IV Only
- 4I, III and IV Only✓
Correct answer
I, III and IV Only
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Operating Systems?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Operating Systems