Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This question is from Operating System. Suppose that a disk drive has 6,000 cylinders, numbered 0 to 5999. The drive is currently serving a request

This question is from Operating System.

Suppose that a disk drive has 6,000 cylinders, numbered 0 to 5999. The drive is currently serving a request at cylinder 2350, and the previous request was at cylinder 1800. The queue of pending requests, in FIFO order, is: 2069, 1212, 3296, 2800, 244, 1618, 3856, 1523, 965, 3681 Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests for SCAN and C-SCAN disk- scheduling algorithms? Show all the intermediate steps. Consider a disk drive with 10,000 cylinders. Suppose that 50 percent of the disk access requests are for a small set of cylinders between 100 and 800. Which of the following algorithms will take greater advantage of the given situation? Justify your answer. a) Shortest Seek Time First (SSTF) b) First Come First Serve (FCFS) Which of the following instructions should be privileged? Give reasons. a) Modify entries in the open-file table. b) Read the clock. c) Access I/O device.

image text in transcribed

8 Suppose that a disk drive has 6,000 cylinders, numbered 0 to 5999. The drive is currently serving a request at cylinder 2350, and the previous request was at cylinder 1800. The queue of pending requests, in FIFO order, is: 2069, 1212, 3296, 2800, 244, 1618, 3856, 1523, 965, 3681 Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests for SCAN and C-SCAN disk- scheduling algorithms? Show all the intermediate steps. Consider a disk drive with 10,000 cylinders. Suppose that 50 percent of the disk access requests are for a small set of cylinders between 100 and 800. Which of the following algorithms will take greater advantage of the given situation? Justify your answer. 6 a) Shortest Seek Time First (SSTF) b) First Come First Serve (FCFS) Which of the following instructions should be privileged? Give reasons. 4. a) Modify entries in the open-file table. b) Read the clock. c) Access I/O device

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_2

Step: 3

blur-text-image_3

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

Genetic Databases

Authors: Martin J. Bishop

1st Edition

0121016250, 978-0121016258

More Books

Students also viewed these Databases questions

Question

Ive never had a project charter. Is it really necessary?

Answered: 1 week ago

Question

i need correct answrrs 6 3 2 .

Answered: 1 week ago

Question

What has been your desire for leadership in CVS Health?

Answered: 1 week ago

Question

Question 5) Let n = N and Y Answered: 1 week ago

Answered: 1 week ago

Question

Compare the different types of employee separation actions.

Answered: 1 week ago

Question

Assess alternative dispute resolution methods.

Answered: 1 week ago

Question

Distinguish between intrinsic and extrinsic rewards.

Answered: 1 week ago