Question: Please answer these question correctly True or False and briefly explain if false a) Multiprogramming is responsible to allow CPU to switch jobs so frequently
Please answer these question correctly
True or False and briefly explain if false
a) Multiprogramming is responsible to allow CPU to switch jobs so frequently that users can interact with each job while it is running (thus interactive computing).
b) In the dual-mode operation of an OS, the mode bit can be set by software or user.
2. Please fill each of the following conditions (a-f) into its appropriate state transition. Note: some transitions may not happen at all.
a. admitted
b. exit
c. interrupt
d. I/O or event completion
e. I/O or event wait
f. scheduler dispatch
new -----------------> ready
ready -----------------> waiting
waiting -----------------> running
ready -----------------> running
running -----------------> waiting
running -----------------> ready
running -----------------> terminated
waiting -----------------> ready
3. Briefly answer the following questions
a) Explain the relation of bootstrap program (sometimes called firmware) and kernel.
b) Why do some I/O devices have local buffers? How is this buffer used in the interaction between the I/O device and the CPU?
c) What is the condition for a process to be moved from ready queue to I/O queue? What is the condition for a process to be moved from I/O queue to ready queue?
d) Explain the critical section problem.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
