Class 11-12

Class 11 Computer Science

BSEB 100-Day Study Plan
Notes, MCQs, and Solutions

Explore Class 11

Class 12 Computer Science

Advanced Topics & Practical Guide
Board Exam Preparation

Explore Class 12

Day 17: Memory Architecture and Hierarchy – RAM, ROM, Cache, Registers | Class 11

Learn about Memory Architecture in Day 17 of Class 11. Explore RAM, ROM, Cache, Registers, and the memory hierarchy in computer systems.

Day 17 – Chapter 3: Memory Architecture and Hierarchy

Class 11 Computer Science

3.12 Introduction to Memory Architecture (मेमोरी आर्किटेक्चर का परिचय)

Memory architecture refers to the organization and structure of a computer's memory system. It includes different types of memory that store data and instructions for processing.
मेमोरी आर्किटेक्चर कंप्यूटर की मेमोरी प्रणाली के संगठन और संरचना को संदर्भित करता है। इसमें डेटा और निर्देशों को प्रोसेसिंग के लिए स्टोर करने वाली विभिन्न प्रकार की मेमोरी शामिल होती है।

3.13 Types of Memory (मेमोरी के प्रकार)

3.13.1 Primary Memory (प्राथमिक मेमोरी)

Primary memory is directly accessible by the CPU and is used for storing data temporarily.
प्राथमिक मेमोरी CPU द्वारा सीधे एक्सेस की जा सकती है और अस्थायी रूप से डेटा स्टोर करने के लिए उपयोग की जाती है।

  • RAM (Random Access Memory): Volatile memory used for temporary storage during processing.
  • ROM (Read-Only Memory): Non-volatile memory used for permanent storage of essential instructions.

3.13.2 Secondary Memory (द्वितीयक मेमोरी)

Secondary memory is used for long-term data storage and is not directly accessible by the CPU.
द्वितीयक मेमोरी दीर्घकालिक डेटा स्टोरेज के लिए उपयोग की जाती है और CPU द्वारा सीधे एक्सेस नहीं की जा सकती।

  • Examples: Hard Disk Drives (HDD), Solid-State Drives (SSD).

3.13.3 Cache Memory (कैश मेमोरी)

Cache memory is a small, high-speed memory located close to the CPU. It stores frequently used data to improve processing speed.
कैश मेमोरी एक छोटी, उच्च-गति वाली मेमोरी है जो CPU के पास स्थित होती है। यह प्रोसेसिंग गति में सुधार के लिए बार-बार उपयोग किए जाने वाले डेटा को स्टोर करती है।

  • Types: L1, L2, and L3 Cache.

3.13.4 Registers (रजिस्टर)

Registers are small, high-speed storage units in the CPU used for temporary data storage during execution.
रजिस्टर CPU में छोटे, उच्च-गति वाले स्टोरेज यूनिट होते हैं, जो निष्पादन के दौरान अस्थायी डेटा स्टोरेज के लिए उपयोग किए जाते हैं।

  • Examples: Program Counter, Accumulator.

3.14 Memory Hierarchy (मेमोरी पदानुक्रम)

The memory hierarchy represents the structure of memory arranged according to speed, cost, and size:
मेमोरी पदानुक्रम मेमोरी की संरचना को गति, लागत, और आकार के अनुसार व्यवस्थित करता है:

  • Registers: Fastest and smallest memory.
  • Cache Memory: Very fast but slightly larger than registers.
  • Primary Memory: RAM and ROM, used for active processes.
  • Secondary Memory: Large capacity for long-term storage.

Diagram of Memory Hierarchy: Registers → Cache → RAM → Secondary Storage

Practice Questions (अभ्यास प्रश्न)

Multiple Choice Questions (MCQs)

  1. Which memory is volatile?
    (a) RAM | (b) ROM | (c) SSD | (d) HDD
  2. What is the main function of cache memory?
    (a) Long-term storage | (b) Temporary data storage | (c) Store frequently used data | (d) Permanent instructions
  3. What is the fastest type of memory?
    (a) Cache | (b) RAM | (c) Registers | (d) Secondary Memory
  4. Which memory is used to store the BIOS?
    (a) RAM | (b) ROM | (c) Cache | (d) Registers
  5. What is the largest type of memory in terms of capacity?
    (a) Cache | (b) Secondary Memory | (c) Registers | (d) RAM
  6. What is an example of secondary memory?
    (a) SSD | (b) RAM | (c) Cache | (d) Registers
  7. Which register keeps track of the next instruction to execute?
    (a) Accumulator | (b) Program Counter | (c) Memory Address Register | (d) Instruction Register
  8. Which type of memory is directly accessible by the CPU?
    (a) Secondary Memory | (b) Primary Memory | (c) Cache Memory | (d) Both b and c
  9. What is the primary characteristic of ROM?
    (a) Volatile | (b) Non-volatile | (c) Temporary storage | (d) High-speed
  10. Which memory is closest to the CPU?
    (a) Registers | (b) Cache | (c) RAM | (d) Secondary Memory

Answers to MCQs:

1: (a), 2: (c), 3: (c), 4: (b), 5: (b), 6: (a), 7: (b), 8: (d), 9: (b), 10: (a)

Short Answer Questions (लघु उत्तरीय प्रश्न)

  1. What is cache memory?
    Answer: Cache memory is high-speed memory close to the CPU that stores frequently used data.
  2. What are registers used for?
    Answer: Registers are used for temporary storage of data during execution.
  3. What is the difference between RAM and ROM?
    Answer: RAM is volatile and temporary, while ROM is non-volatile and stores permanent instructions.
  4. What is the purpose of secondary memory?
    Answer: It provides long-term storage for data and programs.
  5. Why is memory hierarchy important?
    Answer: It balances speed, cost, and size for efficient data processing.

Long Answer Questions (दीर्घ उत्तरीय प्रश्न)

  1. Explain the types of memory in detail with examples.
  2. Discuss the memory hierarchy and its importance in computer systems.
  3. Differentiate between primary, secondary, cache memory, and registers.

Post a Comment