Question: 1 . Consider the following page reference string: 1 , 2 , 3 , 4 , 1 , 5 , 2 , 3 , 1
Consider the following page reference string:
Assuming demand paging with THREE and FOUR frames, how many page faults would occur
and what is the page fault ratio of each for the following replacement algorithms?
a First In First Out FIFO replacement
b Optimal replacement
c Least Recently Used LRU replacement
d LRU replacement Stack implementation
e LRU replacement Counter implementation
Suppose a disk drive has cylinders, numbered through Suppose that the drive is
currently servicing a request at cylinder and moving in the direction of increasing cylinder
numbers. The order of request in the request queue is as follows:
and
Starting from the current head position, identify the total distance, in cylinders, that the arm
moves to satisfy all pending requests for the following disk scheduling algorithms. Show all
workings.
a First Come First Serve FCFS
b Shortest Seek Time First SSTF
c SCAN
d CSCAN
Assume a computer with a memory size of initially empty. Requests are received for
blocks of memory of and Show how the buddy system would deal with
each request, showing the memory layout at each stage and the status of the lists at the end.
After allocating all the processes, what would be the effect of the process terminating and
returning its memory?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
