Homework 2, Chapters 2 and 3.

Short Description:

Answer questions and solve problems related to chapters 2 and 3.

Goals

When you finish this homework, you should have:

Formal Description

  1. [9 points] Select three services provided by an operating system and describe these services from the following points of view.
  2. [3 points] Select any one service you discussed above and describe why the kernel needs to provide this service.
  3. [12 points] Ventory is a open source tool that allows you to boot multiple operating system images from a single USB drive. Focusing only on ISO images, discuss how this software might work.

    This is an open ended question, you should spend an hour or so working on it. This topic could turn into a Masters project at least if perused. Make sure you cite your sources.

  4. [2 points] How many processes are created by the following code? Justify your answer.
    #include <iostream>
    #include <unistd.h>
    using namespace std;
    
    int main() {
        fork();
        fork();
        fork();
        return 0
    } 
  5. [4 points] List and discuss different ways a kernel may be implemented. What is are the advantages of each?
  6. [4 points] What are the advantages/disadvantages of having fork perform copy on write?
  7. [6 points] Compare and contrast shared memory and message passing as forms of IPC.

Required Files

A single word document. I will deduct points for anything but a word document.

Submission

Submit the assignment to the D2L folder Homework 2 by the due date.