Question

In: Computer Science

With respect to a general multitasking system What mechanism allows operating system routines to get more...

With respect to a general multitasking system

What mechanism allows operating system routines to get more control of the CPU than user tasks?

What are the two states a task can be in while waiting for control of the CPU?

Solutions

Expert Solution

With respect to general multitasking system

What mechanism allows operating system routine to get more control of the CPU than user tasks --

  • The protection - mechanism allows operating system routine to get more control of the SPU than user tasks, it represent the mehanism to control the access of program, procesess to the resources which is defined by the computer system.
  • The major activities of operating system in protection include --
  • The operating system make sure that all access to system resources is controlled.
  • The operating system make sure all the external input and output divices are protected from invalid access attampts.
  • The operating system provide authentication features for user in password.
  • Operating system is interface in between computer hardware and computer user.
  • The operating system is software that perform all the basic task including -- process management, memory management, file management, handling input and output, and control the devices like printers and disk drivers.
  • The operating system include -- Windows operating system, Linux operating system, and VMS.
  • The operating system provide services which include -- program execution, file sytsem manipulation, input output operation, Communication, error detection, resource allocation and protection.
  • The computer system which have multiple user and concurrent execution of multiple process, these process should be protected from each other's activities.

What are the two states a task can be in while waiting for control of the CPU --

  • The two states a task can be in while waiting for control of the CPU is - Ready and waiting.
  • Ready -- In ready state, the process is waiting to be assigned to processor. The ready processes wait to the processor which is allocated to them by the operating system so that they can run.
  • The process come into this state after start state but interrupted by scheduler to assign CPU to other process.
  • Waiting -- The process move to waiting state if it needed to be wait for resource, like waiting for file to become available and to wait for user input.

Related Solutions

what is the mechanism that allows the HIV virus to remain in the cell, to get...
what is the mechanism that allows the HIV virus to remain in the cell, to get passed down to all descendants of that cells and to retain the ability to be reactivated for the lifetime of the patient?
What is an operating system? What are its functions? What are the types of operating system?
What is an operating system? What are its functions? What are the types of operating system?
what is the mechanism to get ornithine from glutamate-5-semialdehyde
what is the mechanism to get ornithine from glutamate-5-semialdehyde
82) What is the name of the genetic mechanism that allows B cells or T cells...
82) What is the name of the genetic mechanism that allows B cells or T cells to produce specific antibodies? Homeostasis Gene rearrangement Excretion Antigen presentation 83) Which below describes the Humoral Immune Response A) involves activation and clonal selection of Cytotoxic T cells B) involves activation and clonal selection of B cells, resulting in production of secreted antibodies C) Lymphocytes are screened for host reactivity in the Thymus gland 84) Which below describes the Cell Mediated Immune Response A)...
What transport mechanism allows water to cross the apical surface of an absorptive cell in the...
What transport mechanism allows water to cross the apical surface of an absorptive cell in the mucosa of the GI tract? Facilitated diffusion Osmosis Primary active transport Secondary active transport Simple diffusion
What are the synthesis methods for carbon nanotubes? What is the general growth mechanism for CNTs?
What are the synthesis methods for carbon nanotubes? What is the general growth mechanism for CNTs? List at least 2 potential applications for CNTs. What are the synthesis methods for silicon nanowires? List at least 2 potential applications for SiNWs.
what is the communication device/mechanism used by the endocrine system and how does the mechanism affect...
what is the communication device/mechanism used by the endocrine system and how does the mechanism affect the appropriate target organ or gland? What is the difference between homotherm and poikilotherm which muscle is not striated Describe the function of a countercurrent exchange
Discuss the benefits and risks of local and general anesthetics. What is the mechanism of action...
Discuss the benefits and risks of local and general anesthetics. What is the mechanism of action for propofol? What are the benefits of this drug? When is its use appropriate? What are the risks?
What are considered the benefits and the costs to society of operating an insurance mechanism? How...
What are considered the benefits and the costs to society of operating an insurance mechanism? How do a reciprocal exchange and a mutual insurance company differ? Describe the changes that were brought about by the Gramm-Leach-Bliley Act, and, its overall impact on financial services today.
A. Answer the following questions: Describe the two general roles of an operating system and elaborate...
A. Answer the following questions: Describe the two general roles of an operating system and elaborate why these roles are important. B. What is a process? What are attributes of a process? C. Describe the three state process model, describe what transitions are valid between the three states, and describe an event that might cause such a transition. D. What is the function of the ready queue? E.. What is the producer consumer problem? Give an example of its occurrence...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT