In a
computer, memory is one or more sets of chips that store data and/or program
instructions, cither temporarily or permanently. Memory is a critical processing
component in any computer Personal computers use several different types of
memory, but the two most important arc called random access memory (RAM) and
read-only memory (ROM). These two types of memory work in very different ways
and perform distinct functions.
Random Access Memory
The most
common type of memory is called random access memory (RAM). As a result, the
term memory is typically used to mean RAM. RAM is like an electronic scratch
pad inside the computer. RAM holds data and program instructions while the CPU
works with them. When a program is laundered, it is loaded into and run from
memory. As the program needs data, it is loaded into memory for fast access. As
new data is entered into the computer, it is also stored in memory— but only
temporarily. Data is both written to and read from this memory. (Because of
this, RAM is also sometimes called read/write memory.) Like many computer
components, RAM is made up of a set of chips mounted on a small circuit board
(see Figure 1B.9). RAM is volatile, meaning that it loses its contents when the
computer is shut off or if there is a power failure. Therefore, RAM needs a
constant supply of power to hold its data. For this reason, you should save
your data files to a storage device frequently, to avoid losing them in a power
failure. (You will learn more about storage later in this chapter.)
RAM has a tremendous impact on the
speed and power of a computer. Generally, the more RAM a computer has, the mote
it can do and the faster it can perform certain tasks. The most common
measurement unit for describing a computer’s memory is the byte—the amount of
memory it takes to store a single character such as a letter of the alphabet or
a numeral. When referring to a computer's memory, the numbers are often so
large that it is helpful to use terms such as kilobyte (KB), megabyte (MB),
gigabyte (GB), and terabyte (TB) to describe the values (see Table 1B.1).
Today’s personal computers generally have at least 256 million bytes (256 MB)
of random access memory. Many newer systems feature 512 MB or more.
Read-Only Memory
Unlike
RAM, Read-only memory (ROM) permanently stores its data, even when the computer
is shut off. ROM is called nonvolatile memory because it never loses its
contents. ROM holds instructions that the computer needs to operate. Whenever
the computer's power is turned on, it checks ROM for directions that help it
start up, and for information about its hardware devices.
No comments:
Post a Comment