Consider the following sequence of virtual memory references (in decimal) generated by a single program in a pure paging system: 100, 110, 1400, 1700, 703, 3090, 1850, 2405, 2460, 4304, 4580, 3640 a. Derive the corresponding reference string of pages (i.e. the pages the virtual addresses are located on), assuming a page size of 1024 bytes. (Assume that page numbering starts at 0) b. For the page sequence derived above, determine the number of page faults for each of the following page replacement strategies, assuming that two (2) page frames are available to the program. i. LRU ii. FIFO iii. OPT (Optimal)

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter12: Points, Classes, Virtual Functions And Abstract Classes
Section: Chapter Questions
Problem 19SA
icon
Related questions
Topic Video
Question

) Consider the following sequence of virtual memory references (in decimal) generated
by a single program in a pure paging system:
100, 110, 1400, 1700, 703, 3090, 1850, 2405, 2460, 4304, 4580, 3640
a. Derive the corresponding reference string of pages (i.e. the pages the virtual addresses
are located on), assuming a page size of 1024 bytes. (Assume that page numbering
starts at 0)
b. For the page sequence derived above, determine the number of page faults for each of
the following page replacement strategies, assuming that two (2) page frames are
available to the program.
i. LRU
ii. FIFO
iii. OPT (Optimal)

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning