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

There are 9 workers for ASH Development Sdn. Bhd.

There are 9 workers for ASH Development Sdn. Bhd.

There are 9 workers for ASH Development Sdn. Bhd.

There are 9 workers for ASH Development Sdn. Bhd. as shown in Table 04. 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 04, worker's ID number 0 (Umar) is randomly selected for the first week, and the 4 boxes represent 4 rooms for workers. Table Q4 Worker's ID Worker's Name 0 Umar 1 Lukman 2 Arif 3 Yusuf 4 Anas 5 Muadz 6 Aleef 7 Hafiz 8 Amir 9 Taufik WI D 0 2 4 6 2. 2 0 9 U1 5 3 00 1 7 1 7 4 3 8 7 R1 R2 R3 R4 W W W 3 W NE W 2 W 3 BN W 8 W1 2 W1 3 W1 4 W W1 w1 1 Figure Q4 W1 5 W1 6 w1 7 W1 8 W1 9 5 6 7 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 (5 marks) (b) Least Recently Used (LRU) replacement algorithm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 General Management Questions!