Unit - 4
Unit - 4
RollNo : _______
EASY NOTES
ON
COMPUTER ORGANIZATION
UNIT 4
Q. What is an IO module?
Ans: I/O modules interface to the system bus or central switch (CPU and Memory),
interfaces and controls to one or more peripheral devices. I/O operations are accomplished
through a wide assortment of external devices that provide a means of exchanging data
between external environment and computer by a link to an I/O module. The link is used to
exchange control status and data between I/O module and the external devices.
Q. What are the different Input Output commands that the interface may receive?
Ans: The different I/O commands that the interface may receive are:
1) Control command: It is issued to activate the peripheral and to inform it what to do.
2) Status command: It is used to test various status conditions in the interface and the
peripheral.
3) Output data: This causes the interface to respond by transferring data from the bus into
one of its registers.
4) Input data: This is the opposite of the data output. In this case, the interface receives an
item of data from the peripheral and places it in its buffer register.
Q. What are the three ways in which computer buses can be used to communicate
with the memory and I/O devices?
Ans: Computer buses can be used to communicate with memory and I/O in three ways:
Haulai’s Notes on Unit 4 – Input Output Organization P a g e 2 of 9
1) Use two separate buses, one for memory and other for I/O. In this method, all data,
address and control lines would be separate for memory and I/O.
2) Use one common bus for both memory and I/O but have separate control lines. There is
a separate read and write lines; I/O read and I/O write for I/O and memory read and
memory write for memory.
3) Use a common bus for memory and I/O with common control line. This I/O
configuration is called memory mapped.
Q. What is strobe? Explain the two types of strobe control with the help of suitable
diagrams.
Ans: A strobe is a pulse signal supplied by one of the units in asynchronous data transfers
between two units to indicate to the other unit when the transfer has to occur.
The two types of strobe control are:
(i) Source Initiated Data Transfer:
The data bus carries the information from source to destination. The strobe is a single line. The
signal on this line informs the destination unit when a data word is available in the bus. The
strobe signal is given after a brief delay, after placing the data on the data bus. A brief period
after the strobe pulse is disabled the source stops sending the data.
Q. What are the disadvantages of strobe method that handshaking method can solve?
Ans: The disadvantages of strobe method that handshaking method can overcome are:
(i) The source unit that initiate the transfer has no way of knowing whether the destination
unit has actually received the data item that was placed in the bus.
(ii) The destination unit that initiates the transfer has no way of knowing whether the source
unit has actually place the data on the bus.
Characteristics:
Continuous CPU involvement
CPU slowed down to I/O speed
Simple
Least hardware
*******