1. What is Computer Memory?
Computer memory is a physical device used to store data, instructions, and results temporarily or permanently.
It allows the computer to process information quickly and efficiently.
Why Memory is Required?
- To store program instructions
- To store input data
- To store intermediate results
- To store final output
Without memory, a computer cannot function.
2. Memory Organization & Hierarchy
Computer memory is organized in a hierarchical manner based on:
- Speed
- Cost
- Storage capacity
Memory Hierarchy Order:
- Register Memory (Fastest, Costliest)
- Cache Memory
- Primary Memory (RAM & ROM)
- Secondary Memory (Slowest, Cheapest)
👉 Faster memory = Higher cost & lower capacity
3. Types of Computer Memory
Computer memory is mainly divided into:
- Primary Memory
- Secondary Memory
- Cache Memory
- Register Memory
4. Primary Memory (Main Memory)
Primary memory is the memory that is directly accessed by the CPU.
Characteristics:
- High speed
- Limited storage
- Expensive
- Mostly volatile
Primary memory stores currently running programs and data.
5. Types of Primary Memory
Primary memory is classified into:
- RAM (Random Access Memory)
- ROM (Read Only Memory)
- Cache Memory
6. RAM (Random Access Memory)
RAM is a volatile memory used to store data and programs that are currently in use.
Key Features:
Data lost when power OFF
- Fast read & write
- Supports multitasking
- Direct CPU access
How RAM Works:
- Programs load from storage to RAM
- CPU accesses RAM for execution
- More RAM = Bett
er performance
7. Types of RAM
(a) SRAM – Static RAM
- Very fast
- No refresh required
- Expensive
- Used as cache memory
(b) DRAM – Dynamic RAM
- Slower than SRAM
- Needs frequent refresh
- Cheap
- Used as main memory
(c) VRAM – Video RAM
Dedicated graphics memory
- Used in GPUs
- Stores textures & frames
8. SRAM vs DRAM (Important Theory)
|
Feature |
SRAM |
DRAM |
|
Speed |
Very High |
Moderate |
|
Refresh |
Not required |
Required |
|
Cost |
Expensive |
Cheap |
|
Storage |
Small |
Large |
|
Usage |
Cache |
Main Memory |
9. ROM (Read Only Memory)
ROM is a non-volatile memory that stores permanent instructions needed to start a computer.
Key Features:
- Data retained after power OFF
- Mostly read-only
- Used in booting
10. Types of ROM
(a) PROM
Programmed once
- Cannot be changed
(b) EPROM
- Erased using UV light
- Reprogrammable
(c) EEPROM
- Electrically erasable
- Selective erase possible
(d) Flash ROM
- Faster version of EEPROM
- Used in USB, SSD, memory cards
11. Cache Memory
Cache memory is a small, high-speed memory placed between CPU and RAM.
Purpose:
- Reduce access time
- Increase CPU speed
- Store frequently used data
12. Levels of Cache Memory
Cache memory is divided into three levels:
L1 Cache
- Fastest
- Smallest
- Inside CPU core
L2 Cache
- Slower than L1
- Larger size
L3 Cache
- Largest
- Shared among cores
13. Register Memory
Register memory is the fastest memory located inside the CPU.
Characteristics:
- Very small
- Extremely fast
- Stores instructions & addresses
Types of Registers:
- Program Counter (PC)
- Instruction Register (IR)
- Memory Address Register (MAR)
- Memory Data Register (MDR)
SECONDARY MEMORY (AUXILIARY MEMORY) – COMPLETE THEORY
🔷 1. What is Secondary Memory?
Secondary memory is a type of computer memory used to store data permanently.
Unlike primary memory, it does not lose data when power is OFF.
Why Secondary Memory is Needed?
- Primary memory is expensive & limited
- Data like:
- Operating system
- Software
- Videos, photos, documents
must be stored for long time
👉 This permanent storage is called secondary memory.
🔷 2. Characteristics of Secondary Memory
- Non-volatile
- Large storage capacity
- Slower than RAM
- Cheap compared to RAM
- Not directly accessed by CPU
🔷 3. Classification of Secondary Memory
Secondary memory is divided into:
- Magnetic Storage
- Solid-State Storage (Flash)
- Optical Storage
- Cloud Storage
🔶 4. MAGNETIC STORAGE
🔹 4.1 Hard Disk Drive (HDD)
What is HDD?
A Hard Disk Drive is a magnetic storage device used to store large amounts of data permanently.
🔧 Internal Structure of HDD
An HDD consists of:
- Platters – Circular magnetic disks
- Spindle – Rotates platters
- Read/Write Head – Reads & writes data
- Actuator Arm – Moves the head
⚙ How HDD Works (Step-by-Step)
- Platters rotate at high speed (5400–15000 RPM)
- Data is stored as magnetic patterns (0s and 1s)
- Read/write head floats very close to platter
- Head magnetizes or detects magnetic spots
- Data is read or written sector by sector
👉 Data access is mechanical, so it is slower.
✔ HDD Capacity (Easy Understanding)
- Old HDD: 80 GB – 500 GB
- Common HDD: 1 TB – 4 TB
- Server HDD: 10 TB – 22 TB
✔ Advantages of HDD
- Very cheap
- Huge storage
- Good for backups
❌ Disadvantages of HDD
- Slow
- Noisy
- Breaks easily (moving parts)
🔹 4.2 Magnetic Tape (Brief – Not Deep)
- Used for backup
- Sequential access
- Very cheap
- Very slow
👉 Internal working not required for students
🔶 5. SOLID-STATE STORAGE (FLASH MEMORY)
🔹 5.1 Solid State Drive (SSD)
What is SSD?
SSD is a non-volatile storage device that stores data using flash memory, not moving parts.
⚙ How SSD Works (Simple Explanation)
- Data stored in memory cells
- Each cell stores electric charge
- Charge = 1, No charge = 0
- Controller manages reading/writing
- No moving parts → very fast
👉 SSD works like advanced pen drive
✔ SSD Capacity
- Common: 256 GB, 512 GB, 1 TB
- High-end: 2 TB – 8 TB
- Enterprise: 30 TB+
✔ Advantages of SSD
- Very fast
- Silent
- Low power consumption
- Durable
❌ Disadvantages of SSD
- Expensive
- Limited write cycles (advanced tech reduces this)
🔹 HDD vs SSD (Very Important)
|
Feature |
HDD |
SSD |
|
Speed |
Slow |
Very Fast |
|
Parts |
Mechanical |
No moving parts |
|
Noise |
Yes |
No |
|
Power |
High |
Low |
|
Cost |
Cheap |
Costly |
|
Durability |
Low |
High |
🔹 5.2 USB Flash Drive (Pen Drive)
What is Pen Drive?
- Portable flash storage
- Uses same technology as SSD
- Plug & play device
Capacity:
- 8 GB – 256 GB (common)
- Up to 1 TB
👉 Internal working not required deeply
🔹 5.3 Memory Cards (SD / microSD)
- Used in mobiles, cameras
- Flash memory based
- Portable & small
Capacity:
- 16 GB – 1 TB
🔶 6. OPTICAL STORAGE
🔹 6.1 CD (Compact Disc)
- Uses laser light
- Data stored as pits & lands
Capacity:
- CD-ROM: 700 MB
🔹 6.2 DVD
- Improved CD
- Smaller pits → more data
Capacity:
- Single layer: 4.7 GB
- Dual layer: 8.5 GB
🔹 6.3 Blu-Ray Disc
- Uses blue laser
- Very high density
Capacity:
- 25 GB – 128 GB
👉 Internal working not mandatory for exams
🔶 7. CLOUD STORAGE
What is Cloud Storage?
Data stored on remote servers accessed via internet.
Examples:
- Google Drive
- OneDrive
- Dropbox
Capacity:
- Free: 5–15 GB
- Paid: Unlimited (theoretically)
👉 Internal working NOT required
🔷 8. Summary Table (Easy Teaching)
|
Storage |
Technology |
Max Capacity |
|
HDD |
Magnetic |
22 TB |
|
SSD |
Flash |
30 TB+ |
|
Pen Drive |
Flash |
1 TB |
|
SD Card |
Flash |
1 TB |
|
CD |
Optical |
700 MB |
|
DVD |
Optical |
8.5 GB |
|
Blu-Ray |
Optical |
128 GB |
|
Cloud |
Network |
Unlimited |
One Liner Questions
Part 1: Basic Computer Memory (RAM & ROM)
- Which memory is nearest to CPU? Register.
- Cache memory is made up of? Static RAM (SRAM).
- RAM is located in? The Motherboard.
- Temporary memory is? RAM.
- Permanent memory is? ROM.
- Instructions written in ROM are called? Firmware.
- Transistors are used in? SRAM (Static RAM).
- Capacitors are used in? DRAM (Dynamic RAM).
- Which memory must be refreshed many times per second? DRAM.
- Access time is faster for? SRAM.
- SDRAM stands for? Synchronous Dynamic Random Access Memory.
- The most advanced form of ROM is? EEPROM.
- Which memory helps in booting of computer? ROM.
- Which type of memory cannot be erased or reprogrammed? PROM.
- The next generation of SDRAM is? DDR.
- In EEPROM, data is erased with the help of? Electric Signal.
- Who invented RAM & ROM? Robert Heath Dennard.
- Founder of EEPROM? Fujio Masuoka.
- Smallest entity of memory? Cell (Memory cell connected with motherboard).
- The primary memory is also called? Main memory of a personal computer.
- Computer consists of? RAM & ROM.
- The root sector files of the system are stored in? ROM.
- RAM is ____ and ____? Volatile and Temporary.
- Which of the following has the fastest speed in the computer memory hierarchy? Register memory.
- Which computer memory chip allows simultaneous both read and write operations? RAM.
- Which type of ROM is used for erasing purpose only? EEPROM.
- How many types of RAM are available? 2 (SRAM and DRAM).
- The computer internal memory consists of? CPU registers, main memory, and cache memory.
- Is Primary storage fast and expensive compared to secondary storage? Yes.
- Which of the following can be used as main memory (CD, DVD, HD)? None of these.
- How can you measure the speed of RAM? Bus Speed / Megahertz / Clock Speed.
- RAM is volatile in nature because? It must need power supply continuously to retain data.
- Which type of RAM can be used as a cache memory? SRAM.
- Which memory is used in digital camera? Flash memory.
- Which type of ROM has to be custom built by the factory? Mask ROM (MROM) / Tailored ROM.
- The demerit of Mask ROM is? It cannot be reprogrammed (Data changes nahi ho sakti).
Part 2: Advanced Memory Specs & Types
- Mask ROM chips or MROM chips are used in? Network operating systems and Server.
- What is the major disadvantage of mask ROM? It cannot be reprogrammed if stored data needs to be changed.
- MROM chips are made up of? Integrated Circuits.
- What is the max time required before a dynamic RAM must be refreshed? 2ms (milliseconds).
- Which is the basic refresh mode for dynamic RAM? Burst Refresh and Distributed Refresh.
- Flash memory is also called? Flash RAM.
- The contents of memory into blocks of same size is called? Paging (ROM / EPROM / EEPROM context).
- The software substituted for hardware and stored in ROM? Firmware.
Storage of firmware is? ROM.
- RAM is also known as? RWM (Read Write Memory).
- What type of DRAM is synchronized with the system clock? SDRAM.
- ROM is needed for storing an initial program called? Bootstrap Loader.
- EPROM uses an array of? MOSFETs (n-channel enhancement type).
- EPROM was invented by? Dov Frohman of Intel in 1971.
- Major disadvantage of RAM? It is volatile.
- ROM retains data when? Power is ON or OFF (System is down).
- EEPROM is used in computers and other electronic devices to store? Relatively small amounts of data but allowing individual bytes to be erased and reprogrammed.
Part 3: Cache Memory & Mapping
- Cache Memory is the? 2nd Fastest memory.
Cache is a? Temporary and Volatile memory.
- Cache is part of? Main memory.
- Cache is located between? CPU and RAM.
- Cache holds? Frequently used instructions and data.
- Cache is connected with? Motherboard.
- Cache Hierarchy (L1 to L4): L1=Registers, L2=Cache Memory, L3=Main Memory, L4=Secondary Memory.
- L1 Cache size: 2KB to 64KB (by default).
- L2 Cache size: 64KB to 2MB.
- L3 Cache size: 1MB to 8MB.
- Cache Performance is measured by? Hit Ratio.
- Cache size is often restricted to? 8KB to 64KB (Normal).
- What is the high speed memory between the main memory and CPU? Cache memory.
Whenever data is found in the cache memory it is called? Hit.
- Data not found in cache memory is called? Miss.
- Transfer between cache & CPU is? Word Transfer.
- Transfer between main memory & cache is? Block Transfer.
- What type of RAM does cache use? SRAM.
- Disadvantage of cache memory? Limited capacity.
- Where is Register located? Very close to the CPU.
- Cache memory is also
called? Cache Store / RAM Cache.
- LRU stands for? Least Recently Used.
- What is LRU? A replacement policy used to make room for new elements by discarding least recently used data first.
- Why is LRU used? For minimizing memory and processor speed mismatch.
- The performance of cache memory is frequently measured in terms of? Hit Ratio.
- What is the technique by which main memory is mapped to cache? Cache Mapping (Content/Block from main memory to cache).
- How many types of Cache mapping are there? 3 (Direct, Fully Associative, K-way Set Associative).
- In which mapping can data be mapped anywhere in the cache? Associative mapping.
- In mapping functions, memory blocks are mapped onto cache with the help of? Mapping functions.
- During a write operation if the required block is not present in cache then? Write miss occurs.
- The bit used to indicate whether the block was recently used or not? Dirty bit.
- Cache memory works on the principle of? Locality of Reference.
Part 4: CPU Registers
- Registers are the? 1st fastest memory.
- Where do Registers reside? Inside the CPU.
- A collection of Flip-Flops is called? Register.
Registers hold data of? 32-bit or 64-bit.
- Speed of CPU depends on? Number of bits of Register.
- Functions of Register? 1) Fetch, 2) Decode, 3) Execute.
- Accumulator Register: Stores data for ALU.
- Address Register: Stores Address (Not visible register).
- Data/Buffer Register: Stores Data (File / Folder).
- Instruction Register: Stores Instruction.
- Program Counter: Points to the next instruction.
- Temporary Register: Stores temporary data.
- Input/Output Register: Store I/O Data.
- Size of Registers: Input/Output=8 bits, Address=12 bits, Program Counter=12 bits, Data Register=16 bits, Instruction=16 bits, Accumulator=16 bits, Temporary=16 bits.
- Which memory is inside the CPU? Register (Close to CPU - 1st Cache, 2nd Register).
- The fastest memory is? Register.
- A register is a group of? Flip-Flops.
- A Flip-Flop is a type of? Sequential Circuit (Latches).
- The Program Counter (PC) contains the? Address of the next instruction to be executed.
- The length of a register is called? Word size / Byte size.
- What tells the number of bits a register can store? Word size.
- Memory Buffer Register (MBR) holds the? Content of the accessed memory word.
- Which of the following is NOT a visible register? Memory Address Register (MAR).
- Which register is used to store data and intermediate results produced by ALU? Accumulator.
A register is defined as? A group of Flip-Flops suitable for storing binary information.
Part 5: Advanced Architecture & Performance
- What is the primary purpose of the Memory Management Unit (MMU)? It translates virtual addresses into physical addresses.
- What is a "Cache Flush"? The process of clearing data from the cache to ensure the next data read comes from the main memory.
- What is "Thrashing" in memory? A state where the system spends more time swapping data between RAM and Disk than executing instructions.
- Which memory uses a "1-transistor, 1-capacitor" cell design? DRAM.
- Which memory uses a "6-transistor" cell design? SRAM.
- What is the difference between Write-Through and Write-Back cache? Write-Through updates RAM immediately; Write-Back updates RAM only when the cache block is replaced.
- What is "Dual-Channel" RAM? A technology that doubles the data transfer rate between the RAM and the memory controller.
Part 6: Modern RAM & Storage Technology
- What does "Latency" mean in RAM? The delay between a command being entered and the data being available (often measured in Clock Cycles).
- What is "Virtual Memory"? A memory management technique that uses the Hard Drive to simulate additional RAM.
- What is the main difference between RAM and an SSD? RAM is volatile (temporary) and much faster; SSD is non-volatile (permanent) and slower.
- What is "Non-Volatile RAM" (NVRAM)? RAM that retains data even when power is lost (e.g., used in routers).
- What is "ECC RAM"? Error Correction Code RAM, which can detect and fix internal data corruption (used in servers).
Part 7: Specific Register Details
- What is the "Instruction Pointer" (IP)? Another name for the Program Counter in x86 architecture.
- Which register holds the current instruction being decoded? The Instruction Register (IR).
- What is a "General Purpose Register" (GPR)? A register that can be used by programmers for both data and addresses (e.g., EAX, EBX).
- What happens to the Program Counter after a "Fetch" operation? It is automatically incremented to point to the next instruction.
- What is a "Stack Pointer" (SP)? A register that stores the address of the last program request in a stack memory.
Knowledge Check: Input Output Devices
Welcome to the Input Output Devices MCQ Challenge. This section is specifically curated to align with the JOA (IT) 2026 syllabus. By practicing these 10 targeted questions, you will strengthen your understanding of concepts related to Input Output Devices. Each question includes a detailed explanation to help you bridge the gap between theory and practical application.
Question 30 : A Barcode Reader uses what to read data?
Question 31 : QR code stands for:
Question 32 : Which scanner is best for high-quality scanning of photographic film?
Question 33 : Biometric sensors are used for:
Question 34 : The resolution of a scanner is measured in:
Question 35 : Which device is used to input sound into a computer?
Question 36 : A Webcam is an example of an:
Question 37 : Voice recognition software requires which hardware to function?
Question 38 : Which device is used for capturing "live" motion for video conferencing?
Question 39 : MIDI stands for:
Discover more technical MCQs by navigating to the next page.
Exam Preparation Strategy for Input Output Devices
To excel in the JOA (IT) 2026 exam, we recommend reviewing the Study Material tab first to build a conceptual foundation before attempting these MCQs. Understanding the Input Output Devices lifecycle and its implementation is crucial for scoring high in the computer awareness section. Our content is updated regularly to match the latest HPSSC/HPPSC exam patterns.