FUNDAMENTALS OF COMPUTER

APPLICATION SYSTEM SOFTWARE

SYSTEMS SOFTWARE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
To allocate CPU time to different devices the OS could perform which of these routines?
A
Polling
B
Rationing
C
Interrupt handling
D
Remote handling
Explanation: 

Detailed explanation-1: -An interrupt is handled by one of the important routines of the operating system i.e. Interrupt Service Routine. Whenever any interrupt occurs then the processor will execute the interrupt service routine. CPU periodically checks for interrupts after each instruction.

Detailed explanation-2: -Non-maskable interrupts are typically used to respond to high-priority requests such as watchdog timer timeouts, power-down signals and traps. Hardware timers are often used to generate periodic interrupts.

Detailed explanation-3: -After the CPU acks the interrupt, an interrupt controller (PIC) will send the interrupt number back to the CPU. CPU then uses that interrupt number as an index into the interrupt vector table to find the appropriate handler and then continues from there.

There is 1 question to complete.