© 2026 schoolict.net (Ruwan Mangala Suraweera)
2.4 Memory Hierarchy: Registers, Cache, RAM, ROM and Secondary Storageමතක ධුරාවලිය: රෙජිස්තර, කෑෂ්, RAM, ROM සහ ද්විතීයික ගබඩා
Grade 12 A/L ICT · Lesson 212 ශ්රේණිය A/L ICT · පාඩම 2
In this videoමේ වීඩියෝවේ
- No memory is fast, large and cheap at once, so a hierarchy is used.කිසිදු මතකයක් එකවර වේගවත්, විශාල සහ ලාභ නොවන නිසා ධුරාවලියක් භාවිත වේ.
- Criteria: density, access method, access time, capacity, cost, volatility, location.නිර්ණායක: ඝනත්වය, ප්රවේශ ක්රමය, ප්රවේශ කාලය, ධාරිතාව, පිරිවැය, නශ්යතාව, ස්ථානය.
- Volatile: registers, cache (SRAM), main memory (DRAM, SDRAM).නශ්ය: රෙජිස්තර, කෑෂ් (SRAM), ප්රධාන මතකය (DRAM, SDRAM).
- Non-volatile: PROM (once), EPROM (UV erase), EEPROM (electrical erase), and secondary storage.අනශ්ය: PROM (එක් වරක්), EPROM (UV මැකීම), EEPROM (විදුලි මැකීම), සහ ද්විතීයික ගබඩා.
- Going down: slower access, bigger capacity, lower cost per MB.පහළට යන විට: මන්දගාමී ප්රවේශය, විශාල ධාරිතාව, MB එකක අඩු පිරිවැය.
Notesසටහන්
Syllabus 2.4. No single memory is fast, big and cheap at the same time. So a computer uses a memory hierarchy: a small amount of very fast, costly memory near the CPU, and large amounts of slower, cheaper memory further away. In this part you learn why we need the hierarchy, the comparison criteria, volatile memory (registers, cache, RAM – SRAM, DRAM, SDRAM), non-volatile memory (PROM, EPROM, EEPROM and secondary storage), and how to compare them by access time, cost per MB and capacity.විෂය නිර්දේශය 2.4. එකවර වේගවත්, විශාල සහ ලාභ වූ තනි මතකයක් නැත. එබැවින් පරිගණකයක් මතක ධුරාවලියක් භාවිත කරයි: CPU අසල ඉතා වේගවත්, මිල අධික කුඩා මතක ප්රමාණයක්, සහ ඈතින් මන්දගාමී, ලාභ විශාල මතක ප්රමාණ. මෙම කොටසින් ධුරාවලිය අවශ්ය ඇයි, සංසන්දන නිර්ණායක, නශ්ය (volatile) මතකය (රෙජිස්තර, කෑෂ්, RAM – SRAM, DRAM, SDRAM), අනශ්ය (non-volatile) මතකය (PROM, EPROM, EEPROM සහ ද්විතීයික ගබඩා), සහ ප්රවේශ කාලය, MB එකක පිරිවැය සහ ධාරිතාව අනුව ඒවා සංසන්දනය කරන ආකාරය ඉගෙන ගනී.
1. The memory hierarchy1. මතක ධුරාවලිය
Think of a student’s books: the page you are reading is in your hand (registers), a few books are on the desk (cache), more are on the shelf in the room (RAM), and the rest are in the library (secondary storage). What you use most is kept closest.සිසුවෙකුගේ පොත් ගැන සිතන්න: ඔබ කියවන පිටුව ඔබේ අතේය (රෙජිස්තර), පොත් කිහිපයක් මේසය මතය (කෑෂ්), තවත් ඒවා කාමරයේ රාක්කයේය (RAM), ඉතිරිය පුස්තකාලයේය (ද්විතීයික ගබඩා). වැඩිපුරම භාවිත කරන දේ ළඟින්ම තබා ගනී.
- Why needed: fast memory is very costly, so we cannot have gigabytes of it; cheap memory is slow. The hierarchy gives speed close to the fastest level at a cost close to the cheapest.අවශ්ය ඇයි: වේගවත් මතකය ඉතා මිල අධික නිසා ගිගාබයිට් ගණනක් තබා ගත නොහැක; ලාභ මතකය මන්දගාමීයි. ධුරාවලිය වේගවත්ම මට්ටමට ආසන්න වේගයක් ලාභම මට්ටමට ආසන්න පිරිවැයකින් ලබා දෙයි.
- It works because programs mostly reuse the same data and nearby data (locality), so copies kept in fast memory are used again and again.ක්රමලේඛ බොහෝ විට එකම දත්ත සහ අසල දත්ත නැවත භාවිත කරන (ප්රාදේශිකත්වය) නිසා එය ක්රියා කරයි, එබැවින් වේගවත් මතකයේ ඇති පිටපත් නැවත නැවත භාවිත වේ.
- We also need non-volatile storage so data is not lost when the power goes off.බලය විසන්ධි වූ විට දත්ත නැති නොවීමට අනශ්ය ගබඩාවක්ද අවශ්යයි.
2. Comparison criteria2. සංසන්දන නිර්ණායක
| Criterionනිර්ණායකය | Meaningඅර්ථය |
|---|---|
| Physical size / densityභෞතික ප්රමාණය / ඝනත්වය | How much data fits in a given space (bits per area)දී ඇති ඉඩකට ගැළපෙන දත්ත ප්රමාණය (වර්ගඵලයකට බිටු) |
| Access methodප්රවේශ ක්රමය | Random (RAM), direct (disk) or sequential (tape)අහඹු (RAM), සෘජු (තැටිය) හෝ අනුක්රමික (පටිය) |
| Access timeප්රවේශ කාලය | Delay from asking for data to getting itදත්ත ඉල්ලීමේ සිට ලැබීම දක්වා ප්රමාදය |
| Capacityධාරිතාව | How much data it can holdතබා ගත හැකි දත්ත ප්රමාණය |
| Costපිරිවැය | Price per MB or GBMB හෝ GB එකක මිල |
| Volatilityනශ්යතාව | Is data lost without power?බලය නැතිව දත්ත නැති වේද? |
| Locationස්ථානය | Inside the CPU, on the motherboard, or outsideCPU තුළ, මවු පුවරුවේ, හෝ පිටත |
| Physical arrangementභෞතික සැකැස්ම | How bits are grouped into words (e.g. 8, 32 or 64 bits)බිටු වචනවලට කාණ්ඩ කරන ආකාරය (උදා. බිටු 8, 32 හෝ 64) |
3. Volatile memory3. නශ්ය (volatile) මතකය
Volatile memory loses its contents when the power is switched off.නශ්ය මතකය බලය විසන්ධි කළ විට එහි අන්තර්ගතය නැති කරයි.
| Type of RAMRAM වර්ගය | How it stores a bitබිටුවක් ගබඩා කරන ආකාරය | Featuresලක්ෂණ | Used forභාවිතය |
|---|---|---|---|
| SRAM (static)SRAM (ස්ථිතික) | Flip-flop of about 6 transistorsට්රාන්සිස්ටර 6 ක පමණ flip-flop | Very fast, no refresh, costly, low densityඉතා වේගවත්, refresh නැත, මිල අධික, අඩු ඝනත්වය | Cache memoryකෑෂ් මතකය |
| DRAM (dynamic)DRAM (ගතික) | Tiny capacitor + 1 transistorකුඩා ධාරිත්රකයක් + ට්රාන්සිස්ටර 1 | Needs refreshing thousands of times a second; cheaper, high density, slowerතත්පරයට දහස් වාරයක් refresh අවශ්යයි; ලාභ, ඉහළ ඝනත්වය, මන්දගාමී | Main memoryප්රධාන මතකය |
| SDRAM (synchronous DRAM)SDRAM (සමකාලී DRAM) | DRAM that works in step with the system clockපද්ධති ඔරලෝසුව සමඟ පියවරෙන් පියවර ක්රියා කරන DRAM | Faster than plain DRAM; DDR, DDR4, DDR5 are types of SDRAMසාමාන්ය DRAM ට වඩා වේගවත්; DDR, DDR4, DDR5 SDRAM වර්ග වේ | Modern PC RAMනවීන PC RAM |
4. Non-volatile memory4. අනශ්ය (non-volatile) මතකය
Non-volatile memory keeps its contents without power. ROM holds the start-up program (BIOS/UEFI firmware).අනශ්ය මතකය බලය නැතිව එහි අන්තර්ගතය තබා ගනී. ROM ආරම්භක ක්රමලේඛය (BIOS/UEFI ස්ථිරාංග) තබා ගනී.
| Typeවර්ගය | How it is writtenලියන ආකාරය | Can it be erased?මැකිය හැකිද? |
|---|---|---|
| ROM (mask ROM)ROM (mask ROM) | Written at the factoryකර්මාන්තශාලාවේදී ලියනු ලැබේ | Noනැත |
| PROMPROM | Blank; programmed once by the user with a special deviceහිස්; විශේෂ උපාංගයකින් පරිශීලකයා එක් වරක් ක්රමලේඛනය කරයි | No – one time onlyනැත – එක් වරක් පමණි |
| EPROMEPROM | Programmed electricallyවිදුලියෙන් ක්රමලේඛනය කෙරේ | Yes – whole chip erased by ultraviolet light through a quartz window, then reprogrammedඔව් – ක්වාට්ස් කවුළුවක් හරහා පාරජම්බුල කිරණ මගින් මුළු චිපයම මකා නැවත ක්රමලේඛනය |
| EEPROMEEPROM | Programmed electrically inside the computerපරිගණකය තුළම විදුලියෙන් ක්රමලේඛනය | Yes – electrically, byte by byte, without removing it; flash memory is a fast block-erase typeඔව් – ඉවත් නොකර බයිට් අනුව විදුලියෙන්; ෆ්ලෑෂ් මතකය වේගවත් block-erase වර්ගයකි |
Secondary storage is non-volatile and large: magnetic (hard disk, tape), optical (CD, DVD, Blu-ray) and flash (SSD, memory cards, pen drives). It is not directly used by the CPU – data is first copied into RAM.ද්විතීයික ගබඩාව අනශ්ය සහ විශාලයි: චුම්බක (දෘඪ තැටිය, පටිය), ප්රකාශ (CD, DVD, Blu-ray) සහ ෆ්ලෑෂ් (SSD, මතක කාඩ්පත්, පෑන් ධාවක). CPU එය සෘජුව භාවිත නොකරයි – දත්ත පළමුව RAM වෙත පිටපත් වේ.
5. Comparing the levels5. මට්ටම් සංසන්දනය
| Memoryමතකය | Typical access timeසාමාන්ය ප්රවේශ කාලය | Typical capacityසාමාන්ය ධාරිතාව | Cost per MBMB එකක පිරිවැය |
|---|---|---|---|
| Registersරෙජිස්තර | < 1 ns< 1 ns | Bytes (a few hundred)Bytes (a few hundred) | Highestඉහළම |
| Cache (L1, L2, L3)කෑෂ් මතකය (L1, L2, L3) | 1–20 ns1–20 ns | KB to tens of MBKB to tens of MB | Very highඉතා ඉහළ |
| Main memory (RAM)ප්රධාන මතකය (RAM) | 50–100 ns50–100 ns | 4–64 GB4–64 GB | Mediumමධ්යම |
| SSD (flash)SSD (ෆ්ලෑෂ්) | about 0.1 msපමණ 0.1 ms | 256 GB – 4 TB256 GB – 4 TB | Lowඅඩු |
| Hard disk (HDD)දෘඪ තැටිය (HDD) | about 10 msපමණ 10 ms | 1–20 TB1–20 TB | Very lowඉතා අඩු |
| Optical disc / tapeප්රකාශ තැටි / පටි | 100 ms to minutes100 ms සිට මිනිත්තු දක්වා | GB (disc) to TB (tape)GB (disc) to TB (tape) | Lowestඅඩුම |
Average = 0.95 × 2 + 0.05 × 80 = 1.9 + 4.0 = 5.9 ns. Much closer to cache speed than RAM speed – that is why cache helps.සාමාන්යය = 0.95 × 2 + 0.05 × 80 = 1.9 + 4.0 = ns 5.9. RAM වේගයට වඩා කෑෂ් වේගයට බොහෝ ආසන්නයි – කෑෂ් උපකාරී වන්නේ එබැවිනි.
10 ms = 10,000,000 ns. 10,000,000 ÷ 50 = 200,000 times slower.ms 10 = ns 10,000,000. 10,000,000 ÷ 50 = 200,000 ගුණයකින් මන්දගාමී.
8 GB = 8 × 2³⁰ = 2³³ = 8,589,934,592 bytes, so 33 address lines. One 64-bit word = 8 bytes, so 8,589,934,592 ÷ 8 = 1,073,741,824 words.GB 8 = 8 × 2³⁰ = 2³³ = බයිට් 8,589,934,592, එබැවින් ලිපින රේඛා 33. බිටු 64 වචනයක් = බයිට් 8, එබැවින් 8,589,934,592 ÷ 8 = වචන 1,073,741,824.
Key Wordsප්රධාන පද
Sample Q&Aආදර්ශ ප්රශ්න සහ පිළිතුරු
1Why does a computer need a memory hierarchy?පරිගණකයකට මතක ධුරාවලියක් අවශ්ය ඇයි?
2Distinguish volatile and non-volatile memory with two examples each.උදාහරණ දෙක බැගින් නශ්ය සහ අනශ්ය මතකය වෙන්කර දක්වන්න.
3Compare SRAM and DRAM.SRAM සහ DRAM සංසන්දනය කරන්න.
4How do PROM, EPROM and EEPROM differ?PROM, EPROM සහ EEPROM වෙනස් වන්නේ කෙසේද?
5What is cache memory and why are there L1, L2 and L3 levels?කෑෂ් මතකය යනු කුමක්ද සහ L1, L2 සහ L3 මට්ටම් ඇත්තේ ඇයි?
6List the levels from fastest to slowest.වේගවත්ම සිට මන්දගාමීම දක්වා මට්ටම් ලැයිස්තුගත කරන්න.
MCQබහුවරණ ප්රශ්න
Choose the correct answer for each question.සෑම ප්රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.
1Which memory is the fastest?වේගවත්ම මතකය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Inside the CPU.CPU තුළ.
2Which is volatile?නශ්ය වන්නේ කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Loses data without power.බලය නැතිව දත්ත නැති වේ.
3Cache memory is usually made of:කෑෂ් මතකය සාමාන්යයෙන් සාදා ඇත්තේ:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Fast, no refresh.වේගවත්, refresh නැත.
4Which memory must be refreshed regularly?නිතිපතා refresh කළ යුතු මතකය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Capacitors leak charge.ධාරිත්රකවල ආරෝපණය කාන්දු වේ.
5EPROM is erased using:EPROM මකා දමන්නේ:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Quartz window.ක්වාට්ස් කවුළුව.
6ROM that can be programmed only once by the user is:පරිශීලකයාට එක් වරක් පමණක් ක්රමලේඛනය කළ හැකි ROM:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Programmable ROM.ක්රමලේඛනය කළ හැකි ROM.
7Moving down the hierarchy, which INCREASES?ධුරාවලියේ පහළට යන විට වැඩි වන්නේ කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Bigger and cheaper.විශාල සහ ලාභ.
8With 95% cache hits at 2 ns and misses at 80 ns, the average access time (simple model) is:95% කෑෂ් සාර්ථකත්වය ns 2 සහ අසාර්ථක ns 80 සමඟ සාමාන්ය ප්රවේශ කාලය (සරල ආකෘතිය):
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
1.9 + 4 = 5.9.1.9 + 4 = 5.9.
9DDR5 is a type of:DDR5 යනු කුමන වර්ගයක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Synchronous DRAM.සමකාලී DRAM.
10How many address lines are needed for 8 GB of byte-addressable memory?බයිට්-ලිපිනගත GB 8 මතකයකට ලිපින රේඛා කීයක් අවශ්යද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
2³³ bytes.බයිට් 2³³.
11A hard disk (10 ms) compared with RAM (50 ns) is about:RAM (ns 50) හා සසඳන විට දෘඪ තැටිය (ms 10) පමණ:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
10,000,000 ÷ 50.10,000,000 ÷ 50.
12The BIOS/UEFI start-up program is stored in:BIOS/UEFI ආරම්භක ක්රමලේඛය ගබඩා වන්නේ:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
Must survive power off.බලය නැති විට රැඳී සිටිය යුතුය.
13Which term means: “Arranging memory from small, fast and costly to large, slow and cheap”?“කුඩා, වේගවත් සහ මිල අධික සිට විශාල, මන්දගාමී සහ ලාභ දක්වා මතකය සැකසීම” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
Memory hierarchy – Arranging memory from small, fast and costly to large, slow and cheap.මතක ධුරාවලිය – කුඩා, වේගවත් සහ මිල අධික සිට විශාල, මන්දගාමී සහ ලාභ දක්වා මතකය සැකසීම.
14Which term means: “Memory that loses its contents when power is off”?“බලය නැති විට අන්තර්ගතය නැති කරන මතකය” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Volatile memory – Memory that loses its contents when power is off.නශ්ය මතකය – බලය නැති විට අන්තර්ගතය නැති කරන මතකය.
15Which term means: “Memory that keeps its contents without power”?“බලය නැතිව අන්තර්ගතය තබා ගන්නා මතකය” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Non-volatile memory – Memory that keeps its contents without power.අනශ්ය මතකය – බලය නැතිව අන්තර්ගතය තබා ගන්නා මතකය.
16Which term means: “Small fast SRAM between the CPU and RAM holding often used data”?“නිතර භාවිත දත්ත තබා ගන්නා CPU සහ RAM අතර කුඩා වේගවත් SRAM” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Cache memory – Small fast SRAM between the CPU and RAM holding often used data.කෑෂ් මතකය – නිතර භාවිත දත්ත තබා ගන්නා CPU සහ RAM අතර කුඩා වේගවත් SRAM.
17Which term means: “Static RAM made of flip-flops; fast and needs no refresh”?“flip-flop වලින් සෑදූ ස්ථිතික RAM; වේගවත් සහ refresh අවශ්ය නැත” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E
SRAM – Static RAM made of flip-flops; fast and needs no refresh.SRAM – flip-flop වලින් සෑදූ ස්ථිතික RAM; වේගවත් සහ refresh අවශ්ය නැත.
18Which term means: “Dynamic RAM made of capacitors; must be refreshed”?“ධාරිත්රකවලින් සෑදූ ගතික RAM; refresh කළ යුතුය” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
DRAM – Dynamic RAM made of capacitors; must be refreshed.DRAM – ධාරිත්රකවලින් සෑදූ ගතික RAM; refresh කළ යුතුය.
19Which term means: “DRAM synchronised with the system clock, e.g. DDR5”?“පද්ධති ඔරලෝසුව සමඟ සමකාලී DRAM, උදා. DDR5” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
SDRAM – DRAM synchronised with the system clock, e.g. DDR5.SDRAM – පද්ධති ඔරලෝසුව සමඟ සමකාලී DRAM, උදා. DDR5.
20Which term means: “ROM that the user can program only once”?“පරිශීලකයාට එක් වරක් පමණක් ක්රමලේඛනය කළ හැකි ROM” යන්නෙන් අදහස් වන පදය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
PROM – ROM that the user can program only once.PROM – පරිශීලකයාට එක් වරක් පමණක් ක්රමලේඛනය කළ හැකි ROM.
MCQ answer keyMCQ පිළිතුරු
- C – Inside the CPU.CPU තුළ.
- A – Loses data without power.බලය නැතිව දත්ත නැති වේ.
- E – Fast, no refresh.වේගවත්, refresh නැත.
- B – Capacitors leak charge.ධාරිත්රකවල ආරෝපණය කාන්දු වේ.
- C – Quartz window.ක්වාට්ස් කවුළුව.
- D – Programmable ROM.ක්රමලේඛනය කළ හැකි ROM.
- D – Bigger and cheaper.විශාල සහ ලාභ.
- B – 1.9 + 4 = 5.9.1.9 + 4 = 5.9.
- E – Synchronous DRAM.සමකාලී DRAM.
- A – 2³³ bytes.බයිට් 2³³.
- B – 10,000,000 ÷ 50.10,000,000 ÷ 50.
- C – Must survive power off.බලය නැති විට රැඳී සිටිය යුතුය.
- E – Memory hierarchy – Arranging memory from small, fast and costly to large, slow and cheap.මතක ධුරාවලිය – කුඩා, වේගවත් සහ මිල අධික සිට විශාල, මන්දගාමී සහ ලාභ දක්වා මතකය සැකසීම.
- A – Volatile memory – Memory that loses its contents when power is off.නශ්ය මතකය – බලය නැති විට අන්තර්ගතය නැති කරන මතකය.
- D – Non-volatile memory – Memory that keeps its contents without power.අනශ්ය මතකය – බලය නැතිව අන්තර්ගතය තබා ගන්නා මතකය.
- D – Cache memory – Small fast SRAM between the CPU and RAM holding often used data.කෑෂ් මතකය – නිතර භාවිත දත්ත තබා ගන්නා CPU සහ RAM අතර කුඩා වේගවත් SRAM.
- E – SRAM – Static RAM made of flip-flops; fast and needs no refresh.SRAM – flip-flop වලින් සෑදූ ස්ථිතික RAM; වේගවත් සහ refresh අවශ්ය නැත.
- B – DRAM – Dynamic RAM made of capacitors; must be refreshed.DRAM – ධාරිත්රකවලින් සෑදූ ගතික RAM; refresh කළ යුතුය.
- C – SDRAM – DRAM synchronised with the system clock, e.g. DDR5.SDRAM – පද්ධති ඔරලෝසුව සමඟ සමකාලී DRAM, උදා. DDR5.
- A – PROM – ROM that the user can program only once.PROM – පරිශීලකයාට එක් වරක් පමණක් ක්රමලේඛනය කළ හැකි ROM.
Structured Questionsව්යුහගත ප්රශ්න
1(a) Draw the memory hierarchy pyramid. (b) State how speed, capacity and cost change from top to bottom.(a) මතක ධුරාවලි පිරමීඩය අඳින්න. (b) ඉහළ සිට පහළට වේගය, ධාරිතාව සහ පිරිවැය වෙනස් වන ආකාරය සඳහන් කරන්න. (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
2Classify as volatile or non-volatile: SRAM, EEPROM, DRAM, PROM, hard disk, registers.නශ්ය හෝ අනශ්ය ලෙස වර්ග කරන්න: SRAM, EEPROM, DRAM, PROM, දෘඪ තැටිය, රෙජිස්තර. (2 marksලකුණු 2)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
3Compare SRAM and DRAM under: (a) how a bit is stored (b) refresh (c) speed and cost (d) use.SRAM සහ DRAM සංසන්දනය කරන්න: (a) බිටුවක් ගබඩා කරන ආකාරය (b) refresh (c) වේගය සහ පිරිවැය (d) භාවිතය. (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
4Cache hits 95% of the time at 2 ns; misses read RAM at 80 ns. (a) Find the average access time. (b) Why does cache improve performance?කෑෂ් 95% ක් වාරවල ns 2 කින් සාර්ථකයි; අසාර්ථක වූ විට RAM ns 80 කින් කියවයි. (a) සාමාන්ය ප්රවේශ කාලය සොයන්න. (b) කෑෂ් කාර්ය සාධනය වැඩි කරන්නේ ඇයි? (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
5Explain PROM, EPROM and EEPROM and give a use of EEPROM or flash.PROM, EPROM සහ EEPROM පැහැදිලි කර EEPROM හෝ ෆ්ලෑෂ් සඳහා භාවිතයක් දෙන්න. (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
🎮 Game🎮 ක්රීඩා
Summary & Downloadsසාරාංශය සහ බාගත කිරීම්
Key pointsප්රධාන කරුණු
- No memory is fast, large and cheap at once, so a hierarchy is used.කිසිදු මතකයක් එකවර වේගවත්, විශාල සහ ලාභ නොවන නිසා ධුරාවලියක් භාවිත වේ.
- Criteria: density, access method, access time, capacity, cost, volatility, location.නිර්ණායක: ඝනත්වය, ප්රවේශ ක්රමය, ප්රවේශ කාලය, ධාරිතාව, පිරිවැය, නශ්යතාව, ස්ථානය.
- Volatile: registers, cache (SRAM), main memory (DRAM, SDRAM).නශ්ය: රෙජිස්තර, කෑෂ් (SRAM), ප්රධාන මතකය (DRAM, SDRAM).
- Non-volatile: PROM (once), EPROM (UV erase), EEPROM (electrical erase), and secondary storage.අනශ්ය: PROM (එක් වරක්), EPROM (UV මැකීම), EEPROM (විදුලි මැකීම), සහ ද්විතීයික ගබඩා.
- Going down: slower access, bigger capacity, lower cost per MB.පහළට යන විට: මන්දගාමී ප්රවේශය, විශාල ධාරිතාව, MB එකක අඩු පිරිවැය.
- Secondary storage is magnetic, optical or flash and is copied to RAM before use.ද්විතීයික ගබඩාව චුම්බක, ප්රකාශ හෝ ෆ්ලෑෂ් වන අතර භාවිතයට පෙර RAM වෙත පිටපත් වේ.
Downloadsබාගත කිරීම්
Full Lesson 2 PDFසම්පූර්ණ පාඩම 2 PDF: English · සිංහල
Next: Lesson 2 A/L Exam Practiceඊළඟට: පාඩම 2 A/L විභාග පුහුණුව →
