Professional Documents
Culture Documents
Storage Devices 5
Storage Devices 5
Storage Devices 5
SHAHABUDDIN
MS Scholar, Department of Computer Science, University of Peshawar
Memory
⚫ Memory is where information is stored and retrieved by the
CPU.
⚫ Memory, also called primary storage, is located physically
close to the CPU to decrease access time, that is, the time it
takes the CPU to retrieve data from memory.
⚫ Memory temporarily holds instructions and data before and
after processing by the CPU.
⚫ Memory access time is often measured in milliseconds, or
one thousandths of a second.
Types of Memory
Types of Memory
⚫ There are two main types of memory.
⚫ Random Access Memory (RAM): It is the main memory
and allows you to temporarily store commands and data.
The CPU reads data and commands from RAM to perform
specific tasks. RAM is volatile, which means it is available
only while the computer is turned on. The contents of
RAM must be copied to a storage device if you want to
save the data in the RAM.
⚫ Read Only Memory (ROM): It is the memory that retains
its contents even after the computer is turned off. ROM is
nonvolatile, or permanent, memory that is commonly used
to store commands, such as the commands that check
whether everything is working properly.
Types of RAM
⚫
erasable programmable ROM exist.
In ROM chips, the contents, or combination of electrical circuit states,
are set by the manufacturer and cannot be changed. States are
⚫
permanently manufactured into the chip.
In PROM, the settings must be programmed into the chip. After they
are programmed, PROM behaves like ROM – the circuit states can’t
be changed. PROM is used when instructions will be permanent, but
they aren’t produced in large enough quantities to make custom chip
production (as in ROM) cost effective. PROM chips are, for example,
⚫
used to store video game instructions.
Instructions are also programmed into erasable programmable read-
only memory. However, the contents of the chip can be erased, and
the chip can be reprogrammed. EPROM chips are used where data
and instructions don’t change often, but nonvolatility and quickness
are needed. The controller for a robot arm on an assembly line is an
example of EPROM use.
Storage Capacity
Access Methods
⚫ Magnetic tapes
⚫ Magnetic disks
⚫ Storage area networks (SAN)
⚫ Optical disks
Magnetic tapes
⚫ The most commonly used forms of secondary storage
include magnetic tapes, disks, and optical disks.
⚫ Magnetic tape allows only sequential access of data, while
others allow both direct and sequential.
⚫ Magnetic tape is similar in composition to the kind of tape
found in videotapes and audio tapes.
⚫ A plastic film is coated with iron oxide which is magnetized
to represent bits.
⚫ Note that while data existed as electrical in a computer, it
exists as magnetized areas on magnetic tapes and disks.
⚫ A main use of magnetic tape is to backup disk drives.
Magnetic disks
⚫ Magnetic disks are similar to magnetic tapes in that areas
are magnetized to represent bits.
⚫ However the disks’ read write head can go directly to the
desired record, allowing fast data retrieval.
⚫ Magnetic disks can range from small and portable, such as
diskettes with 1.44MB of storage capacity, to large
capacity fixed hard disks which are more expensive and
less portable.
Storage Area Network