Simulator
This lesson explains how to interact with the simulator for the exercise presented in the next lesson.
This exercise uses disk.py
to familiarize you with how a modern hard
drive works. It has a lot of different options, and unlike most of the other
simulations, it has a graphical animator to show you exactly what happens when
the disk is in action.
NOTE
There is also an experimental program,
disk-precise.py
along with thedisk.py
. This version of the simulator uses the python Decimal package for precise floating-point computation, thus giving slightly better answers in some corner cases thandisk.py
. However, it has not been very carefully tested, so use at your own caution.
Get hands-on with 1400+ tech skills courses.