Question: There are 9 workers for ASH Development Sdn. Bhd. as shown in Table 24. Unfortunately, there are only 4 rooms available for these workers.

There are 9 workers for ASH Development Sdn. Bhd. as shown in

 Table 24. Unfortunately, there are only 4 rooms available for these workers. Every week, a worker name is randomly selected to do odd jobs

There are 9 workers for ASH Development Sdn. Bhd. as shown in Table 24. Unfortunately, there are only 4 rooms available for these workers. Every week, a worker name is randomly selected to do odd jobs for the company. When a worker has been selected randomly, a room needs to be vacated if these rooms are full. Based on Figure Q4, worker's ID number 0 (Umar) is randomly selected for the first week, and the 4 boxes represent 4 rooms for workers. WI D R1 R2 RRRR R3 R4 O 35 W W W W N 2 13 M 2 4 6 2 0 9 5 2 1 2 3 4 310 1360 W W Worker's ID 0 1 2 3 4 5 6 7 8 9 300 W 5 6 7 8 W 3 W 9 Table Q4 6 8 W1 0 Worker's Name 1 Umar Lukman Arif Yusuf Anas Muadz Aleef Hafiz Amir Taufik W1 1 Figure Q4 7 W1 2 1 W1 3 7 W1 4 4 W1 5 1 3 8 7 W1 W1 6 7 W1 W1 8 9 Investigate the number of page faults occur by illustrating the way how the room is managed using the list of weekly random selection of workers as shown in Figure Q4 using the following algorithms: (a) Optimal Page Replacement (OPR) replacement algorithm (b) Least Recently Used (LRU) replacement algorithm (5 marks) (5 marks)

Step by Step Solution

3.35 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1In operating system whenever a new page is referred and not p... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!