
- Computer - Home
- Computer - Overview
- Computer - Advantages & Disadvantages
- Computer - Classification
- Computer - Applications
- Computer - History & Evolution
- Computer - System Characteristics
- Computing Origins
- Computer - Origins
- Computer - Generations
- Computer - Types
- Computer Components
- Computer - Components
- Computer - CPU
- Computer - CPU Components
- Computer - Arithmetic Logic Unit (ALU)
- Computer - Control Unit
- Computer - Input Devices
- Computer - Output Devices
- Computer - Memory Units
- Computer Hardware
- Computer - Hardware
- Computer - Motherboard
- Computer - GPU
- Computer - PSU
- Computer Software
- Computer - Software
- Computer - Software Types
- Computer Data Storage & Memory
- Computer - Data Storage
- Computer - Types of Data Storage
- Computer - Hard Disk Drives (HDD)
- Computer - Solid State Drives (SSD)
- Computer - Memory Cards
- Computer - Optical Storage
- Computer - NAND Flash Memory
- Computer - NVMe Memory
- Computer - CompactFlash Card
- Computer - Cloud Storage
- Computer Memory
- Computer - Memory
- Computer - Primary Memory
- Computer - Secondary Memory
- Computer - RAM
- Computer - ROM
- Computer - DRAM
- Computer - VRAM
- Computer - Cache Memory
- Computer Internet & Intranet
- Computer - Internet and Intranet
- Computer - Internet
- Computer - Extranet
- Computer - Websites
- Computer Office Tools
- Computer - Word Processors
- Computer - Spread Sheet
- Computer - Power Presentations
- Computer - E-mail Tools
- Computer Miscellaneous
- Computer - Ports
- Computer - Number System
- Computer - Number Conversion
- Computer - Data and Information
- Computer - Networking
- Computer - Operating System
- Computer - Keyboard Shortcut Keys
- Computer - Virus
- Computer - Antivirus
- Computer - How to Buy?
- Computer - Available Courses
- Calculator Vs. Computer
- Brain Vs. Computer
- Analog Vs. Digital Computer
- Supercomputer Vs. Mainframe Computer
- Mainframe Vs. Minicomputer
- Printer Vs. Scanner
- OCR Vs. MICR
- File Vs. Folder
- exFAT Vs. FAT32
- FAT32 Vs. NTFS
- FAT32 Vs. exFAT Vs. NTFS
- CPU Vs. GPU
- GUI Vs. CLI
- GUI Vs. CUI
- Cache Memory Vs. Virtual Memory
- Register Vs. Memory
- RAM Vs. CAM
- SRAM Vs. DRAM
- DDR2 Vs. DDR3
- PROM Vs. EPROM
- CD Vs. DVD
- Blu-Ray Vs. DVD
- MMU Vs. MPU
- Computer Terminologies
- Microsoft Windows
- Desktop
- Monitor
- Microphone
- Keyboard
- Keypad
- Mouse
- Printer
- Webcam
- Floppy Disk Drive
- Compact Disc
- Program
- Incognito Mode
- Electronic Mail (E-Mail)
- Server
- Cloud Hosting
- Minicomputers
- Supercomputer
- Bit
- Byte
- Kilobyte
- Megabyte
- Terabyte
- Yottabyte
- Zettabyte
- Exabyte
- Petabyte
- JEDEC
- Hub
- Block Storage
- Username
- URL
- Num Lock
- BIOS
- Bluetooth
Computer - Primary Memory
Memory is required in computers to store data and instructions. Memory is physically organized as a large number of cells that are capable of storing one bit each. Logically they are organized as groups of bits called words that are assigned an address. Data and instructions are accessed through these memory address. The speed with which these memory addresses can be accessed determines the cost of the memory. Faster the memory speed, higher the price.
Computer memory can be said to be organized in a hierarchical way where memory with the fastest access speeds and highest costs lies at the top whereas those with lowest speeds and hence lowest costs lie at the bottom. Based on this criteria memory is of two types primary and secondary. Here we will look at primary memory in detail.
What is Primary Memory?
The primary memory (or main memory) is a part of computer memory that can be directly accessed by the computer CPU. The primary memories are faster and store data temporarily. The data stored in the primary memory is erased when the computer is OFF. Thus, these memories are also known as volatile memory.
Features of Primary Memory
The main features of primary memory, which distinguish it from secondary memory are −
- It is accessed directly by the processor
- It is the fastest memory available
- Each word is stored as well as
- It is volatile, i.e. its contents are lost once power is switched off
As primary memory is expensive, technologies are developed to optimize its use. These are broad types of primary memory available.
Types of Primary Memory
The following are the main types of primary memory:
- RAM
- ROM
- Cache Memory

1. RAM (Random Access Memory)
RAM stands for Random Access Memory. The processor accesses all memory addresses directly, irrespective of word length, making storage and retrieval fast. RAM is the fastest memory available and hence most expensive. These two factors imply that RAM is available in very small quantities of up to 1GB. RAM is volatile but my be of any of these two types
i. DRAM (Dynamic RAM)
Each memory cell in a DRAM is made of one transistor and one capacitor, which store one bit of data. However, this cell starts losing its charge and hence data stored in less than thousandth of a second. So it needs to be refreshed thousand times a second, which takes up processor time. However, due to small size of each cell, one DRAM can have large number of cells. Primary memory of most of the personal computers is made of DRAM.
ii. SRAM (SRAM)
Each cell in SRAM is made of a flip flop that stores one bit. It retains its bit till the power supply is on and doesnt need to be refreshed like DRAM. It also has shorter read-write cycles as compared to DRAM. SRAM is used in specialized applications.
iii. VRAM (Video Random-Access Memory)
Video Random-Access Memory (VRAM) is a type of memory that is intended to work with video cards and graphics processing units (GPUs). It's a special place in memory where graphics data like images, frame buffers, and other graphics-related data can be stored.
VRAM is designed to handle the fast, parallel processing demands of rendering graphics and images on computer displays. It enables GPUs to quickly access large amounts of graphic data, which lets them render complex scenes, textures, and animations.
2. ROM (Read Only Memory)
ROM stands for Read Only Memory. As the name suggests, ROM can only be read by the processor. New data cannot be written into ROM. Data to be stored into ROM is written during the manufacturing phase itself. They contain data that does not need to be altered, like booting sequence of a computer or algorithmic tables for mathematical applications. ROM is slower and hence cheaper than RAM. It retains its data even when power is switched off, i.e. it is non-volatile. ROM cannot be altered the way RAM can be but technologies are available to program these types of ROMs −
i. PROM (Programmable ROM)
PROM can be programmed using a special hardware device called PROM programmer or PROM burner.
ii. EPROM (Erasable Programmable ROM)
EPROM can be erased and then programmed using special electrical signals or UV rays. EPROMs that can be erased using UV rays are called UVEPROM and those that can be erased using electrical signals are called EEPROM. However, handling electric signals is easier and safer than UV rays.
iii. EEPROM (Electrically Erasable Programmable Read Only Memory)
Information is written by the user using an EPROM programmer. Unlike EPROM, EEPROM data is erased using electrical signals rather than UV light. EEPROM allows selective data erasure and is more expensive than other ROM types. It is gaining popularity due to its flexibility.
3. Cache Memory
The small piece of high speed volatile memory available to the processor for fast processing is called cache memory. Cache may be a reserved portion of main memory, another chip on CPU or an independent high speed storage device. Cache memory is made of fast speed SRAMs. The process of keeping some data and instructions in cache memory for faster access is called caching. Caching is done when a set of data or instructions is accesses again and again.
Whenever the processor needs any piece of data or instructions, it checks the cache first. If it is unavailable there, then the main memory and finally secondary memory is accessed. As cache has very high speed, time spent in accessing it every time is negligible as compared to time saved if data indeed is in the cache. Finding data or instruction in cache is called cache hit.