Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

What are the three main purposes of an operating system? We have stressed the ne

ID: 2246297 • Letter: W

Question

What are the three main purposes of an operating system?

We have stressed the need for an operating system to make efficient use of the computing hardware. When is it appropriate for the operating system to forsake this principle and to “waste” resources? Why is such a system not really wasteful?

What is the main difficulty that a programmer must overcome in writing an operating system for a real-time environment?

Keeping in mind the various definitions of operating system considers whether the operating system should include applications such as Web browsers and mail programs. Argue both that it should and that it should not, and support your answers.

How does the distinction between kernel mode and user mode function as a rudimentary form of protection (security) system?

Which of the following instructions should be privileged? a. Set value of timer. b. Read the clock. c. Clear memory. d. Issue a trap instruction. e. Turn off interrupts. f. Modify entries in device-status table. g. Switch from user to kernel mode. h. Access I/O device.

Some early computers protected the operating system by placing it in a memory partition that could not be modified by either the user job or the operating system itself. Describe two difficulties that you think could arise with such a scheme.

Give two reasons why caches are useful. What problems do they solve? What problems do they cause? If a cache can be made as large as the device for which it is caching (for instance, a cache as large as a disk), why not make it that large and eliminate the device?

In a multiprogramming and time-sharing environment, several users share the system simultaneously. This situation can result in various security problems. a. What are two such problems? b. Can we ensure the same degree of security in a time-shared machine as in a dedicated machine? Explain your answer.

Under what circumstances would a user be better off using a timesharing system rather than a PC or a single-user workstation?

How do clustered systems differ from multiprocessor systems? What is required for two machines belonging to a cluster to cooperate to provide a highly available service?

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?

Which network configuration—LAN or WAN—would best suit the following environments? a. A campus student union b. Several campus locations across a statewide university system c. A neighborhood

Explain why an operating system can be viewed as a resource allocator.

Explain the purpose of an interrupt vector.

Explanation / Answer

The three main purpuses of an Operating System are:

Note: As, per the Chegg guidlines I am solving a sub-part of the question having many sub parts. I hope you got your respective answer.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote