IO organization Flashcards

1
Q

Input/Output Subsystem

A

It handles all the input and output operations of the computer system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Peripheral Devices

A

Input or output devices that are connected to computer are called peripheral devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

types of peripherals

A

Input devices: they allow user input, from the outside world into the computer. Examples: keyboard, mouse, speech recognition, sensor, etc.

Output devices: they allow information output, from the computer to the outside world. Examples: printer, monitor (display unit), speaker, etc.

Auxiliary storage devices: these are used for permanent storage of data. Examples: magnetic tape, magnetic disk, optical disk, flash drive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Input/Output Interface

A

Input/Output Interface provides a method for transferring information between internal system (CPU) and external I/O devices (peripheral devices)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Significance of I/O Interface

A

1.Peripherals are electromechanical and electromagnetic devices and their manner of operation is different from the operation of the CPU and memory, which are electronic devices.
2.The data transfer rate of peripherals is usually slower than that of the CPU, and consequently, a synchronization mechanism may be needed.
3.Data codes and formats (bytes) in peripherals differ from the word formats in the CPU and memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what does the IO bus consist of

A

data lines, address lines, and control lines.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

functions of interface

A

a)
decodes the device address
b)
decodes the commands from the processor
c)
provides signals for the peripheral controller
d)
synchronizes the data flow and supervises the transfer rate between peripheral and CPU or memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Types of commands that an interface may receive

A


Control command – is used to activate the peripheral and inform it on what to do

Status command – is used to test various conditions in the interface and peripheral

Data output command – causes the interface to respond by transferring data from the bus into one of its registers

Data input command – is the opposite of the data output command. In this case, the interface receives data from the peripheral and places it in its register

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Device Controllers

A

Device Controllers are components on the motherboard (or on an expansion card) that acts as an interface between the CPU and the actual device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Interrupt Request (IR)

A

When a device needs to access the CPU, the device controller issues an Interrupt Request (IR) to the CPU in order for the CPU to stop the current task and start communicating with the peripheral device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

functions of device controllers

A

It handles the data flow between the processor and the device it is connected to.
It translates signals from the device into the format that can be understood by the CPU, and vice-versa.
It buffers data being sent between the device and the CPU.
The device Controller also performs synchronization and error detection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Examples of Device Controllers

A

Keyboard Controller – controls the keyboard
DMA Controller – controls Direct Memory Access
Network Adaptor Controller – controls Network Interface Card (network adapter)
IDE Controller – controls hard disk and CD/DVD drive
Graphics Adapter Controller – controls video output devices such as monitor, projector
USB Controller – controls devices connected by USB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Ways that the computer buses can be used by CPU to communicate with memory and I/O

A

1.
Use of two separate buses, one for memory and the other for I/O. In this method, all data, address and control lines would be separate for memory and I/O. Both I/O and memory have different sets of address spaces and instructions but require more buses.
2.
Use of one common bus for both memory and I/O but with separate control lines for each. This configuration is called Isolated I/O.
3.
Use of one common bus for both memory and I/O with a common control line. This configuration is called Memory mapped I/O.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Memory mapped I/O and Isolated I/O.

A

methods to perform input/output operations between the CPU and peripheral devices in the computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Memory-mapped I/O

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Isolated I/O

A

When the CPU fetching or transferring an I/O data, it places the address associated with the data on the common address lines. At the same time, it enables the I/O read (for input) or I/O write (for output) control line. This informs the components connected to the common bus that the address in the address line is for an I/O register and not for a memory word

15
Q

Input/Output Processor

A

is a processor separate from the CPU designed to handle only I/O operations

16
Q

Asynchronous Data Transfer

A

the two units are said to be asynchronous to each other, and if data transfer occurs between them, this data transfer

16
Q

Synchronous Data Transfer

A

It is when transfer between two units registers in the I/O interface share a common clock with CPU registers

16
Q

Modes of I/O Data Transfer

A
  1. Programmed I/O
  2. Interrupt Initiated I/O
  3. Direct Memory Access.
17
Q

method used is to disable the buses

A


Bus Request (BR) – it is used by the DMA controller to request the CPU to relinquish the control of the buses.

Bus Grant (BG) – it is activated by the CPU to inform the DMA controller that the buses are in a high impedance state and the requesting DMA controller can take control of the buses. Once the DMA has taken the control of the buses, it transfers the data

18
Q

Bus Arbitration

A

Bus arbitration is the process of resolving conflicts that arise when multiple devices attempt to access the bus at the same time

19
Q

Applications of bus arbitration in computer organization

A

Shared Memory Systems: Bus arbitration allows multiple devices to access the memory without interfering with each other.
Multi-Processor Systems: Bus arbitration allows multiple processors to share access to the bus to communicate with each other and with shared memory.
Input /Output Devices: Bus arbitration allows multiple input/output devices to share access to the bus to communicate with the processor and memory.

20
Q

bus

A

is a connected common communication pathway

21
Q

Bus master

A

Is a device that can transfer data on the bus at the same time

22
Q

Approaches to bus arbitration

A

centralized arbitration, a single
device (arbiter) is responsible for performing the required arbitration
distributed arbitration, all devices compete for access to the
bus by sending a request signal and waiting for a grant signal