Hardware
Hardware
COMPUTER
(Lecture Two A)
Introduction
• A computer contains many electric, electronic, and mechanical
components known as hardware.
• These components fall into four broad categories that serve different
purposes.
• There are types of primary memory. These are volatile memory and
non–volatile memory.
• A volatile memory stores data temporarily. When the computer’s power
is turned off, a volatile memory loses its contents. An example of this
memory is the RAM.
• Non–volatile memory stores data permanently. It does not lose its
contents when power is removed from the computer.
• Static RAM (SRAM) chips are faster and more reliable than any variation
of DRAM chips
• These chips do not have to be reenergized or refreshed as often as
DRAM chips; hence, the term, static.
• SRAM chips, however, are much more expensive than DRAM chips.
Special applications, such as cache, use SRAM chips.
• This is different from SRAM and DRAM, which use electric charges to
store data.
• The advantage of MRAM is that it retains data when power is turned off
which could prevent loss of data for users.
Read–only Memory (ROM)
• Read-only memory refers to memory chips storing permanent data and
instructions.
• Masked ROM: The very first ROMs, known as masked ROMs, were hard-
wired devices that contained a pre-programmed set of data or
instructions.
• Note that an EPROM eraser is not selective. It will erase the entire
EPROM.
• Electrically Erasable Programmable read-only memory (EEPROM): This
type of ROM can be erased by an electrical charge and then written to by
using slightly higher-than-normal voltage.
• However, the difference between the EPROM chip and the EEPROM chip
is that EEPROM chips can be reprogrammed without removing them from
the computer.
• Also, the entire EEPROM chip does not need to be erased at one time,
which therefore allows specific changes to be made.
• EEPROM can be erased one byte at a time. Hence, the process of re-
programming is flexible but slow.
• Flash Memory is a type of non–volatile memory that can be erased
electronically and rewritten.
• Some portable media players store music on flash memory chips while
others store music on tiny hard drives or memory cards.
• Primary memory does not retain data when the power is turned off
while secondary memory retains data when the power is turned off.