
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
Hard drive simulatorLearning Objective(s)
Overview of the ChallengeTo optimize the hard drive, the main concern in the movement of the read/write head from different tracks. The most optimized solution will get all possible request in a increasing manner. This is similar to how a good elevator will work. Your job is not to developed an optimized scheduling of track requests, but to see how it performs with three different data structures (stacks, queues, and priority queues) to see which might perform better. You need to track the number of times the read/write head changes direction.Example If the requests where handled in the following order: 2, 5, 8, 4, 3, 6. It would change directions two times (one from increasing to decreasing (8 to 4) and then one from decreasing to increasing (3 to 6). Specifics:
Design componentsRefer to the software design/development report for additional details. For the design component of this lab, pay special attention to:
Optional improvementsAny/all of these can be added to your program for extra credit. But do not attempt them until your program (including the write up) is complete and receiving at least a 90%. Extra credit will only be given to those programs that receive at least a 90% on all the required work. It is much more important to do the required work well than to do the extra credit. Typically, extra credit work is also done on your own with limited (typically no) help from the instructor. The options are listed in order of importance. While you may implement any/all in any order, the order listed will focus you on the more important items first
| |||||||