Homework #1

CMSC 421, Section 0101 (Spring 1999)

Assigned: 15 February 1999
Due: Monday, 22 February 1999 at 3 PM

Late homeworks will not be accepted.

  1. Why do computers need operating systems? Why not simply allow programs to use the hardware directly as they see fit?
  2. Why are system calls necessary?
  3. The project assignments in this class will use a simulator of the DLX architecture rather than running directly on the underlying hardware. Give two different reasons for using such a virtual machine instead of running your experimental operating system code directly on the system CPU.
  4. Problem 4.4 in the course text.
  5. Problem 4.6 in the course text.
  6. Problem 4.8 in the course text.