0% found this document useful (0 votes)
53 views1 page

07 - Input-Output Computer Peripherals

The document discusses input/output and computer peripherals. It asks 10 questions about interrupts and direct memory access (DMA). Interrupts pause the currently executing program and allow higher priority tasks to run. They are used for events like disk transfers completing and user input. DMA transfers data directly between peripheral devices and memory without CPU involvement. It requires the I/O controller to know the memory addresses and transfer length before starting. Completion interrupts notify the CPU that a DMA transfer finished. Interrupts allow asynchronous events to be handled efficiently. Without them, programs would be unable to respond to external events in a timely manner.

Uploaded by

vln
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views1 page

07 - Input-Output Computer Peripherals

The document discusses input/output and computer peripherals. It asks 10 questions about interrupts and direct memory access (DMA). Interrupts pause the currently executing program and allow higher priority tasks to run. They are used for events like disk transfers completing and user input. DMA transfers data directly between peripheral devices and memory without CPU involvement. It requires the I/O controller to know the memory addresses and transfer length before starting. Completion interrupts notify the CPU that a DMA transfer finished. Interrupts allow asynchronous events to be handled efficiently. Without them, programs would be unable to respond to external events in a timely manner.

Uploaded by

vln
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

CT049-3-1- Operating Systems & Computer Architecture Input/Output

Input/Output & Computer Peripherals

1. When an interrupt occurs, what happens to the program that is currently executing at
the time?
2. State and explain at least three primary uses of interrupts
3. What kind of interrupt occurs when a user’s program tries to execute a privileged
instruction?
4. What are the three primary conditions that are required for DMA to take place?
5. What data must an I/O controller have before a DMA transfer takes place?
6. What is the purpose of a completion interrupt at the conclusion of a DMA transfer?
7. Why would DMA be useless if the computer did not have interrupt capability?
8. Consider the interrupt that occurs at the completion of a disk transfer.
a. ‘‘Who’’ is interrupting ‘‘whom’’?
b. Why is the interrupt used in this case?
c. What would be necessary if there were no interrupt capability on this computer?
d. Describe the steps that take place after the interrupt occurs.
9. In general, what purpose does an interrupt serve? Stated another way, suppose there
were no interrupts provided in a computer. What capabilities would be lost?
10. Describe the steps that occur when a system receives multiple interrupts.

Level 1 Asia Pacific University of Technology & Innovation Page 1 of 1

You might also like