Homework 1

Due Tuesday, Sep. 2, 11:59pm

20 points

1. (5 points) What is the main advantage of multiprogramming?

2. (10 points) (textbook exercise 1.10) What is the purpose of interrupts? What are the differences between a trap and an interrupt? Can traps be generated intentionally by a user program? If so, for what purpose?

Use man or info to answer the remaining questions.

3. (5 points) What does the command 'yes no' do?

4. (5 points) How does the output of ls -F differ from ls?

Please name your file hw1.txt and use

  turnin352 hw1