Answer to Question #298568 in Computer Networks for Ella baby

Question #298568

Discuss the three input-output communication techniques that are used in computer systems.


1
Expert's answer
2022-02-16T17:40:38-0500

There are three primary I/O communication techniques in a computer system: programmed I/O, Interrupt-initiated I/O and direct memory access (DMA) I/O.

Programmed I/O

In this technique, the CPU remains in the loop until it receives a ready signal from the I/O device. In essence, the device does not have direct access to the memory and has to rely on programmed instructions. As such, the approach is time-consuming and wastes CPU time. 

Interrupt-initiated I/O

Like in the case of programmed I/O, the I/O device has no direct link to the memory and relies on signals. However, for this case, the CPU will issue a read command to the I/O and take up some other tasks instead of waiting in the program loop. The I/O device will send an interrupt signal to the CPU, which then checks to confirm if the I/O's device status has changed to the ready state. If ready, the CPU reads the data from the device, copies it to the memory and continues to other tasks. 

Direct Memory Access (DMA)

 Unlike in the first two cases, the DMA technique is characterized by a direct link between the I/O device and the main memory. The technique offers better speeds as compared to the first two techniques.



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS