Informatics Practices

Computer Memory | Units of Memory, Primary & Secondary Memory | Complete Notes | CBSE Class 11 Informatics Practices (2026–27)

Class 11 · Informatics Practices

Computer Memory | Units of Memory, Primary & Secondary Memory

A computer needs memory to store data, instructions, and the results of processing. Memory enables the computer to perform tasks efficiently by holding information temporarily or permanently. Depending on its purpose, computer memory is broadly classified into Primary Memory and Secondary Memory.


What is Computer Memory?

Definition

Computer Memory is the storage area of a computer where data, instructions, and processed information are stored for current or future use.


Units of Memory

The storage capacity of a computer is measured using different memory units. Each larger unit is approximately 1,024 times the previous unit in binary-based storage measurements.

Unit Value
Bit (b) Smallest unit of data (0 or 1)
Nibble 4 Bits
Byte (B) 8 Bits
Kilobyte (KB) 1,024 Bytes
Megabyte (MB) 1,024 KB
Gigabyte (GB) 1,024 MB
Terabyte (TB) 1,024 GB
Petabyte (PB) 1,024 TB

Types of Computer Memory

Type Purpose
Primary Memory Stores data and instructions currently being used by the CPU.
Secondary Memory Stores data and programs permanently.

Primary Memory

Definition

Primary Memory, also known as Main Memory, is directly accessed by the CPU and stores the data and instructions required during processing.

Characteristics

  • Fast access speed.
  • Limited storage capacity.
  • Directly accessed by the CPU.
  • Mainly used during processing.

RAM (Random Access Memory)

RAM is a type of primary memory that temporarily stores data and programs currently in use. It is a volatile memory, which means its contents are lost when the power is turned off.

Examples

  • Running a web browser.
  • Editing a document.
  • Playing a game.

ROM (Read Only Memory)

ROM is a type of primary memory that stores essential instructions required to start the computer. It is a non-volatile memory, meaning its contents remain even when the computer is switched off.

Purpose

  • Stores firmware.
  • Helps in the booting process.

Secondary Memory

Definition

Secondary Memory is used to store data, software, and files permanently. It retains information even when the computer is switched off.

Characteristics

  • Non-volatile.
  • Large storage capacity.
  • Slower than primary memory.
  • Used for long-term storage.

Common Secondary Storage Devices

Device Purpose
Hard Disk Drive (HDD) Permanent storage using magnetic disks.
Solid State Drive (SSD) Fast permanent storage using flash memory.
Pen Drive Portable flash storage.
Memory Card Portable storage used in phones and cameras.
CD/DVD Optical storage media.

Hard Disk Drive (HDD)

An HDD stores data on rotating magnetic disks. It provides large storage capacity at a relatively low cost.


Solid State Drive (SSD)

An SSD stores data using flash memory. Since it has no moving parts, it is faster, quieter, and more durable than an HDD.


RAM vs ROM

Feature RAM ROM
Nature Volatile Non-volatile
Purpose Temporary storage Stores firmware
Data Retention Lost when power is off Retained after power is off
Read/Write Can be read and written Mainly read-only

Primary Memory vs Secondary Memory

Feature Primary Memory Secondary Memory
Access Directly by CPU Through I/O operations
Speed Fast Slower
Storage Capacity Smaller Larger
Nature Temporary (mainly) Permanent

HDD vs SSD

Feature HDD SSD
Technology Magnetic disks Flash memory
Speed Moderate Very Fast
Moving Parts Yes No
Durability Lower Higher
Cost Lower Higher

Real-Life Examples

Situation Memory Used
Opening a presentation RAM
Saving the presentation HDD/SSD
Starting the computer ROM
Copying files to a pen drive Pen Drive

Common Errors

Mistake Correct Concept
RAM stores data permanently. RAM is volatile and stores data temporarily.
ROM loses data after shutdown. ROM is non-volatile.
Primary and secondary memory are the same. Primary memory is mainly temporary and directly accessed by the CPU, while secondary memory provides permanent storage.
SSD and HDD use the same technology. HDD uses magnetic disks; SSD uses flash memory.

Quick Revision

Concept Remember
Bit Smallest unit of data
Byte 8 Bits
RAM Volatile primary memory
ROM Non-volatile primary memory
Secondary Memory Permanent storage
SSD Fast flash-based storage

CBSE Exam Tips

  • Remember the order of memory units from Bit to Petabyte.
  • Differentiate clearly between RAM and ROM.
  • Know the differences between primary and secondary memory.
  • Compare HDD and SSD based on speed, technology, and durability.
  • Understand which memory is volatile and which is non-volatile.

Summary

Computer memory enables a computer to store data, instructions, and processed information. Primary memory, including RAM and ROM, supports the CPU during processing, while secondary memory provides permanent storage using devices such as HDDs, SSDs, pen drives, and memory cards. Understanding memory units, storage devices, and the differences between various types of memory is essential for efficient computer usage and forms an important part of the CBSE Class 11 Informatics Practices syllabus.