in CO and Architecture retagged by
8,602 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
in CO and Architecture retagged by
by
8.6k views

1 Answer

15 votes
15 votes
Best answer

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

3 Comments

@Prashant. This question comes under which subject? CAO or OS?I have done OS but I am not able to solve this question from what i studied in OS.Does this question require COA knowledge?

0
0
1
1
Answer:

Related questions