Question

Show how many page faults are will occur if a process access the following page sequence (reference string). Assume OS is using a fixed number of 4 pages allocated for the process and is using First-In-First-Out (FIFO) algorithm.

Count the faults acquired in the page table initialization.

Show your work by completing the following table:

Show how many page faults are will occur if a process access the following page sequence (reference string). Assume OS is usi

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

FIFO uses the First In First Out procedure

that means firstly entered page will be replaced first if there is no space in the frames

we mark as page fault if the upcoming page does not exist in the frame we have to add it

we mark as page hit if the upcoming page exists in the frame we have to skip it

in this way the table is filled

Table:
3 LO 0 6 4 un 9 8 0 6 00 8 6 6 1 6 2. 0 1 3 3 3 3 2 3 6 4 4 O 0 0 0 0 0 0 0 6 6 6 Сл 0 5 9 6 6 6 6 6 6 6 6 0 6 0 0 0 0 9 6 9

Number of page faults occurred is 12

Any queries comment, please

if you like my work please upvote my answer

Thank you :)

Add a comment
Know the answer?
Add Answer to:
Show how many page faults are will occur if a process access the following page sequence...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT