0

I need someone to guide me through for Scan scheduling implementation on c and c++ programming language

13th Dec 2018, 5:24 AM
Adebowale Sunday A
Adebowale Sunday A - avatar
4 odpowiedzi
+ 2
This code sets up a queue and an initial location. It sorts the queue into order. Finds the first item to process and counts the cylinders travelled to process the queue. http://cpp-concepts.blogspot.com/2013/01/scan-algorithm-cpp.html I wasn't able to find a code that actually accesses the disk or modifies the queue as it gets processed. The following code finds the next item in the queue without sorting it. https://educativesite.com/scan-disk-scheduling-algorithm-program-in-c-language/ Personally, if I wrote the code, I'd add a more realistic scenario. Having the queue grow after starting and generating numbers for disk access time and response time. Counting cylinders travelled doesn't really show off the worst issues with SCAN where disk response time would.
15th Dec 2018, 12:37 PM
John Wells
John Wells - avatar
+ 1
If you mean SCAN disk scheduling, you can get information from here. https://www.geeksforgeeks.org/disk-scheduling-algorithms/
15th Dec 2018, 5:02 AM
John Wells
John Wells - avatar
0
yes still the same thing John I'm seriously in need of it
15th Dec 2018, 8:07 AM
Adebowale Sunday A
Adebowale Sunday A - avatar
0
Hope you gonna put me through?
15th Dec 2018, 8:07 AM
Adebowale Sunday A
Adebowale Sunday A - avatar