Homework

Homeworks are not mandatory; rather, they are things you can do in your own time to see if you have really understood something. The basic idea is simple: each of the programs below let you both generate and get solutions for an infinite number of problems. They are meant to firm up your understanding of some of the basic concepts we discussed in class. In some cases, a few suggested problems are given.

Note: All of these scripts and README files are now available online here .

Homework 1: Scheduling Basics

Read the guide to using the simple scheduling simulator called scheduler.py at the end of the chapter called Scheduling Introduction. Run scheduler.py to test your knowledge of different scheduling policies and the metrics we use to evaluate them, and answer the questions at the end of the chapter.

Homework 2: MLFQ Scheduling

Read the guide to using the MLFQ scheduling simulator called scheduler-mlfq.py at the end of the chapter Scheduling: The Multi-Level Feedback Queue. Run scheduler-mlfq.py to test your knowledge of MLFQ, and answer the questions at the end of the chapter.