Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The HAL computer has 4 frames. The time of loading, time of last access, and R a

ID: 3554796 • Letter: T

Question

The HAL computer has 4 frames. The time of loading, time of last access, and R and M bits are shown below(time in clock ticks):

Show all compution!.

Page Loaded            Last Ref.               R            M

0          280                   390                     1           1

1          115                   375                     1           1

2         190                    290                       0        0

3          150                  350                     0         0

A) which page will NRU replace?

B) which page wil FIFI replace?

C) which page will LRU replace?

D) which page will second chance replace?

Explanation / Answer

A) which page will NRU replace?

answer : page 2 because R and M = 0

B) B) which page wil FIFO replace?

answer : page 1 because it loaded at 115 (first in )

C) which page will LRU replace?

answer : page 2 because it refrenced at 290 (least recent )

D) which page will second chance replace?

answer : page 3 because it loaded ar 150 and refrence bit is 0

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote