What is Memory ? Types of main memory & Classification of memory?

What is Memory ?

Memory unit is that Component of a computer system, which is used to store the data, instruction and information and information before, during and after the processing done by ALU. It is actually a work area within the computer, where the CPU stores the data and instructions. Sometimes unallocated space of the hard disk is used as virtual memory also known as page file. This type of memory is a temporary memory.

What is Memory

Types of Main Memory ?

There are two types of main memory :-

  1. RAM (Random Access Memory)
  2. ROM (Read Only Memory)

RAM (Random Access Memory) :-  It is Popularly Known as RAM, is the Key Working Area of the memory that is Used for our Problems and Data. This Area is Often Called the User Memory.

The Main Feature of RAM is that it can be read or written onto any Location and can be Accessed Randomly. The Contents of RAM are Available as long as the Computer is not Switched off i.e., it loses its Contents the moment, the Power is Turned off. Hence, it is Called Volatile Memory.

  1. Random Access Memory :- Holds its Data as Long as the Computer is Switched on.
  2. All data in RAM is Lost when the Computer is Switched off.
  3. Described as being Volatile.
  4. It is Direct Access as it can be both written to or read from in any order.

Types of RAM :-

  • Dynamic Random Access Memory (DRAM)
  1. Contents are constantly refreshed 1000 times per second.
  2. Access time 60- 70 nanoseconds.

Note : A Nanosecond is one billionth of a Speed.

  • Static Random Access Memory (SRAM)
  1. Doesn’t need refreshing.
  2. Retains contents as long as power is Applied to the chip.
  3. Access time is around ten nanoseconds.
  4. Used for Cache Memory.
  5. Also for Data and Time Settings as Powered by small battery.

ROM (Read Only Memory):- ROM as the name itself, implies, holds permanent data or instructions that can only be read from, but not written onto, i.e., information is permanently recorded, so that it cannot be changed by programmers. It is non- Volatile in nature meaning that the Contents of ROM are not lost, when the computer is switched off, it remains there, it is merely deactivated.

ROM contains instructions to get the computer started when switched on. Other uses of ROM includes holding instruction and data that control various peripheral units of the computer, such as graphic displays and disk drive etc.

  1. ROM holds program and data permanently even when computer is switched off.
  2. Data can be read by the CPU in any order so ROM is also direct access.
  3. The contents of ROM are fixed at the time of manufacture.
  4. Store a Program called the bootstrap loader that helps start up the computer.
  5. Access time is between 10 – 50 nanoseconds.

Types of ROM :-

  • Programmable Read Only Memory (PROM)
  1. Empty of data when manufactured.
  2. May be Permanently programmed by the user.
  • Erasable Programmable Read Only Memory (EPROM)
  1. Can be programmed, erased and reprogrammed.
  2. The EPROM chip has a small window on top allowing it to be erased by shining ultra-violet light.
  3. After reprogramming, the window is covered to prevent new contents from being erased.
  4. Access time is around 45- 90 nanoseconds.
  • Electrically Erasable Programmable Read Only Memory (EEPROM).
  1. Reprogrammed Electrically without using ultraviolet light.
  2. Must be removed from the computer and Placed in a Special Machine to do this.
  3. Access time between 45 and 200 nanoseconds.
  • Flash ROM
  1. Similar to EEPROM
  2. However, can be reprogrammed while still in the computer.
  3. Easier to upgrade programs stored in flash ROM.
  4. Used to Store Programs in devices for example, modems.
  5. Access time is around 45 – 90 nanoseconds.

 

 

 

Leave a Comment