Types of computer memory
Computer memory is the storage space in the computer, where dat is to be processed and instructions required for processing are stored. The memory is divided into large number of small parts called cells. Each location or cell has an unique address which varies from zero to memory size minus one. There are different types of computer memory. Some of them are discussed below:
a. Primary memory
Primary memory is the main memory or internal memory and most important types of computer memory. . It is a temporary storage area built into the computer hardware. This memory consists of some Integrated Circuit (IC) chips either on the motherboard or on a small circuit board attached to the motherboard of a computer system. This memory allows CPU to store and retrieve data very quickly. The rate of fetching data from this memory is of the order of 50 nanoseconds/byte. Hence the rate of data fetching from main memory about 100 times faster than that from a high speed secondary memory (storage) like disk. The primary memory includes RAM and ROM.
i. RAM (Random Access Memory)
RAM is a commonly used volatile memory. It is also called temporary memory. They are RAM needs regular power supply to hold its content. RAM chips are of two types. Static RAM (SRAM) and Dynamic RAM (DRAM).
Static Random Access Memory (SRAM)
SRAM is a fast memory technology which is used for high speed registers and system caches. SRAM takes six transistors to store 1 bit. It retrieve data bits in its memory as long as power is supplied. This memory does not need periodic refreshing.
Dynamic Random Access Memory (DRAM)
Dynamic RAM uses an external circuitry to periodically 'regenerate' or refresh the storage charge to retain the stored data. It won't reliably retain information for very long time. Fortunately this capacitor-based system can remember long enough to be useful- a few or few dozen milliseconds- before the disappearing charges make the memory unreliable. During the refresh period, the memory is not available for normal operation.
Difference between SRAM and DRAM
SRAM |
DRAM |
i. SRAM stands
for Static Random Access Memory. |
i. DRAM stands
for Dynamic Random Access Memory |
ii. SRAM does not
need periodic refreshing. |
ii, DRAM needs
periodic refreshing. |
iii. It uses
transistor to store single bit of data. |
iii. It uses a
separate capacitor to store each bit of data. |
iv. It stores bit
as a voltage. |
iv. It stores bit
as charge. |
ii. Read Only Memory (ROM)
An acronym for Read Only Memory, ROM is computer memory on which data are pre-recorded. The programming code and/or data on a ROM chip is written to the chi8p at the factory. It can be read, but it cannot be erased or removed. SO it is called non-volatile or permanent memory. ROM retains its data or content even when the computer is turned off, unlike a computer's main memory RAM, which needs a constant charge of electricity to keep its information. ROM chips are used in all kinds of electronic devices from calculators to video games. The following are sub types of ROM.
PROM (Programmable Read Only Memory)
PROM is a non-volatile programmable ROM but only once. Once the program is written in it, it cannot be erased but can only be read. PROMs are programmed to record information using a special device known as PROM - Programmer. Once the chip has been programmed, the PROM becomes a ROM. That is, the information recorded in it can only be read but cannot be changed.
EPROM (Erasable Programmable Read Only Memory)
An EPROM is a special kind of PROM chip that can be reprogrammed to store the new information. Its information is stored as electrical charges deposited on the chip (1s and 0s). An EPROM can be erased by removing it from the circuit. lt can then be reprogrammed using an EPROM burner. EPROMs are still considered non-volatile; they won't lose their information when the computer is turned off. EPROM chips are of two types- The EEPROM and UVEPROM.
The EEPROM (Electrically EPROM) is a kind of EPROM chip which doesn't have to be removed and sent back to the manufacturer to be reprogrammed. It can be electronically reprogrammed while in circuit using a software program designed specifically for that purpose. On the other hand, the UVEPROM (Ultra Violet EPROM) is a kind of EPROM in which the stored information is erased by exposing the chip for some time to ultraviolet light.
Differences between primary memory and secondary memory
ROM |
RAM |
i. ROM stands for Read Only Memory. |
i. RAM stands for Random Access Memory |
ii. ROM is non volatile (Permanent) reading memory. |
ii. RAM is volatile (temporary) reading and writing memory. |
iii. The contents of ROM are not erased as soon as electricity is not supplied. |
iii. The contents of RAM are erased as soon as electricity is not supplied. |
iv. The types of ROM are PROM, EPROM and EEPROM. |
iv. The types of RAM are SRAM, and DRAM. |
b. Secondary Memory (Storage)
The primary memory is of limited capacity and they are volatile memory. To overcome these limitations, types of computer memory, i.e. secondary storage devices are used. Secondary memory are non volatile and have lower cost per bit stored but they generally have an operating speed far slower than that of primary memory. It is used to store the large volume of data on permanent basic that can be partially transferred to primary storage, whenever required for processing. Magnetic disk, magnetic tape, optical disk are the examples of secondary storage devices. Secondary storage devices are: Sequential Access Device, Direct Access Device, Magnetic Disk, Optical Disks, CD-ROM, DVD, Hard -Disk, Floppy Disk.
Differences between primary memory and secondary memory
Primary memory |
Secondary memory |
i. Primary memory is the main memory of computer which is used to store data for present purpose. |
i. Secondary memory is an auxiliary memory of computer which is used to store data, software etc for future purpose. |
ii. Primary memory is directly accessed by CPU. |
ii. Secondary memory is accessed by CPU via an interface. |
iii. Primary memory is more expensive than secondary memory. |
iii. Secondary memory is cheaper than primary memory. |
iv. Example of primary memory: ROM, RAM, etc. |
iv. Example of secondary memory: Hard disk, CD ROM, etc . |
The secondary storage devices are broadly categorized into the following types. They are:
- Sequential storage device
- Magnetic storage devices
- Optical storage devices
- Magnetic tapes are cheaper than other types of sequential access devices.
- Data stored on magnetic tapes can be erased and they can be reused multiple times.
- Magnetic tapes have high storage capacity and can backups substantial amounts of information.
- Magnetic tapes tend to depreciate over time.
- Data access is slow and a tape drive has to read the entire contents of a magnetic tape before finding and accessing data.
- Hard disk has large storage and retrieval capacity of data.
- It is usually fixed inside the computer so cannot get mislaid.
- It is more durable and reliable than other storage media.
- It is cheaper on a cost per megabyte compared to other storage media.
- Hard disks can be replaced and upgraded as necessary.
- Hard disks eventually fail which stops the computer from working.
- Regular 'head' crashes can damage the surface of the disk, leading to the loss of data in that sector.
- The disk is fixed inside the computer and cannot easily be transferred to another computer.
Pen drive
- CD-ROM is portable and able to store large amount of text, images, audio and videos.
- It is quite cheaper in terms of cost per character stored.
- It has a longer life span than a magnetic media. (About 20 years)
- It is comparatively reliable and easy to use.
- CD RW can record and erase data for several times.
- The CD RW is cheaper for frequent changing files and data.
- CDRW are better for the environment by the fact they are reusable.
- The space available on the CDRW is usually lower than one time use.
- The burn and read speed of CD RW is slower than a non-rewriteable disc.
- Compact Disk Read Writable disks are not very durable.
0 Comments
Any queries ! check out here