Session 3
Session 3
COMPUTER
ORGANIZATION
Content
2
Objectives
3
7 - INPUT/OUTPUT SUBSYSTEM
4
Introduction
This subsystem allows a computer to communicate with the outside world and
to store programs and data even when the power is off.
Input/output devices can be divided into two broad categories: non-storage and
storage devices.
5
Non-storage & Storage devices
1. Non storage devices allow the 2. Storage devices, although classified as I/O devices, can store
CPU/memory to communicate with the large amounts of information to be retrieved at a later time.
outside world, but they cannot store - Their contents are nonvolatile—that is, not erased when the
information. power is turned off.
- They are sometimes referred to as auxiliary storage devices
6
Non-storage
7
Storage devices
2. Storage devices
8
Optical storage devices-Magnetic storage devices
https://www.youtube.com/watch?v=_
wdtSq4B7Lk&ab_channel=KI%E1%BA%BENTH%E1%BB%A
8CTH%C3%9AV%E1%BB%8AOfficial
9
Magnetic storage devices
1. Magnetic disks
Surface organization.
• To organize data stored on the disk, each
surface is divided into tracks, and each
track is divided into sectors.
• The tracks are separated by an
intertrack gap, and the sectors are
separated by an intersector gap.
Figure 5.6 A magnetic disk
10
Magnetic storage devices
1. Magnetic disks
Data access
Performance
• A magnetic disk is considered a random access device.
• The performance of a disk depends on several factors, the
• In a random access device, a data item can be accessed
most important being the rotational speed, the seek time,
randomly without the need to access all other data items
and the transfer time.
located before it.
• The rotational speed defines how fast the disk is spinning.
• However, the smallest storage area that can be accessed at
• The seek time defines the time to move the read/write head
one time is a sector. A block of data can be stored in one or
to the desired track where the data is stored.
more sectors and retrieved without the need to retrieve the
• The transfer time defines the time to move data from the
rest of the information on the disk.
disk to the CPU/memory.
11
Magnetic storage devices
2. Magnetic tape
12
Magnetic storage devices
2 Magnetic tape
Surface organization.
• The width of the tape is divided into nine tracks, each location on a track storing 1 bit of information.
• Nine vertical locations can store 8 bits of information related to a byte plus a bit for error detection
(Figure 5.7).
Data access.
• A magnetic tape is considered a sequential access device.
• Although the surface may be divided into blocks, there is no addressing mechanism to access each
block.
• To retrieve a specific block on the tape, we need to pass through all the previous blocks.
Performance.
• Although magnetic tape is slower than a magnetic disk, it is cheaper. Today, people use magnetic tape
13
to back up large amounts of data.
Optical storage devices
1. Creation.
a. A master disk is created using a high-power
infrared laser that creates bit patterns on coated
plastic. The laser translates the bit patterns into a
sequence of pits (holes) and lands (no holes). The
pits usually represent 0s and the lands usually
represent 1s. Other schemes use a transition (pit to
land or land to pit) to represent 1, and a lack of
transition to represent 0.
1. Creation.
going through the expense involved in creating CD- be written to only once.
To overwrite materials, a new technology allows a
ROMs.
It is particularly useful for making backups. new type of disk called compact disk rewritable
You can write once to CD-R disks, but they can be read (CD-RW). It is sometimes called an erasable optical
17
Optical storage devices
The industry has felt the need for digital storage media with even higher capacity.
https://
www.youtube.com/watch?v=NUfB9xb7P5I&a
b_channel=S%C3%BApHeo
20