Assigned: Feb 11, 2020
Due: Feb 25, 2020 midnight
Submit: Upload to Canvas as PDF
100 points total
[2points] Is the operating system hardware or software?
[5 points] Multiprogramming is key to a modern operating system’s operation. Explain why.
[2 points] What do multiprogramming and time-sharing have in common?
Scenario | Choose Multiprogramming or Time-Sharing | Justify |
---|---|---|
Multi-user system like the CSE server | ||
Batch Processing System (does not interface with users) |
[4 points] What are kernel and user mode?
[4 points] Explain the need of a process table in a timesharing system.
[5 points] What is a “process image”?
The following diagram shows three process states. In theory, we could have six transitions with three states (i.e., two transitions between each pair of states). The diagram, however, only includes four transitions. Could either or both of the missing transitions occur? HINT: think of the edge cases also, a possible optimization you can make to scheduler
[10 points] When running an OS routine to handle an interrupt, why does a computer system often adopt a kernel stack that is separate from the interrupted user process’s user stack? (provide at least two reasons)
[5 points] Including the initial parent process, how many processes are created by the following program?
[4 points] What are process (or context) switch and mode switch?
[6 points] What are short-term, medium-term, and long-term scheduling?