KINGDOM OF SAUDI ARABIA | JAZAN UNIVERSITY
COLLEGE OF COMPUTER SCIENCE & INFORMATION SYSTEMS
ASSIGNMENT III - 2021-2022
Academic Year 1443-1444 Semester SECOND
Course with code OPERATING SYSYTEM-COMP231 Section
Type of
Assignment-III Marks 10
Assignment
Date of
06/04/2022 Deadline 14/04/2022
Announcement
ASSIGNMENT-III
Q1. Perform the Banker Algorithm for below problem
Q2. Consider the following page reference string: 7,0,1,2,0,3,0,4,2,3,0,3,1,2,0
How many page faults would occur for the First in First out (FIFO), assuming three frames?
Q3. Consider the following page reference string: 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2
How many page faults would occur for the least recently used (LRU/LFU),
assuming three frames?
Q4. Consider the following page reference string: 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 3, 1, 4, 6, 3, 2, 1, 2, 3, 1
How many page faults would occur for the optimal replacement algorithm (ORA),
assuming three frames?
Name of the Course teacher Ashfaq Hussain Signature