Computers for Business

0 comments

Answer the Following Questions– whole assignment should be equal to two pages in length.

4.
Assume that your system has one queue for jobs waiting for printing,
and another queue for those waiting for access to a disk. Which queue
would you expect to have the faster response? Explain your reasoning?

13.
Some guidelines for selecting the right time quantum were given in this
chapter. As a system designer, which guidelines do you prefer? Which
would the aver- age user prefer? How would you know when you have chosen
the best time quantum? What factors would make this time quantum best
from the system’s point of view?

15. When using a personal
computer, it can be easy to determine when a job is caught in an
infinite loop or system-wide freeze. The typical solution to this
problem is for the user to manually intervene and terminate the
offending job or, in the worst case, all jobs. What mechanism would you
implement in the Process Scheduler to automate the termination of a job
that’s in an infinite loop? Take into account jobs that legitimately use
large amounts of CPU time.

3. Regarding the role played by the
victim in deadlock resolution, give an example of such a deadlock in
real life and explain your answers to these questions. a. Describe how
you might choose the victim to be removed, and the consequences, both
positive and negative, of that removal. b. Describe the fate of the
victim and the chances of eventually completing its processing. c.
Describe the actions required, if any, to complete the victim’s tasks.

14.
For each of these conditions—deadlock, livelock, race, and
starvation—give at least one real-life example, which is not related to a
computer system environment and not already suggested in this chapter,
of each of these concepts. Then give your own opinion on how each of the
four examples can be resolved.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}