Answered You can hire a professional tutor to get the answer.
Explain how an operating system can temporarily pass control of the CPU over to user code without risking an indefinite loss of control.
Explain how an operating system can temporarily pass control of the CPUover to user code without risking an indefinite loss of control. Discuss theroles of timer interrupts, privileged mode operation, and memory protectionand explain why all of these hardware mechanisms are essential in order toaccomplish this task. Summarize by outlining the sequence of operationsthat are performed by the operating system prior to handing over control ofthe CPU to user code and list several distinct ways in which control mightreturn to the operating system.