Question

I need a full solution to this question. ( Operating Systems )

First Image:

Suppose that a disk has 5000 cylinders, numbered 0 to 1999. The drive is currently serving a request at cylinder 143, and the

Second Image:

SSTF 0 86 125 130 143 913 948 1022 1470 1509 1750 1774 1999

Third Image:

LOOK 0 86 125 130 143 913 948 1022 1470 1509 1750 1774 1999

Fourth Image:

C-SCAN 0 86 125 130 143 913 948 1022 1470 1509 1750 1774 1999

thank you.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

FCFS 0 86 125 130 143_913 948 1022 1470 15091750 1774 1999 1620 728 487 561 820- 861 557 1384 total = 7037SSTF 0 130 913 948 1022 1470 15091750 1774 1999 86 | 125 44 143 13 left total = 143-86 = 57 Right total = 1774-86 =1688 totalLOOK 0 86 125 130 143 913 948 1022 1470 1509 1750 1774 1999 left total = 143-86 = 57 Right total = 1774-86 =1688 total = 1745C-SCAN 0 86 125 130 143 913 948 1022 1470 15091750 1774 1999 143 1999 1086 total = 143 + 1999 + 1086 = 3228

Add a comment
Know the answer?
Add Answer to:
I need a full solution to this question. ( Operating Systems ) First Image: Second Image:...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Suppose that a disk drive has 10,000 cylinders, numbered 0 to 10,000. The drive is currently...

    Suppose that a disk drive has 10,000 cylinders, numbered 0 to 10,000. The drive is currently serving a request at cylinder 7,423 and the previous request was at cylinder 8213. The queue of pending requests, in FIFO order, is: 9324, 6324, 7232, 1304, 5621, 105, 5382, 3241, 2425, 9891. 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 each of the following disk-scheduling algorithms?...

  • Suppose that a disk drive has 6,000 cylinders, numbered 0 to 5999. The drive is currently...

    Suppose that a disk drive has 6,000 cylinders, numbered 0 to 5999. The drive is currently serving a request at cylinder 3150, and the previous request was at cylinder 1805 (Hint: this indicates the reading head’s moving direction). The queue of pending requests, in FIFO order, is: 3511, 2332, 2800, 3192, 658, 1296, 1918, 1356, 5936, 2527 Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending...

  • 1. Suppose that a disk drive has 5,000 cylinders, numbered 0 to 4,999. The drive is...

    1. 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: 2,069 1,212 2,296 2,800 544 1,618 356 1,523 4,956 3,681 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 each of the following disk-scheduling...

  • Suppose that a disk drive has 1000 cylinders, numbered 0 to 999. The drive is currently...

    Suppose that a disk drive has 1000 cylinders, numbered 0 to 999. The drive is currently serving a request at cylinder 200, and the previous request was at cylinder 100. The queue of pending requests, in order, is 61, 270, 913, 774, 948, 422, 750, 509, 13 Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests using the SSTF disk-scheduling algorithm?

  • 8.) [12 pts.] Suppose that a disk drive is currently serving a request at cylinder 1010,...

    8.) [12 pts.] Suppose that a disk drive is currently serving a request at cylinder 1010, the previous red cylinder 1000. The queue of pending requests, in FIFO order, is: drive has 2,000 cylinders, numbered O to 1,999. The 1010, 1310, 1950, 800, 200, 750, 1000 Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisty all the pending requests for each of the following disk scheduling algorithms a.) FCFS...

  • *** SIMPLE C PROGRAM WILL RATE GOOD**** PLEASE LEAVE COMMENTS THROUGHOUT THE CODE SO I CAN...

    *** SIMPLE C PROGRAM WILL RATE GOOD**** PLEASE LEAVE COMMENTS THROUGHOUT THE CODE SO I CAN SEE WHAT IS HAPPENING AND LEARN, THANK YOU! Write a program that implements the following disk-scheduling algorithms: a. FCFS b. SSTF c. SCAN d. C-SCAN e. LOOK f. C-LOOK Your program will service a disk with 5,000 cylinders numbered 0 to 4,999. The program will generate a random series of 1,000 cylinder requests and service them according to each of the algorithms listed above....

  • Use any language Task two Write a program that implements the following disk-scheduling algorithms: a. FCFS...

    Use any language Task two Write a program that implements the following disk-scheduling algorithms: a. FCFS b. SSTF c. SCAN d. C-SCAN e.LOOK f. C-LOOK Your program will service a disk with 500 cylinders numbered 0 to 499. The program will generate a random series of 20 cylinder requests and service them according to each of the algorithms listed above. The proram will be passed the initial position of the disk head (as a parameter on the command line) and...

  • I/O Scheduling Algorithms a) For each of the following scheduling algorithms, give a 1-2 sentence description...

    I/O Scheduling Algorithms a) For each of the following scheduling algorithms, give a 1-2 sentence description of how it works. The description should be precise enough to distinguish each algorithm from the others. Algorithms: FCFS, SSTF, SCAN, C-SCAN, C-LOOK. (1 point) b) Given a hard disk with 200 cylinders and a queue with jobs having the following cylinder requests: 80, 190, 70, 130, 30, draw a diagram of the movements of the head for each of the algorithms listed in...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT