COA Unit 5
COA Unit 5
Peripheral Devices
To communicate with the outside world microcomputers use peripherals (I/O devices).
Commonly used peripherals are: A/D converter, D/A converter, CRT, printers, Hard disks,
floppy disks, magnetic tapes etc.
Input-Output Interface
Input-Output Interface is used as a method which helps in transferring of
information between the internal storage devices i.e. memory and the
external peripheral device . A peripheral device is that which provide input
and output for the computer, it is also called Input-Output devices. For
Example: A keyboard and mouse provide Input to the computer are called
input devices while a monitor and printer that provide output to the
computer are called output devices. Just like the external hard-drives, there
is also availability of some peripheral devices which are able to provide both
input and output.
•Two versions-9pin,25pin
2. Parallel Port :
Aiming for a top All India Rank in GATE CS/IT or GATE DA 2026? Our
courses, led by experts like Khaleel Sir, Chandan Jha Sir, and Vijay Agarwal
Sir, offer live classes, practice problems, doubt support, quizzes, and All
India Mock Tests—all in one place.
•Used for scanners and printers
4. Firewire Port :
•Transfers large amounts of data at a very fast speed.
5. Ethernet Port :
•Connects to a network and high-speed Internet.
Types of Interrupt
Event-related software or hardware can trigger the issuance of interrupt
signals. These fall into one of two categories: software interrupts or
hardware interrupts.
1. Software Interrupts
A sort of interrupt called a software interrupt is one that is produced by
software or a system as opposed to hardware. Traps and exceptions are
other names for software interruptions. They serve as a signal for the
operating system or a system service to carry out a certain function or
respond to an error condition. Generally, software interrupts occur as a
result of specific instructions being used or exceptions in the operation. In
our system, software interrupts often occur when system calls are made. In
contrast to the fork() system call, which also generates a software
interrupt, division by zero throws an exception that results in the software
interrupt.
2. Hardware Interrupts
In a hardware interrupt, all the devices are connected to the Interrupt
Request Line. A single request line is used for all the n devices. To request
an interrupt, a device closes its associated switch. When a device requests
an interrupt, the value of INTR is the logical OR of the requests from
individual devices.
•Direct access to interact with the CPU without involving any peripheral
•The CPU is idle and cannot handle any other task at the time it waits for the
•It reduces the CPU workload for I/O operations because it directly connects
•It is responsible for handling errors that arises from I/O operations and
tasks.
amount of data.
Serial Communication
Both the sender and receiver are synchronized with a common clock signal.
This means they operate at the same speed and know exactly when to send
and receive data. Data is sent in a continuous stream, with each byte or
chunk of data following the previous one without any gaps. It’s efficient for
sending large amounts of data quickly because there’s less overhead (extra
bits) needed to start and stop the transmission.
Example:
• Chat Rooms
• Telephonic Conversations
• Video Conferencing
• Forums
• Letters