Nt1330 Unit 1 Summary

779 Words4 Pages

1. What is the purpose of an interrupt?
Answer:
Interrupts are signals sent to the CPU by external devices, normally I/O devices. They tell the CPU to stop its current activities and execute the appropriate part of the operating system.
There are three types of interrupts:
Hardware Interrupts are generated by hardware devices to signal that they need some attention from the OS. They may have just received some data (e.g., keystrokes on the keyboard or an data on the Ethernet card); or they have just completed a task which the operating system has requested, such as transferring data between the hard drive and memory.
Software Interrupts are generated by programs when they want to request a system call to be done by the operating system.
Traps are generated by the …show more content…

The process is done by swapping in and out to run by means of virtual memory. 4.Why do there need to be at least two modes of execution in modern computer systems?
Answer: The two modes of executions are user mode and kernel mode.
Each computer system needs two performer because if a user want to perform a task then the request must be taken and certain actions are needed to perform the task.like if a task is given it cannot perform the compiling and executing so the tasks are given to user mode and the request is sent to kernel mode when the action to be operated. 5. Name four common data structures that are used in operating system kernels Answer: The four common data structures that are used in operating system kernels are: 1. Bit vector 2.

More about Nt1330 Unit 1 Summary

Open Document