0
I need someone to guide me through for Scan scheduling implementation on c and c++ programming language
4 Respuestas
+ 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.
+ 1
If you mean SCAN disk scheduling, you can get information from here.
https://www.geeksforgeeks.org/disk-scheduling-algorithms/
0
yes still the same thing John
I'm seriously in need of it
0
Hope you gonna put me through?