Introduction to Operating Systems Homework Assignment #3
This assignment is somewhat open-ended—start working on it as soon as you can!
As a minimum, a program must be written and a report prepared with the specific questions answered, but there is much room for using your creativity—please use it! The most important thing that you will have learned from this assignment is the discreet simulation technique, which you will apply (by re-using most of the code you develop to deal with this particular problem) later.
Write the bus simulation, as explained in the class and described in the notes. Feel free to look on the web for and then re-use any suitable code for the random number generator or for linked list algorithms. With that, 1) don’t forget to include a reference to the source of any code you re-use and 3) remember to test all re-used code as you are the only one responsible for its performance..
The purpose of the simulation is to observe the behavior of the system, and answer the following questions:
Plot the positions of buses as a function of time (you will need to generate periodic snapshots of the system for that). Feel free to change parameters; then observe and document the results.
What you hand in must include
Feel free to change the simulation parameters. My initial suggestion is that there are
Make sure you start this project as early as possible, and then… experiment,
experiment, experiment! (100 points)
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
23 | 24 | 25 | 26 | 27 | 28 | 1 |
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 | 1 | 2 | 3 | 4 | 5 |