MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER ARCHITECTURE

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Signal from hardware or software indicating that an event has occurred or that a process needs attention
A
polling
B
interrupt
C
buffer
D
CIR
Explanation: 

Detailed explanation-1: -A hardware interrupt is an electronic signal from an external hardware device that indicates it needs attention from the OS. One example of this is moving a mouse or pressing a keyboard key. In these examples of interrupts, the processor must stop to read the mouse position or keystroke at that instant.

Detailed explanation-2: -An interrupt is a signal emitted by hardware or software when a process or an event needs immediate attention. It alerts the processor to a high priority process requiring interruption of the current working process.

Detailed explanation-3: -A hardware interrupt is an interrupt generated from an external device while the software interrupt is a type of interrupt caused by an instruction in the program. Thus, this is the main difference between hardware and software interrupt.

Detailed explanation-4: -The controller takes multiple interrupt sources and generates an IRQ and/or FIQ signal depending upon whether a particular interrupt source is enabled or disabled.

Detailed explanation-5: -In a computer, an interrupt request (or IRQ) is a hardware signal sent to the processor that temporarily stops a running program and allows a special program, an interrupt handler, to run instead.

There is 1 question to complete.