Computer Science · Operating Systems
Arrange the following steps involved in executing the Safety Algorithm (part of the Banker's Algorithm) in the correct chronological order: A. Update Work vector: Work = Work + Allocation B. Initialize Work = Available, and Finish[i] = false for all processes C. Set Finish[i] = true for the executed process D. Find an index i such that Finish[i] == false and Need[i] ≤ Work E. Repeat process until all processes are finished or no safe state is found Choose the correct answer from the options given below:
- 1B, D, A, C, E✓
- 2D, B, A, C, E
- 3B, D, C, A, E
- 4D, A, B, E, C
Correct answer
B, D, A, C, E
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