1.Caching access speed is faster than the Random Access Memory.Cache capacity is small but the speed is higher than the main memory, the speed is close to the CPU.
Cache solve the transfer problems by providing a buffer of speed.
Cache capacity is small so you need to be update cache or remove the date from cache.
Because caches have limited size,cache the price is more expensive and small size cache would be more useful.
2.Interrupt purpose is handler is summoned to deal with the cause of the interrupt.
Interrupt is a hardware-generated change-of-flow within the system and trap is a software-generated interrupt.
User programs can generate traps.
They may want to interact with some I/O which requires a system call.
3.CPU is the electronic circuitry within a computer that carries out the instructions of a computer program by performing the basic arithmetic, logical, control and input/output operations specified by the instructions.Device controller is a part of a computer system that makes sense of the signals going to, and coming from the CPU. Any device connected to the computer is connected by a plug and socket, and the socket is connected to a device controller. It functions as a bridge between the device and the operating system.
They also is bridge between the device and the operating system.
4.In general, interrupts and their handlers are used to handle high-priority conditions that require the interruption of the current code the processor is executing.