1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
devlian [24]
3 years ago
8

Suppose that a disk drive has 5,000 cylinders, numbered 0 to 4,999. the drive is currently serving a request at cylinder 2,150,

and the previous request was at cylinder 1,805. the queue of pending requests, in fifo order, is: 2069, 1212, 2296, 2800, 544, 1618, 356, 1523, 4965, 3681
Mathematics
1 answer:
Anni [7]3 years ago
4 0

Answer:

13011, 7586, 7492 , 7424, 9917, and 9137.

Step-by-step explanation:

(1). FCFS is generally based on what is refer to as first come, first serve. That is to say the first one to come will be treated first so, we have that;

FCFS = 81 + 857 + 1084 + 504 + 2256 + 1074 + 1262 + 1167 + 3442 + 1284 = 13011.

(2). (SSTF) Is all about the shortest distance, for example in this question the shortest distance is =

Thus;

Total distance = (2150 - 2069) + (2296 - 2069) + ( 2296 - 2800) +( 3681 - 2800) + (4965 - 3681) + ( 4965 - 1618) + ( 1618-1523) + ( 1523-1212) + ( 1212-544) + ( 544 - 356).

=81 + 227 + 504 + 881 + 1284 + 3347 + 95 + 311 + 668 + 188 = 7586.

(3).SCAN deals with the processing of the nearest request

The distance =146 + 504 +881 + 1284 + 34(4999-4965) + 2930(4999-2069) + 451 + 95 + 311 + 668 +188 = 7492.

(4). LOOK is just like scan.

The distance = 146 + 504 + 881 + 1284 + 2896 + 451 + 95 + 311 + 668 + 188 = 7424.

(5). C-SCAN: this is the kind of scan from one end to the other.

The distance = 146 + 504 +881 +1284 + 34 (4999 - 4965) + 4999 (4999 -0 )+ 356 (356 -0 )+ 188 + 668 + 311 + 95 + 451 = 9917.

(6). C-LOOK : moves in the following order: 2150, 2296, 2800, 3681, 4965, here head moves back 356, 544, 1212, 1523, 1618, 2069.

Thus;

The distance = 146 + 504 + 881+ 1284 + 4609 (4965 - 356) + 188 + 668 + 311+ 95 + 451 = 9137.

You might be interested in
Y=x-3 somebody?? pls help i cant solve it
son4ous [18]

Answer:

x=3

Step-by-step explanation:

0=x-3

-x=-3

x=3

7 0
2 years ago
Read 2 more answers
Which is better: Car A that travels 308 miles on 11 gallons of gasoline OR Car B that travels 406 miles on 14 gallons of gasolin
Jet001 [13]
\begin{gathered} \text{Car A travels 308 miles on 11 gallons, so, the ratio of miles per galon is} \\ \frac{308}{11}=28\text{ miles per gallon} \\  \\ \text{for the car B, the ratio is} \\ \frac{406}{14}=29\text{ miles per gallon} \end{gathered}

thus, the best car is car B,because it can tavel 29 miles with only one gallon,andcar A can only travel 28 miles with one gallon.

5 0
1 year ago
Can you please help me I’m very confused
kow [346]

Answer:

im sorry idontknow

Step-by-step explanation:

8 0
3 years ago
I NEED HELP PLZ!!!!!! 20 POINTS
Amanda [17]

Answer:

1 is c

2 is d

3 is a

Step-by-step explanation:

Sorry it took a bit not pretty good at these but i used an app called desmos and it basically gives the answer

5 0
3 years ago
Answer 3(x-4)=2(-2x+1). Explain
Lelu [443]

Answer:

65

Step-by-step explanation:

6 0
3 years ago
Other questions:
  • To explore the bottom of a 25-m-deep lake, your friend tom proposes to get a long garden hose, put one end on land and the other
    9·1 answer
  • Need help please this is due by tonight
    13·2 answers
  • 4y = 3x - 2. Find the x and y intercepts of the line
    9·1 answer
  • Explain how to solve -2(x+3)=10
    7·2 answers
  • How do you subtract mixed numbers
    15·1 answer
  • If the cost for manufacturing x units of a certain product is given c=x^2 +25x +30 find the number of units manufactured at a co
    12·1 answer
  • Heres some points and person who answers first gets brainliest
    13·2 answers
  • Pls I have been stuck for the LONGEST TIME I WILL GIVE BRAINLIEST​
    10·2 answers
  • Show more than one way you could use the structure of the table to find the unknown value. Fill in the unknown values.
    7·2 answers
  • A computer store decides to increase the prices of all the items it sells by 15%. the store manager uses matrices to prepare the
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!