Primary or Secondary Storage.

Authors Avatar

                Data and Information Storage

STORAGE

Electronic data is a sequence of bits. This data can either reside in Primary or Secondary Storage

The Difference Between Primary and Secondary Storage

  • Primary storage is volatile: when the power is off, all contents of RAM are lost. That is why data from RAM is saved as files on secondary storage which is non-volatile and almost permanent (It wears out eventually or becomes out of dated technology)
  • Size. Secondary storage is virtually infinite: when you run out of space on one disk, you use another. On the contrary there is a limited amount of RAM that can be accessed by the CPU. Some programs will not run on a particular computer system because there is not enough RAM available.
  • Access time. It takes few nanoseconds for the CPU to access RAM but it takes several milliseconds to access secondary storage. The reasons for RAM being faster are:
  1. RAM chips are located on the motherboard so the distance the electrical signals have to travel from the CPU to RAM or in the opposite direction is much shorter compared to the distance between the CPU and secondary storage devices. The shorter the distance, the faster the processing.
  2. Also working with the secondary storage involves mechanical operations like spinning

Cost. Secondary storage is cheaper than RAM in terms of cost per unit of data.

Primary Storage

For Main Memory, computers use RAM, or Random Access Memory. This uses memory chips and is the fastest but is the most expensive type of storage.

A memory chip is a chip that holds programs and data either temporarily or permanently. The categories of memory chips are Random Access Memory (RAM), Read Only Memory (ROM), Cache memory and buffer memory.

RAM

RAM or primary storage, is located in RAM chips physically close to the CPU. The architecture of RAM is similar to that of mailboxes at a post office. A RAM chip is made up of addressable locations (cells). Whenever a CPU writes data, instructions or information to RAM, it wipes out the previous contents of RAM.

RAM stores data for processing, the instructions for processing the data, processed information that is waiting to be sent to an output or secondary storage device. RAM is volatile which means that the contents of RAM are erased whenever the flow of electricity to the CPU is terminated. There are two main types of RAM used in computer systems:

  1. DRAM- this memory is based on capacitor technology and requires the contents of each storage cell within the chip to be periodically refreshed (about every 4 milliseconds). It consumes very little power, but suffers from slow access time. Another disadvantage is the large capacity offered by this technology per chip.
  2. SRAM- this memory is based on transistor technology and does not require refreshing. It consumes more power (thus generates more heat) than the dynamic type, and is significantly faster .It is often used in high speed computers or as cache memory. One disadvantage is that the technology uses more silicon space per storage cell than dynamic memory, thus chip capacities are a lot less than dynamic chips.
Join now!

ROM

A ROM chip is a memory chip that stores instructions and data permanently. The information on a ROM chip is stored on it by the manufacturers and cannot be modified by the user. A CPU can read and retrieve the instructions and data from the ROM chip, but it cannot change the contents in ROM. Information on the ROM chip is only for the computer to use. When you turn on a computer, messages are made possible by the information in ROM. The programs on a ROM chip are called firmware, this includes: (a) a wordprocessor ; ...

This is a preview of the whole essay