@www.csse.monash.edu.au |
| Assessment | Contacts | Laboratories | Lectures | Resources | Timetables | Tutorials | Unit Outline |
| Last modified: 20080731:164951/first version for 2008 | FIT2022 AJH-2008-22 |
Objectives and Outcomes | The Exam Questions Basics | Lab 3: Disk Simulation | Lab 3: File System Simulation | Any Other Issues

Warning:You do not need to understand the
following section: it is included for information and interest only.
The literate program source code of lab 3 is available on-line. See Lab 2 for details of how this is constructed.
Now read on:
In groups of two, discuss what features you think should be represented in a disk simulator for operating system modelling. Bear in mind the range of potential models and purposes for disk simulators, such as
The last one is of course, this laboratory exercise.
When you have completed your list of features to be modelled, share them with your tutorial classmates, and compile a list on the whiteboard. Get someone to write them all down, and give the list to your tutor.
As you saw in the last tutorial, Python uses reference semantics in assigning structured values. Discuss how this might affect your design. For example, if you were to model transferring a disk block from disk to memory, should it be a reference copy or a value copy?
As for the disk design, discuss in groups, then in plenary, what sort of file system you would model. Pay attention to issues like whether to store a file as contiguous or indexed, how you would manage free blocks, how you would handle directory information. Again, get someone to write down all these suggestions and give the list to your tutor.
Are there any other issues you would like to discuss?
| 20080731:164951 | 2.0.0 | ajh | first version for 2008 |
| This page maintained by John Hurst. Copyright Monash University Copyright Policy |
|
|
|
Generated at
20090716:1819
from an XML file modified on
20080811:1742 | |||