retagged by
8,597 views
11 votes
11 votes

Consider the following statements.

  1. Daisy chaining is used to assign priorities in attending interrupts.
  2. When a device raises a vectored interrupt, the CPU does polling to identify the source of interrupt.
  3. In polling, the CPU periodically checks the status bits to know if any device needs its attention.
  4. During DMA, both the CPU and DMA controller can be bus masters at the same time.

Which of the above statements is/are TRUE?

  1. Ⅰ and Ⅱ only
  2. Ⅰ and Ⅳ only
  3. Ⅰ and Ⅲ only
  4. Ⅲ only
retagged by

1 Answer

Best answer
15 votes
15 votes

Answer : C

I is true

  • The daisy-chaining method of establishing priority consists of a serial connection of all devices that request an interrupt. The device with the highest priority is placed in the first position, followed by lower-priority devices up to the device with the lowest priority, which is placed last in the chain.

II. is false

  • Vectored interrupts are achieved by assigning each interrupting device a unique code, typically four to eight bits in length. When a device interrupts, it sends its unique code over the data bus to the processor, telling the processor which interrupt service routine to execute.

III. is true 

  • The process of periodically checking status bits to see if it is time for the next I/O operation, is called pollingPolling is the simplest way for an I/O device to communicate with the processor the processor. 

IV. is false 

  • Since CPU release bus only after getting request from DMA and get after DMA release the BUS.
selected by
Answer:

Related questions

21 votes
21 votes
3 answers
3