0% found this document useful (0 votes)
5 views1 page

Virtual Memory Techniques and Page Replacement

The document is a tutorial for CSC520 on the principles of operating systems, focusing on virtual memory and page replacement algorithms. It includes questions about techniques for dividing address space and exercises related to page replacement using FIFO and LFU algorithms. Additionally, it asks for the number of page faults for each algorithm based on a given page reference stream.

Uploaded by

2024692568
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Virtual Memory Techniques and Page Replacement

The document is a tutorial for CSC520 on the principles of operating systems, focusing on virtual memory and page replacement algorithms. It includes questions about techniques for dividing address space and exercises related to page replacement using FIFO and LFU algorithms. Additionally, it asks for the number of page faults for each algorithm based on a given page reference stream.

Uploaded by

2024692568
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CSC520

PRINCIPLES OF OPERATING SYSTEMS

TUTORIAL #9

1. Virtual memory allows computer to execute processes by only load portion of their
address space into memory. It is implemented by dividing the address space into
several parts. List TWO (2) techniques of how the address space can be divided.

2. Given the page reference stream below and the frame size of 2:

2, 3, 4, 4, 5, 6, 4, 2

i) Show the replacement page using First In First Out (FIFO) algorithm.

ii) Show the page replacement using Least Frequently Used (LFU)
algorithm.

iii) State the number of page fault for both algorithm in (i) and (ii).

You might also like