Attachment 1
Attachment 1
Chapter 1:1,2,8,10,11,18,20,27*,34*
11)-What is the difference between kernel and user mode? Explain how two distinct modes aids
having in designing an operating system.
.
34)_ Virtual machines have become very popular for a variety of reasons. Nevertheless, they have some
downsides. Name one.
Do the following homework problems at the end of Chapter 2 (Processes and Threads) in the textbook.
Chapter 2: 1,5,9,15,17,27,28*
1)- In Fig. 2-2, three process states are shown. In theory, with three states, there could be six
transitions, two out of each state. However, only four transitions are shown. Are there any
circumstances in which either or both missing transitions might occur?
5)- A computer system has enough room to hold four programs in its main memory. These programs are idle
waiting for I/O half the time. What fraction of the CPU time is wasted?
9)- Explain how a Web browser can utilize the concept of threads to improve performance.
15)- Why would a thread ever voluntarily give up the CPU by calling thread yield? After all, since
there is no periodic clock interrupt, it may never get the CPU back.
17)- What is the biggest advantage of implementing threads in user space? What is the biggest
disadvantage?