Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed image text in transcribed image text in transcribed

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

Step: 1

1In operating system whenever a new page is referred and not p... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Biostatistics

Authors: Bernard Rosner

8th Edition

130526892X, 978-1305465510, 1305465512, 978-1305268920

More Books

Students also viewed these Mathematics questions

Question

1. Watch what students do with their free time.

Answered: 1 week ago