Recent questions tagged interrupts

3 3 votes
1 1 answer
184
184 views
Which of the following is/are true for interrupts?Interrupts temporarily suspend the currently running process to handle a specific event. When an interrupt occurs, the C...
0 0 votes
0 0 answers
65
65 views
Arrange the following events in correct order when an interrupt occurs during instruction execution.Save program counter (PC) and status register.Fetch interrupt vector f...
12 12 votes
3 3 answers
1.7k
1.7k views
Consider the following two statements about interrupt handling mechanisms in a CPU.$\text{S1}$: In non-vectored interrupt mechanism, it usually takes more time to start t...
1 1 vote
0 0 answers
19
19 views
Assume the number of clock cycles for a polling operation, including transferring to the polling routine, accessing the device, and restarting the user program, is 400 cy...
0 0 votes
1 1 answer
362
362 views
Consider the following interrupt protection levels in Linux, and arrange them in the increasing order of their priorities.User-Mode Programs (Preemptible)Bottom Half Inte...
2 2 votes
1 1 answer
306
306 views
Which of the following is the correct sequence with regard to service routine?Save contents of processor registersTurn the interrupt facility onService the device whose f...
0 0 votes
0 0 answers
176
176 views
Arrange the following levels of interrupt protection within the Linux Kernel, in the order of increasing priority.user mode programsbottom half interrupt handlerskernel s...
1 1 vote
1 1 answer
567
567 views
A device with data transfer rate 20 KB/sec is connected to a CPU. Data is transferred byte-wise. Let the interrupt overhead be 10 microseconds.What is the total time requ...
15 15 votes
4 4 answers
6.8k
6.8k views
Suppose a program is running on a non-pipelined single processor computer system. The computer is connected to an external device that can interrupt the processor asynchr...
1 1 vote
0 0 answers
289
289 views
The answer is B and C , can someone please explain why disk interrupt and timer interrupt here are not the right answer
3 3 votes
1 1 answer
1.0k
1.0k views
DMA
Consider 4 MBPS IO devices connected to 64 bit CPU using DMA interface. 64 words data is transfer from the IO to memory using DMA interface. Main memory machine cycle tim...
3 3 votes
1 1 answer
884
884 views
In a vectored interruptThe branch address is assigned to a fixed location in memoryThe interrupting source supplies the branch information to the processorThe branch addr...
2 2 votes
2 2 answers
1.5k
1.5k views
Which of the following is false about interrupts?Interrupts can be triggered by a hardware or by a softwareHardware interrupts may be triggered by sending a signal to CPU...
2 2 votes
0 0 answers
427
427 views
Which of the following statements is/are true regarding how the trap instruction (e.g., int n in x86) is invoked when a trap occurs in a system? When a user makes a syste...
2 2 votes
1 1 answer
1.4k
1.4k views
A hard disk with a transfer rate of 1 Mbytes/ second is constantly transferring data to memory using DMA. The processor runs at 500 MHz, and takes 500 and 1000 clock cycl...
0 0 votes
0 0 answers
427
427 views
Given below are two statements: one is labelled as Assertion $\text{A}$ and the other is labelled as Reason $\text{R}$ .Assertion $\text{A}$ : I/O protection is ensured b...
48 48 votes
8 8 answers
20.8k
20.8k views
A keyboard connected to a computer is used at a rate of $1$ keystroke per second. The computer system polls the keyboard every $10 \mathrm{~ms}$ (milli seconds) to check ...
0 0 votes
0 0 answers
935
935 views
COA
Which of the following is/are true for a CPU which does not have any stack pointer registers?A Interrupts are not possible. B All subroutine calls and interrupts are po...
3 3 votes
2 answers 2 answers
1.4k
1.4k views
MSQA ‘Running’ process is surely put into ‘Blocked/Wait’ state during while requesting for an I/O, in which of the following I/O modes?Synchronous I/OAsynchronous I/OInte...
0 0 votes
0 0 answers
432
432 views
Consider the following two lists :$\begin{array}{ll} \text{List I} & \text{List II} \\ \\\text {(A) Stack overflow } & \text { (I) Software interrupt } \\\text {(B)} \mat...
0 0 votes
1 1 answer
2.0k
2.0k views
Both internal and software caused by executing the program instructions . So both are same ?
0 0 votes
1 1 answer
2.0k
2.0k views
External Interrupt may not arise because ofillegal or erroneous use of an instruction.a timing device.external source.I/O devices.
0 0 votes
2 2 answers
2.5k
2.5k views
Which of the following is false?Interrupts which are initiated by an instruction are software interruptsWhen a subroutine is called, the address of the instruction follow...