Memory Hierarchy - मेमोरी हायरार्की

Memory Hierarchy refers to the arrangement of different types of memory and storage in a computer system according to their speed, cost, capacity, and access time. It helps the computer achieve high performance while keeping the overall storage cost reasonable.

मेमोरी हायरार्की (Memory Hierarchy) कंप्यूटर सिस्टम में विभिन्न प्रकार की मेमोरी और स्टोरेज को उनकी गति, लागत, क्षमता और Access Time के आधार पर व्यवस्थित करने की व्यवस्था है। इसका उद्देश्य कम लागत में कंप्यूटर का बेहतर प्रदर्शन प्राप्त करना है।

Memory Hierarchy Levels are as follows मेमोरी हायरार्की के प्रमुख स्तर निम्न हैं:-

Registers → Cache Memory → Main Memory → Secondary Memory → Tertiary Memory

रजिस्टर → कैश मेमोरी → मुख्य मेमोरी → द्वितीयक मेमोरी → तृतीयक मेमोरी

1. Registers – रजिस्टर

Registers are the fastest memory located inside the CPU. They temporarily hold data, instructions, and addresses being processed by the CPU.

रजिस्टर CPU के अंदर स्थित सबसे तेज मेमोरी होते हैं। इनमें CPU द्वारा वर्तमान में प्रोसेस किए जा रहे डेटा, निर्देश और एड्रेस को अस्थायी रूप से रखा जाता है।

Examples: PC, IR, MAR, MDR, ACC

Registers = Fastest (सबसे तेज़) + Smallest (सबसे छोटी)

2. Cache Memory – कैश मेमोरी

Cache is a small and very fast memory placed between the CPU and main memory. It stores frequently used data and instructions so that the CPU can access them quickly. It is a type of SRAM.

कैश मेमोरी CPU और Main Memory के बीच कार्य करने वाली छोटी और बहुत तेज मेमोरी है। इसमें बार-बार उपयोग होने वाले डेटा और निर्देश रखे जाते हैं। यह SRAM का एक रूप है। 

Examples: L1, L2 and L3 Cache

Cache = CPU की Fast Helper Memory (सहयोगी मेमोरी)

3. Main Memory – मुख्य मेमोरी

Main memory is the primary memory used to store programs and data currently being used by the computer. RAM is the most common example.

Main Memory कंप्यूटर की प्राथमिक मेमोरी है, जिसमें वर्तमान में उपयोग हो रहे प्रोग्राम और डेटा रखे जाते हैं।

Examples: RAM – DRAM, SRAM

Important: RAM is volatile, meaning its data is lost when power is switched off.

CPCT Trick:
RAM = Running/Current Work

---

4. Secondary Memory – द्वितीयक मेमोरी

Secondary memory is non-volatile storage used to store data permanently. It generally has greater capacity than main memory but is slower.

Secondary Memory गैर-वाष्पशील (Non-volatile) मेमोरी है, जिसका उपयोग डेटा को लंबे समय तक सुरक्षित रखने के लिए किया जाता है।

Examples: HDD, SSD, Pen Drive, Memory Card, CD/DVD

CPCT Trick:
Secondary = Permanent Storage

---

5. Tertiary Memory – तृतीयक मेमोरी

Tertiary memory means third-level storage. It is mainly used for backup, archival and large-scale storage. It generally provides very large capacity but slower access.

Tertiary Memory का अर्थ तृतीयक या तीसरे स्तर की मेमोरी है। इसका उपयोग मुख्यतः Backup और Archive (दीर्घकालीन संग्रहण) के लिए किया जाता है।

Examples: Magnetic Tape, Optical Jukebox and large archival storage systems.

CPCT Trick:
Tertiary = Third Level = Backup/Archive

---

Memory Hierarchy: Speed vs Capacity

As we move upward in the memory hierarchy:

- Speed increases
- Cost per bit increases
- Capacity decreases
- Access becomes faster

जैसे-जैसे हम मेमोरी हायरार्की में ऊपर जाते हैं:

- गति बढ़ती है
- प्रति बिट लागत बढ़ती है
- क्षमता कम होती है
- Access Time कम होता है

As we move downward:

- Speed decreases
- Cost per bit decreases
- Capacity increases
- Storage becomes more economical

नीचे की ओर जाने पर:

- गति कम होती है
- प्रति बिट लागत कम होती है
- क्षमता बढ़ती है
- स्टोरेज अधिक किफायती होता है

---

CPCT Memory Trick

R → C → R → S → B

Registers → Cache → RAM → Storage → Backup

याद रखें:

“ऊपर = तेज, छोटा और महंगा”
“नीचे = धीमा, बड़ा और सस्ता”

Quick Revision

Memory| Speed| Capacity| Main Use
Registers| Fastest| Very Small| CPU Processing
Cache| Very Fast| Small| Frequently Used Data
RAM| Fast| Medium| Current Programs & Data
Secondary| Slow| Large| Permanent Storage
Tertiary| Very Slow| Very Large| Backup & Archive

---

Important CPCT Questions

Q1. Which is the fastest memory in a computer?
Answer: Registers

Q2. Which memory acts as a bridge between CPU and RAM?
Answer: Cache Memory

Q3. Which memory is volatile?
Answer: RAM

Q4. Which memory is used for permanent storage?
Answer: Secondary Memory

Q5. What does Tertiary Memory mean?
Answer: Third-level storage, mainly used for backup and archival purposes.

Q6. Which memory has the highest speed but smallest capacity?
Answer: Registers

---

Conclusion

Memory hierarchy is an important computer fundamentals topic for CPCT examination preparation. Remember the sequence:

Registers → Cache → RAM → Secondary Storage → Tertiary Storage

Fastest & Costliest → Slowest & Cheapest
Smallest Capacity → Largest Capacity

कंप्यूटर मेमोरी हायरार्की CPCT परीक्षा के लिए एक महत्वपूर्ण विषय है। ऊपर से नीचे जाते समय सामान्यतः मेमोरी की गति कम होती है, जबकि क्षमता बढ़ती जाती है।

For more CPCT study notes, MCQs, computer fundamentals and exam updates, visit:

CPCT MP Blog: https://cpctmp.blogspot.com/


Comments

Popular posts from this blog

CPCT KEYBOARD LAYOUT (HINDI & ENGLISH) , सीपीसीटी कीबोर्ड लेआउट (हिंदी और इंग्लिश में)

CPCT के बाद क्या करें? सरकारी नौकरियों और करियर अवसरों की सम्पूर्ण जानकारी - Hindi + English

CPCT Result कैसे देखें और Scorecard कैसे डाउनलोड करें? How to get your CPCT result and How to download scorecard Complete Guide in Hindi + English