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
What is the recursive formula of the arithmetic sequence 4,22,40,58
TiliK225 [7]

Hello from MrBillDoesMath!

Answer:

T(1) = 4

T(n) = T(n-1) + 18          , n > 1


Discussion:

Consecutive terms appear to increase by 18. This suggests the formula

T(1) = 4

T(n) = T(n-1) + 18          , n > 1


Thank you,

MrB

8 0
3 years ago
Read 2 more answers
David made a class banner out of a large rectangular piece of paper. He cut a triangular piece out of one side, as pictured belo
qwelly [4]
Multiply all sides and you should get your answer!
7 0
3 years ago
6x +16 >=51 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
algol13

Answer:

5.83333333

Step-by-step explanation:

6x + 16 = 51 (If that is what you actually intended to put)

6x + 16 - 16 = 51 -16

6x/6 = 35/6

x=5.83333333

4 0
2 years ago
Find the exact value of the trigonometric function of theta from the given information. cosine thetaequalsnegative StartFraction
Iteru [2.4K]

Is it a multiple choise?

7 0
4 years ago
What is the answer using either the substitution method or elimination method
Sophie [7]

To solve this problem, I am going to use the substitution method.  To do this, we use our first equation given (s=4r-1) and substitute this given value for s (4r-1) and substitute it into the second equation so that we have an equation with only one variable.  This is modeled below:

s = 4r - 1

6r - 5s = -23

6r - 5(4r-1) = -23

Now, we can solve this equation as we would any other equation, using the order of operations outlined by PEMDAS.  To begin, we will distribute the factor of -5 through the parentheses on the left side of the equation.

6r - 20r + 5 = -23

Next, we should combine like terms on the left side of the equation:

-14r + 5 = -23

Next, we should subtract 5 from both sides of the equation to get the variable term alone on the the left side of the equation.  We get:

-14r = -28

Finally, we should divide both sides by -14 to get the variable r alone on the left side of the equation.

r = 2

Now that we know that value for the variable r, we can substitute this value into one of our original equations (either one will work, but I am choosing to use the first one):

s = 4r - 1

s = 4(2) - 1

Now, we can find the value for s by using multiplication and then subtraction to simplify the right side of the equation.

s = 8-1

s = 7

Therefore, your answer is s = 7 and r = 2.

Hope this helps!

8 0
3 years ago
Other questions:
  • Which number is irrational?
    12·2 answers
  • 1. If you deposit $9200 into an account paying 7% annual interest
    9·1 answer
  • Help me please!
    9·1 answer
  • F(a)=-2a +5<br> s(a)= a- 2 - 2a<br> Find f(a) +gla)
    5·1 answer
  • Marc left his house to drive to work. As he heads down his street, his speed increases steadily until he sees the stop sign at t
    11·2 answers
  • Which expression is equivalent to 2.8k - 8.4
    9·1 answer
  • Use the figure to find the measure of &lt;6. Explain your reasoning.
    11·1 answer
  • Nvmnjnjknkjnknjobkjbkbkbkbkjbkjb
    7·1 answer
  • Jenny’s family is traveling on a long road trip. The first day they traveled 11,405.59 yards. On the second day they traveled 12
    15·1 answer
  • The function y=f(x is graphed below. What is the average rate of change of the function f(x)on the interval 0≤x≤5?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!