NAME: AWODIJI OLUWATOFUNMICOURSE: CSC2251. Differentiate between polling and vectorinput.2. In the storage devices hierarchy, why are thetop devices faster than the lower devices? Why is a register faster thanmagnetic tape? ANSWERS1.
An interrupt is a signal from a device linked or attached to a computeror from a program within the computer that requires the operating system to stop and figure out what action or event to carryout next. The types are:Polling interrupt: It is a clearly defined type of input/outputinterrupt that informs or reports the part of the computer containing theinput/output interface that a device is fully prepared or in a suitable stateto be read or handled but does not point out or suggest which device. Pollingmeans to give a signal out to every deviceto ascertain or establish which one made the request.
Vector interrupt: This is a substitute or suitable replacement forpolling interrupt. It is an interrupt signal that includes the identity (nameand location) of the device sending the interrupt signal unlike the pollinginterrupt. Vector interrupts have specific locations inside the memory addressspace which directs to a routine able to efficiently handle the dealing withinterrupts from that device. 2.
The top part of the storage device hierarchy are faster than thedevices even though the lower ones are even larger, this is because for examplethe register is an extremely importantinternal CPU memory. So accessesto registers are easier and faster than other kindof memory access.Smaller memories are always faster than larger ones, in addition also requirefewer bits to address.
That is the closer the device is to the computer (if itis an internal part of or if it is an external part of the computer) the fasterit is to memory access. Hence smaller memories equal faster accesswhile larger memories equal slower access.