Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a . Disk I / O has been bought and read / write requests have been queued up . Requests for I / O arrived

a. Disk I/O has been bought and read/write requests have been queued up. Requests for I/O arrived for the following cylinders in this order. (6 points) Range of cylinder 0-199. Show the work to get full points.
10,93,110,34,192,49,87,3,123,159,185
The read/write head just finished reading a sector on cylinder 50. If the disk scheduling algorithm is C-Scan, and assuming no new requests enter the queue, what would be the 3rd cylinder accessed after 50? What is the total no of cylinder visits? (Dont count 50 as the 1st access. The next access after 50 is the 1st.)Show the math to calculate the total cylinder visits.
b. Consider the following page reference string: (6 Points)
7,2,3,1,2,5,3,4,6,7,7,1,0,5,4,6,2,3,0,1
The demand paging size is 3. How many page faults will occur with the LRU replacement
algorithm? Show the full work

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Web Database Development Step By Step

Authors: Jim Buyens

1st Edition

0735609667, 978-0735609662

More Books

Students also viewed these Databases questions

Question

Does it have correct contact information?

Answered: 1 week ago