Answer to Question #306096 in Computer Networks for Ella baby

Question #306096

 Discuss how an operating system protects computer

hardware, processor, main memory, and input-output

devices of a computer system; and provide

appropriate practical examples to illustrate your

answer.


1
Expert's answer
2022-03-05T04:11:25-0500

Operating System (OS) is system software, which acts as an interface between a user of the computer and the computer hardware.

When a computer runs out of RAM, the operating system (OS) will move idle or unwanted pages of memory to secondary memory to free up RAM for other processes and brings them back when needed by the program.

Input/output is protected by making all input/output instructions privileged. While running in user mode, the CPU cannot execute them; thus, user code, which runs in user mode, cannot execute them. User code requests I/O by making appropriate system calls.

In multiprogramming environment, the OS decides which process gets the processor when and for how much time. This function is called process scheduling.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS