Von Neumann Architecture: Stored Program, CPU and the Fetch–Execute Cycle – Grade 12 A/L ICT Notes 2.3

© 2026 schoolict.net (Ruwan Mangala Suraweera)

2.3 Von Neumann Architecture: Stored Program, CPU and the Fetch–Execute Cycleවොන් නියුමන් ගෘහ නිර්මාණය: ගබඩා කළ ක්‍රමලේඛය, CPU සහ ලබාගැනීම්–ක්‍රියාත්මක චක්‍රය

Grade 12 A/L ICT · Lesson 212 ශ්‍රේණිය A/L ICT · පාඩම 2

Prints all tabs in the language you are reading. Use “Save as PDF” in the print window to keep a copy.ඔබ කියවන භාෂාවෙන් සියලු tabs මුද්‍රණය වේ. පිටපතක් තියාගන්න print window එකේ “Save as PDF” තෝරන්න.
🎬Video coming soon in this language. Switch language to watch the other video.මේ භාෂාවෙන් වීඩියෝව ඉක්මනින් එනවා. අනෙක් වීඩියෝව බලන්න භාෂාව මාරු කරන්න.

In this videoමේ වීඩියෝවේ

  • Stored program concept: program and data together in one memory (von Neumann, 1945, EDVAC).ගබඩා කළ ක්‍රමලේඛ සංකල්පය: ක්‍රමලේඛය සහ දත්ත එක් මතකයක එකට (වොන් නියුමන්, 1945, EDVAC).
  • Components: input, output, memory, control unit and ALU.සංරචක: ආදාන, ප්‍රතිදාන, මතකය, පාලන ඒකකය සහ ALU.
  • The CPU repeats fetch → decode → execute → store using PC, MAR, MDR, CIR and ACC.CPU එක PC, MAR, MDR, CIR සහ ACC භාවිතයෙන් ලබාගැනීම → විකේතනය → ක්‍රියාත්මක → ගබඩා නැවත කරයි.
  • The address bus is one-way; data and control buses are two-way.ලිපින බස් එක් දිශාවකි; දත්ත සහ පාලන බස් දෙපැත්තටයි.
  • n address lines reach 2ⁿ locations; a 64-bit data bus moves 8 bytes at once.ලිපින රේඛා n ක් ස්ථාන 2ⁿ කට ළඟා වේ; බිටු 64 දත්ත බස් වරකට බයිට් 8 ක් ගෙන යයි.
Stored program conceptVon Neumann architectureALUControl unitRegisterProgram counterAccumulator

Notesසටහන්

Syllabus 2.3. Almost every computer today follows one simple plan described by John von Neumann in 1945: keep the program and the data together in the same memory, and let the CPU fetch and run the instructions one by one. In this part you learn the stored program concept, the components of the model and how to draw it, the fetch–execute cycle, the jobs of the ALU, CU, registers and buses, and why we now use multi-core processors.විෂය නිර්දේශය 2.3. අද බොහෝ සෑම පරිගණකයක්ම 1945 දී ජෝන් වොන් නියුමන් විස්තර කළ සරල සැලැස්මක් අනුගමනය කරයි: ක්‍රමලේඛය සහ දත්ත එකම මතකයේ එකට තබා, CPU එකට උපදෙස් එකින් එක ලබාගෙන ධාවනය කිරීමට ඉඩ දීම. මෙම කොටසින් ගබඩා කළ ක්‍රමලේඛ සංකල්පය, ආකෘතියේ සංරචක සහ එය අඳින ආකාරය, ලබාගැනීම්–ක්‍රියාත්මක චක්‍රය, ALU, CU, රෙජිස්තර සහ බස් වල කාර්යයන්, සහ අද බහු-හර (multi-core) සකසන භාවිත කරන්නේ ඇයි කියා ඉගෙන ගනී.

1. The stored program concept1. ගබඩා කළ ක්‍රමලේඛ සංකල්පය

Early machines such as ENIAC were programmed by changing wires and switches – a new job could take days. Von Neumann’s idea (in his 1945 report on EDVAC) was: store the instructions as numbers in memory, exactly like data. To change the job, you just load a different program into memory.ENIAC වැනි මුල් යන්ත්‍ර ක්‍රමලේඛනය කළේ වයර් සහ ස්විච වෙනස් කිරීමෙනි – නව කාර්යයකට දින ගණනක් ගත විය හැකි විය. වොන් නියුමන්ගේ අදහස (EDVAC පිළිබඳ ඔහුගේ 1945 වාර්තාවේ): උපදෙස් සංඛ්‍යා ලෙස මතකයේ ගබඩා කිරීම, හරියටම දත්ත මෙන්. කාර්යය වෙනස් කිරීමට වෙනත් ක්‍රමලේඛයක් මතකයට පූරණය කළ යුතු පමණි.

  • Program instructions and data are stored together in the same main memory.ක්‍රමලේඛ උපදෙස් සහ දත්ත එකම ප්‍රධාන මතකයේ එකට ගබඩා වේ.
  • Every memory location has an address; the CPU reads and writes using addresses.සෑම මතක ස්ථානයකටම ලිපිනයක් ඇත; CPU ලිපින භාවිතයෙන් කියවයි සහ ලියයි.
  • Instructions are run one after another (sequentially) unless a jump instruction changes the order.පැනීමේ (jump) උපදෙසක් පිළිවෙළ වෙනස් නොකරන්නේ නම් උපදෙස් එකින් එක (අනුක්‍රමිකව) ධාවනය වේ.

2. Components of the von Neumann model2. වොන් නියුමන් ආකෘතියේ සංරචක

InputආදානයOutputප්‍රතිදානයCPU (processor)මධ්‍ය සැකසුම් ඒකකයControl Unit (CU)පාලන ඒකකයALUඅංක ගණිත හා තාර්කික ඒකකයRegisters: PC, MAR, MDR, CIR, ACCරෙජිස්තරClockMain memory (program + data)ප්‍රධාන මතකය (ක්‍රමලේඛ + දත්ත)Address busData bus (both ways)Control bus
The von Neumann architecture – learn to draw this.වොන් නියුමන් ගෘහ නිර්මාණය – මෙය ඇඳීමට පුරුදු වන්න.
1
Input unitආදාන ඒකකය
Brings data and programs into the computer.දත්ත සහ ක්‍රමලේඛ පරිගණකයට ගෙන එයි.
2
Memory unitමතක ඒකකය
Holds both the program and the data.ක්‍රමලේඛය සහ දත්ත යන දෙකම තබා ගනී.
3
Control unit (CU)පාලන ඒකකය (CU)
Fetches and decodes instructions and sends control signals.උපදෙස් ලබාගෙන විකේතනය කර පාලන සංඥා යවයි.
4
Arithmetic and logic unit (ALU)අංක ගණිත සහ තාර්කික ඒකකය (ALU)
Does the calculations and comparisons.ගණනය කිරීම් සහ සංසන්දන සිදු කරයි.
5
Output unitප්‍රතිදාන ඒකකය
Sends results out to the user.ප්‍රතිඵල පරිශීලකයාට යවයි.
💡 When you draw the model in the exam: put the CU and ALU (with registers) inside one CPU box, show memory beside it, input and output at the sides, and label the arrows data, address and control.විභාගයේදී ආකෘතිය අඳින විට: CU සහ ALU (රෙජිස්තර සමඟ) එක් CPU කොටුවක් තුළ තබන්න, මතකය ඒ අසල පෙන්වන්න, ආදාන සහ ප්‍රතිදාන පැතිවල තබන්න, සහ ඊතල දත්ත, ලිපින සහ පාලන ලෙස නම් කරන්න.

3. Inside the CPU3. CPU එක තුළ

PartකොටසJobකාර්යය
ALUALUArithmetic (+, −, ×, ÷) and logic (AND, OR, NOT, comparing >, <, =)අංක ගණිත (+, −, ×, ÷) සහ තාර්කික (AND, OR, NOT, >, <, = සංසන්දනය)
Control unit (CU)පාලන ඒකකය (CU)Fetches and decodes instructions, controls the timing with the clock, and directs data between partsඋපදෙස් ලබාගෙන විකේතනය කරයි, ඔරලෝසුව සමඟ කාලය පාලනය කරයි, කොටස් අතර දත්ත යොමු කරයි
Registersරෙජිස්තරTiny, very fast memory cells inside the CPUCPU එක තුළ ඇති ඉතා කුඩා, ඉතා වේගවත් මතක සෛල
ClockඔරලෝසුවSends regular pulses; each pulse is one cycleනිතිපතා ස්පන්දන යවයි; එක් ස්පන්දනයක් එක් චක්‍රයකි
Registerරෙජිස්තරයWhat it holdsතබා ගන්නා දේ
Program counter (PC)ක්‍රමලේඛ ගණකය (PC)The address of the next instructionඊළඟ උපදෙසේ ලිපිනය
Memory address register (MAR)මතක ලිපින රෙජිස්තරය (MAR)The address to read from or write toකියවීමට හෝ ලිවීමට ඇති ලිපිනය
Memory data register (MDR / MBR)මතක දත්ත රෙජිස්තරය (MDR / MBR)The data or instruction just read, or about to be writtenදැන් කියවූ හෝ ලිවීමට යන දත්ත හෝ උපදෙස
Current instruction register (CIR / IR)වත්මන් උපදෙස් රෙජිස්තරය (CIR / IR)The instruction being decoded and runවිකේතනය කර ධාවනය වන උපදෙස
Accumulator (ACC)සමුච්චකය (ACC)The result from the ALUALU එකේ ප්‍රතිඵලය

4. The fetch–execute cycle4. ලබාගැනීම්–ක්‍රියාත්මක චක්‍රය

1. Fetchලබාගැනීම (Fetch)2. Decodeවිකේතනය (Decode)3. Executeක්‍රියාත්මක කිරීම (Execute)4. Store resultප්‍රතිඵලය ගබඩා කිරීමThen the next instruction is fetched – the cycle repeats
The CPU repeats this cycle billions of times each second.CPU එක තත්පරයකට බිලියන ගණනක් මෙම චක්‍රය නැවත කරයි.
  • Fetch: PC → MAR; the instruction at that address comes to the MDR, then to the CIR; PC = PC + 1.ලබාගැනීම (Fetch): PC → MAR; එම ලිපිනයේ උපදෙස MDR වෙත, පසුව CIR වෙත පැමිණේ; PC = PC + 1.
  • Decode: the CU works out what the instruction means (the operation and the data it needs).විකේතනය (Decode): CU එක උපදෙසේ අර්ථය සොයයි (මෙහෙයුම සහ අවශ්‍ය දත්ත).
  • Execute: the CU sends signals; the ALU calculates, or data is moved, or a jump changes the PC.ක්‍රියාත්මක කිරීම (Execute): CU සංඥා යවයි; ALU ගණනය කරයි, හෝ දත්ත ගෙන යයි, හෝ jump එකක් PC වෙනස් කරයි.
  • Store: the result is saved in the accumulator, a register or memory. Then the cycle starts again.ගබඩා කිරීම: ප්‍රතිඵලය සමුච්චකයේ, රෙජිස්තරයක හෝ මතකයේ සුරැකේ. ඉන්පසු චක්‍රය නැවත ආරම්භ වේ.
🧮 Worked exampleවිසඳූ උදාහරණය A CPU clock runs at 3.2 GHz. How long is one clock cycle?CPU ඔරලෝසුවක් GHz 3.2 කින් ධාවනය වේ. එක් ඔරලෝසු චක්‍රයක් කොපමණ කාලයක්ද?
Cycle time = 1 ÷ frequency = 1 ÷ (3.2 × 10⁹) s = 0.3125 ns.චක්‍ර කාලය = 1 ÷ සංඛ්‍යාතය = 1 ÷ (3.2 × 10⁹) s = ns 0.3125.
🧮 Worked exampleවිසඳූ උදාහරණය The same CPU needs on average 4 cycles per instruction. How many million instructions per second (MIPS) can one core run? What about 4 cores working fully in parallel?එම CPU එකට උපදෙසකට සාමාන්‍යයෙන් චක්‍ර 4 ක් අවශ්‍යයි. එක් හරයකට තත්පරයකට උපදෙස් මිලියන කීයක් (MIPS) ධාවනය කළ හැකිද? හර 4 ක් සම්පූර්ණයෙන් සමාන්තරව ක්‍රියා කළහොත්?
3.2 GHz = 3,200 million cycles per second. 3,200 ÷ 4 = 800 MIPS per core. 4 cores: 800 × 4 = 3,200 MIPS (best case).GHz 3.2 = තත්පරයට චක්‍ර මිලියන 3,200. 3,200 ÷ 4 = හරයකට MIPS 800. හර 4: 800 × 4 = MIPS 3,200 (හොඳම අවස්ථාව).

5. Buses5. බස් (Buses)

A bus is a set of parallel wires that carries signals between the CPU, memory and input/output. The system bus has three parts:බස් යනු CPU, මතකය සහ ආදාන/ප්‍රතිදාන අතර සංඥා ගෙන යන සමාන්තර වයර් කට්ටලයකි. පද්ධති බස් කොටස් තුනකින් යුක්තය:

Busබස්Carriesගෙන යන දේDirectionදිශාව
Address busලිපින බස්Memory addresses chosen by the CPUCPU තෝරන මතක ලිපිනOne way: CPU → memoryඑක් දිශාවකට: CPU → මතකය
Data busදත්ත බස්Data and instructionsදත්ත සහ උපදෙස්Two waysදෙපැත්තට
Control busපාලන බස්Signals such as read, write, clock, interruptකියවීම, ලිවීම, ඔරලෝසුව, බාධා කිරීම වැනි සංඥාTwo waysදෙපැත්තට
🧮 Worked exampleවිසඳූ උදාහරණය How many memory locations can a 16-bit and a 32-bit address bus reach?බිටු 16 සහ බිටු 32 ලිපින බස් එකකට මතක ස්ථාන කීයකට ළඟා විය හැකිද?
n address lines give 2ⁿ addresses. 2¹⁶ = 65,536 locations (64 K). 2³² = 4,294,967,296 locations (4 G).ලිපින රේඛා n ක් 2ⁿ ලිපින දෙයි. 2¹⁶ = ස්ථාන 65,536 (64 K). 2³² = ස්ථාන 4,294,967,296 (4 G).
🧮 Worked exampleවිසඳූ උදාහරණය A CPU has a 64-bit data bus. How many bytes can it move in one transfer?CPU එකක බිටු 64 දත්ත බස් එකක් ඇත. එක් හුවමාරුවකදී බයිට් කීයක් ගෙන යා හැකිද?
64 bits ÷ 8 = 8 bytes at a time. A wider data bus moves more data per cycle.බිටු 64 ÷ 8 = වරකට බයිට් 8. පළල දත්ත බස් එකක් චක්‍රයකට වැඩි දත්ත ගෙන යයි.
💡 Von Neumann bottleneck: instructions and data share one bus to memory, so the fast CPU often waits for the slower memory. Cache memory and wider buses help reduce this.වොන් නියුමන් බාධකය (bottleneck): උපදෙස් සහ දත්ත මතකයට එකම බස් එක බෙදා ගන්නා නිසා වේගවත් CPU එක බොහෝ විට මන්දගාමී මතකය එනතුරු රැඳී සිටී. කෑෂ් මතකය සහ පළල බස් මෙය අඩු කිරීමට උපකාරී වේ.

6. Multi-core processors6. බහු-හර (multi-core) සකසන

A core is a complete processing unit (its own CU, ALU and registers). A multi-core processor has two or more cores on one chip (dual-core, quad-core, octa-core).හරය (core) යනු සම්පූර්ණ සැකසුම් ඒකකයකි (තමන්ගේම CU, ALU සහ රෙජිස්තර). බහු-හර සකසනයක එක් චිපයක හර දෙකක් හෝ වැඩි ගණනක් ඇත (dual-core, quad-core, octa-core).

  • Why needed: making one core faster by raising the clock speed creates too much heat and uses too much power. Adding cores gives more work per second without a hotter clock.අවශ්‍ය ඇයි: ඔරලෝසු වේගය වැඩි කර එක් හරයක් වේගවත් කිරීම ඕනෑවට වඩා තාපය ජනනය කර බලය වැඩිපුර වැය කරයි. හර එකතු කිරීම උණුසුම් ඔරලෝසුවක් නොමැතිව තත්පරයකට වැඩි කාර්යයක් ලබා දෙයි.
  • Multitasking: different programs can run on different cores at the same time.බහු කාර්ය: විවිධ ක්‍රමලේඛ විවිධ හරවල එකවර ධාවනය විය හැක.
  • Limit: the speed-up is real only if the software is written to use many cores (multi-threaded).සීමාව: මෘදුකාංගය හර බොහොමයක් භාවිතයට ලියා ඇත්නම් (multi-threaded) පමණක් වේගය සැබවින්ම වැඩි වේ.
🚀 Beyond the syllabus (2026 update)🚀 විෂය නිර්දේශයෙන් ඔබ්බට (2026 යාවත්කාලීනය) Not required for the exam – read for interest.විභාගයට අවශ්‍ය නැත – දැනුම සඳහා කියවන්න. GPUs, NPUs and hybrid cores. In 2026 a phone or laptop chip is a system on a chip with CPU cores plus a GPU (thousands of small cores for graphics and AI) and an NPU (neural processing unit) rated at 40+ TOPS (trillion operations per second) for on-device AI. Many CPUs mix performance (P) cores for heavy work and efficiency (E) cores to save battery.GPU, NPU සහ මිශ්‍ර හර. 2026 දී දුරකථන හෝ ලැප්ටොප් චිපයක් යනු CPU හර සමඟ GPU (ග්‍රැෆික්ස් සහ AI සඳහා කුඩා හර දහස් ගණනක්) සහ උපාංගය තුළ AI සඳහා TOPS 40+ (තත්පරයට මෙහෙයුම් ට්‍රිලියන) NPU (ස්නායු සැකසුම් ඒකකය) ඇති චිපයක් මත පද්ධතියකි. බොහෝ CPU බර කාර්යයට කාර්ය සාධන (P) හර සහ බැටරිය ඉතිරි කිරීමට කාර්යක්ෂමතා (E) හර මිශ්‍ර කරයි.

Key Wordsප්‍රධාන පද

Stored program conceptගබඩා කළ ක්‍රමලේඛ සංකල්පය
Instructions and data are kept together in the same memory.උපදෙස් සහ දත්ත එකම මතකයේ එකට තබා ගැනීම.
Von Neumann architectureවොන් නියුමන් ගෘහ නිර්මාණය
A computer design with input, output, memory, CU and ALU sharing one memory for program and data.ක්‍රමලේඛය සහ දත්ත සඳහා එක් මතකයක් බෙදාගන්නා ආදාන, ප්‍රතිදාන, මතකය, CU සහ ALU සහිත පරිගණක සැලසුම.
ALUALU
The part of the CPU that does arithmetic and logic operations.අංක ගණිත සහ තාර්කික මෙහෙයුම් කරන CPU කොටස.
Control unitපාලන ඒකකය
The part of the CPU that fetches, decodes and controls the running of instructions.උපදෙස් ලබාගෙන, විකේතනය කර ධාවනය පාලනය කරන CPU කොටස.
Registerරෙජිස්තරය
A tiny, very fast memory location inside the CPU.CPU තුළ ඇති ඉතා කුඩා, ඉතා වේගවත් මතක ස්ථානය.
Program counterක්‍රමලේඛ ගණකය
The register that holds the address of the next instruction.ඊළඟ උපදෙසේ ලිපිනය තබා ගන්නා රෙජිස්තරය.
Accumulatorසමුච්චකය
The register that holds the result of the ALU.ALU ප්‍රතිඵලය තබා ගන්නා රෙජිස්තරය.
Fetch–execute cycleලබාගැනීම්–ක්‍රියාත්මක චක්‍රය
The repeated steps fetch, decode and execute that the CPU follows.CPU අනුගමනය කරන ලබාගැනීම, විකේතනය සහ ක්‍රියාත්මක කිරීම යන නැවත නැවත පියවර.
Address busලිපින බස්
One-way bus that carries memory addresses from the CPU.CPU එකෙන් මතක ලිපින ගෙන යන එක් දිශා බස්.
Data busදත්ත බස්
Two-way bus that carries data and instructions.දත්ත සහ උපදෙස් ගෙන යන දෙපැති බස්.
Control busපාලන බස්
Bus that carries control signals such as read, write and clock.කියවීම, ලිවීම සහ ඔරලෝසුව වැනි පාලන සංඥා ගෙන යන බස්.
Clock speedඔරලෝසු වේගය
The number of cycles per second, measured in hertz (GHz).තත්පරයකට චක්‍ර ගණන, හර්ට්ස් (GHz) වලින් මනිනු ලැබේ.
Multi-core processorබහු-හර සකසනය
A chip with two or more complete processing cores.සම්පූර්ණ සැකසුම් හර දෙකක් හෝ වැඩි ගණනක් ඇති චිපය.
Von Neumann bottleneckවොන් නියුමන් බාධකය
The CPU waiting for memory because program and data share one bus.ක්‍රමලේඛය සහ දත්ත එක් බස් එකක් බෙදා ගන්නා නිසා CPU මතකය සඳහා රැඳී සිටීම.
EDVACEDVAC
Early computer in whose 1945 report the stored program idea was described.ගබඩා කළ ක්‍රමලේඛ අදහස විස්තර කළ 1945 වාර්තාවට අදාළ මුල් පරිගණකය.

Sample Q&Aආදර්ශ ප්‍රශ්න සහ පිළිතුරු

1What is the stored program concept?ගබඩා කළ ක්‍රමලේඛ සංකල්පය කුමක්ද?

Answerපිළිතුර: Program instructions are stored in main memory together with the data, so the CPU can fetch and run them one by one, and a new program can be loaded without rewiring.ක්‍රමලේඛ උපදෙස් දත්ත සමඟ ප්‍රධාන මතකයේ ගබඩා වන නිසා CPU එකට ඒවා එකින් එක ලබාගෙන ධාවනය කළ හැකි අතර නැවත වයර් නොකර නව ක්‍රමලේඛයක් පූරණය කළ හැක.

2Name the five main components of the von Neumann model.වොන් නියුමන් ආකෘතියේ ප්‍රධාන සංරචක පහ නම් කරන්න.

Answerපිළිතුර: Input unit, output unit, memory unit, control unit (CU) and arithmetic and logic unit (ALU).ආදාන ඒකකය, ප්‍රතිදාන ඒකකය, මතක ඒකකය, පාලන ඒකකය (CU) සහ අංක ගණිත සහ තාර්කික ඒකකය (ALU).

3Describe the fetch stage of the cycle.චක්‍රයේ ලබාගැනීමේ අදියර විස්තර කරන්න.

Answerපිළිතුර: The address in the PC is copied to the MAR; the instruction at that address is read into the MDR and copied to the CIR; the PC is increased by one.PC හි ලිපිනය MAR වෙත පිටපත් වේ; එම ලිපිනයේ උපදෙස MDR වෙත කියවා CIR වෙත පිටපත් වේ; PC එකකින් වැඩි වේ.

4Compare the address bus and the data bus.ලිපින බස් සහ දත්ත බස් සංසන්දනය කරන්න.

Answerපිළිතුර: The address bus carries addresses one way from the CPU and its width decides how many locations can be reached. The data bus carries data both ways and its width decides how much is moved at once.ලිපින බස් CPU එකෙන් එක් දිශාවකට ලිපින ගෙන යන අතර එහි පළල ළඟා විය හැකි ස්ථාන ගණන තීරණය කරයි. දත්ත බස් දෙපැත්තට දත්ත ගෙන යන අතර එහි පළල වරකට ගෙන යන ප්‍රමාණය තීරණය කරයි.

5What does the ALU do? Give examples.ALU කරන්නේ කුමක්ද? උදාහරණ දෙන්න.

Answerපිළිතුර: It does arithmetic such as addition and subtraction and logic such as AND, OR, NOT and comparing two numbers.එය එකතු කිරීම සහ අඩු කිරීම වැනි අංක ගණිත සහ AND, OR, NOT සහ සංඛ්‍යා දෙකක් සංසන්දනය වැනි තාර්කික කාර්ය කරයි.

6Why are multi-core processors needed?බහු-හර සකසන අවශ්‍ය ඇයි?

Answerපිළිතුර: Raising the clock speed makes too much heat and uses too much power, so more cores are added to do more work at the same time and to run many programs together.ඔරලෝසු වේගය වැඩි කිරීම ඕනෑවට වඩා තාපය සහ බලය වැය කරන නිසා එකවර වැඩි කාර්යයක් කිරීමට සහ ක්‍රමලේඛ බොහොමයක් එකට ධාවනයට තවත් හර එකතු කෙරේ.

MCQබහුවරණ ප්‍රශ්න

Choose the correct answer for each question.සෑම ප්‍රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.

Scoreලකුණු: 0 / 20

1In the von Neumann architecture, programs and data are stored:වොන් නියුමන් ගෘහ නිර්මාණයේ ක්‍රමලේඛ සහ දත්ත ගබඩා වන්නේ:

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Stored program concept.ගබඩා කළ ක්‍රමලේඛ සංකල්පය.

2Which register holds the address of the next instruction?ඊළඟ උපදෙසේ ලිපිනය තබා ගන්නා රෙජිස්තරය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

PC points to the next instruction.PC ඊළඟ උපදෙසට යොමු කරයි.

3Which bus is one-way only?එක් දිශාවකට පමණක් ක්‍රියා කරන බස් කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

CPU → memory.CPU → මතකය.

4Comparing two numbers to see which is bigger is done by the:කුමන සංඛ්‍යාව විශාලදැයි බැලීමට සංඛ්‍යා දෙකක් සංසන්දනය කරන්නේ:

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

A logic operation.තාර්කික මෙහෙයුමකි.

5What is the cycle time of a 3.2 GHz clock?GHz 3.2 ඔරලෝසුවක චක්‍ර කාලය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

1 ÷ 3.2 = 0.3125 ns.1 ÷ 3.2 = 0.3125 ns.

6A 16-bit address bus can address:බිටු 16 ලිපින බස් එකකට ලිපිනගත කළ හැක්කේ:

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

2¹⁶ = 65,536.2¹⁶ = 65,536.

7The correct order of the cycle is:චක්‍රයේ නිවැරදි පිළිවෙළ:

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Fetch first, then decode, then execute.පළමුව ලබාගැනීම, පසුව විකේතනය, පසුව ක්‍රියාත්මක.

8The main reason for multi-core processors is:බහු-හර සකසනවලට ප්‍රධාන හේතුව:

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Heat and power limit.තාප සහ බල සීමාව.

9A 64-bit data bus moves how many bytes at once?බිටු 64 දත්ත බස් එකක් වරකට බයිට් කීයක් ගෙන යයිද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

64 ÷ 8 = 8.64 ÷ 8 = 8.

10The von Neumann bottleneck happens because:වොන් නියුමන් බාධකය සිදු වන්නේ:

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

CPU waits for memory.CPU මතකය සඳහා රැඳී සිටී.

11Read and write signals travel on the:කියවීමේ සහ ලිවීමේ සංඥා ගමන් කරන්නේ:

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Control signals.පාලන සංඥා.

12A 3.2 GHz core needs 4 cycles per instruction. Its speed is:GHz 3.2 හරයකට උපදෙසකට චක්‍ර 4 ක් අවශ්‍යයි. එහි වේගය:

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

3,200 ÷ 4 = 800.3,200 ÷ 4 = 800.

13Which term means: “Instructions and data are kept together in the same memory”?“උපදෙස් සහ දත්ත එකම මතකයේ එකට තබා ගැනීම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Stored program concept – Instructions and data are kept together in the same memory.ගබඩා කළ ක්‍රමලේඛ සංකල්පය – උපදෙස් සහ දත්ත එකම මතකයේ එකට තබා ගැනීම.

14Which term means: “A computer design with input, output, memory, CU and ALU sharing one memory for program and data”?“ක්‍රමලේඛය සහ දත්ත සඳහා එක් මතකයක් බෙදාගන්නා ආදාන, ප්‍රතිදාන, මතකය, CU සහ ALU සහිත පරිගණක සැලසුම” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Von Neumann architecture – A computer design with input, output, memory, CU and ALU sharing one memory for program and data.වොන් නියුමන් ගෘහ නිර්මාණය – ක්‍රමලේඛය සහ දත්ත සඳහා එක් මතකයක් බෙදාගන්නා ආදාන, ප්‍රතිදාන, මතකය, CU සහ ALU සහිත පරිගණක සැලසුම.

15Which term means: “The part of the CPU that does arithmetic and logic operations”?“අංක ගණිත සහ තාර්කික මෙහෙයුම් කරන CPU කොටස” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

ALU – The part of the CPU that does arithmetic and logic operations.ALU – අංක ගණිත සහ තාර්කික මෙහෙයුම් කරන CPU කොටස.

16Which term means: “The part of the CPU that fetches, decodes and controls the running of instructions”?“උපදෙස් ලබාගෙන, විකේතනය කර ධාවනය පාලනය කරන CPU කොටස” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A

Control unit – The part of the CPU that fetches, decodes and controls the running of instructions.පාලන ඒකකය – උපදෙස් ලබාගෙන, විකේතනය කර ධාවනය පාලනය කරන CPU කොටස.

17Which term means: “A tiny, very fast memory location inside the CPU”?“CPU තුළ ඇති ඉතා කුඩා, ඉතා වේගවත් මතක ස්ථානය” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C

Register – A tiny, very fast memory location inside the CPU.රෙජිස්තරය – CPU තුළ ඇති ඉතා කුඩා, ඉතා වේගවත් මතක ස්ථානය.

18Which term means: “The register that holds the address of the next instruction”?“ඊළඟ උපදෙසේ ලිපිනය තබා ගන්නා රෙජිස්තරය” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D

Program counter – The register that holds the address of the next instruction.ක්‍රමලේඛ ගණකය – ඊළඟ උපදෙසේ ලිපිනය තබා ගන්නා රෙජිස්තරය.

19Which term means: “The register that holds the result of the ALU”?“ALU ප්‍රතිඵලය තබා ගන්නා රෙජිස්තරය” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B

Accumulator – The register that holds the result of the ALU.සමුච්චකය – ALU ප්‍රතිඵලය තබා ගන්නා රෙජිස්තරය.

20Which term means: “The repeated steps fetch, decode and execute that the CPU follows”?“CPU අනුගමනය කරන ලබාගැනීම, විකේතනය සහ ක්‍රියාත්මක කිරීම යන නැවත නැවත පියවර” යන්නෙන් අදහස් වන පදය කුමක්ද?

✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: E

Fetch–execute cycle – The repeated steps fetch, decode and execute that the CPU follows.ලබාගැනීම්–ක්‍රියාත්මක චක්‍රය – CPU අනුගමනය කරන ලබාගැනීම, විකේතනය සහ ක්‍රියාත්මක කිරීම යන නැවත නැවත පියවර.

MCQ answer keyMCQ පිළිතුරු

  1. B – Stored program concept.ගබඩා කළ ක්‍රමලේඛ සංකල්පය.
  2. C – PC points to the next instruction.PC ඊළඟ උපදෙසට යොමු කරයි.
  3. D – CPU → memory.CPU → මතකය.
  4. B – A logic operation.තාර්කික මෙහෙයුමකි.
  5. E – 1 ÷ 3.2 = 0.3125 ns.1 ÷ 3.2 = 0.3125 ns.
  6. E – 2¹⁶ = 65,536.2¹⁶ = 65,536.
  7. A – Fetch first, then decode, then execute.පළමුව ලබාගැනීම, පසුව විකේතනය, පසුව ක්‍රියාත්මක.
  8. C – Heat and power limit.තාප සහ බල සීමාව.
  9. A – 64 ÷ 8 = 8.64 ÷ 8 = 8.
  10. B – CPU waits for memory.CPU මතකය සඳහා රැඳී සිටී.
  11. A – Control signals.පාලන සංඥා.
  12. E – 3,200 ÷ 4 = 800.3,200 ÷ 4 = 800.
  13. D – Stored program concept – Instructions and data are kept together in the same memory.ගබඩා කළ ක්‍රමලේඛ සංකල්පය – උපදෙස් සහ දත්ත එකම මතකයේ එකට තබා ගැනීම.
  14. D – Von Neumann architecture – A computer design with input, output, memory, CU and ALU sharing one memory for program and data.වොන් නියුමන් ගෘහ නිර්මාණය – ක්‍රමලේඛය සහ දත්ත සඳහා එක් මතකයක් බෙදාගන්නා ආදාන, ප්‍රතිදාන, මතකය, CU සහ ALU සහිත පරිගණක සැලසුම.
  15. C – ALU – The part of the CPU that does arithmetic and logic operations.ALU – අංක ගණිත සහ තාර්කික මෙහෙයුම් කරන CPU කොටස.
  16. A – Control unit – The part of the CPU that fetches, decodes and controls the running of instructions.පාලන ඒකකය – උපදෙස් ලබාගෙන, විකේතනය කර ධාවනය පාලනය කරන CPU කොටස.
  17. C – Register – A tiny, very fast memory location inside the CPU.රෙජිස්තරය – CPU තුළ ඇති ඉතා කුඩා, ඉතා වේගවත් මතක ස්ථානය.
  18. D – Program counter – The register that holds the address of the next instruction.ක්‍රමලේඛ ගණකය – ඊළඟ උපදෙසේ ලිපිනය තබා ගන්නා රෙජිස්තරය.
  19. B – Accumulator – The register that holds the result of the ALU.සමුච්චකය – ALU ප්‍රතිඵලය තබා ගන්නා රෙජිස්තරය.
  20. E – Fetch–execute cycle – The repeated steps fetch, decode and execute that the CPU follows.ලබාගැනීම්–ක්‍රියාත්මක චක්‍රය – CPU අනුගමනය කරන ලබාගැනීම, විකේතනය සහ ක්‍රියාත්මක කිරීම යන නැවත නැවත පියවර.

Structured Questionsව්‍යුහගත ප්‍රශ්න

1(a) State the stored program concept. (b) Why was it an improvement over ENIAC?(a) ගබඩා කළ ක්‍රමලේඛ සංකල්පය ප්‍රකාශ කරන්න. (b) එය ENIAC ට වඩා දියුණුවක් වූයේ ඇයි? (3 marksලකුණු 3)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(a) Instructions and data are stored together in main memory; instructions are fetched and run one by one; (b) ENIAC was rewired for each job, now a new program is simply loaded.(a) උපදෙස් සහ දත්ත ප්‍රධාන මතකයේ එකට ගබඩා වේ; උපදෙස් එකින් එක ලබාගෙන ධාවනය වේ; (b) ENIAC සෑම කාර්යයකටම නැවත වයර් කළ යුතු විය, දැන් නව ක්‍රමලේඛයක් පූරණය කළ පමණි.

2Draw a labelled diagram of the von Neumann architecture showing the buses.බස් පෙන්වමින් වොන් නියුමන් ගෘහ නිර්මාණයේ නම් කළ රූප සටහනක් අඳින්න. (5 marksලකුණු 5)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
CPU box containing CU, ALU and registers; memory unit; input unit; output unit; address, data and control buses labelled with correct directions.CU, ALU සහ රෙජිස්තර අඩංගු CPU කොටුව; මතක ඒකකය; ආදාන ඒකකය; ප්‍රතිදාන ඒකකය; නිවැරදි දිශා සහිතව නම් කළ ලිපින, දත්ත සහ පාලන බස්.

3Explain the fetch–execute cycle using PC, MAR, MDR and CIR.PC, MAR, MDR සහ CIR භාවිතයෙන් ලබාගැනීම්–ක්‍රියාත්මක චක්‍රය පැහැදිලි කරන්න. (5 marksලකුණු 5)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
PC copied to MAR; instruction read into MDR; copied to CIR and PC increased; CU decodes the instruction; ALU or CU executes it and the result is stored.PC, MAR වෙත පිටපත් වේ; උපදෙස MDR වෙත කියවේ; CIR වෙත පිටපත් වී PC වැඩි වේ; CU උපදෙස විකේතනය කරයි; ALU හෝ CU එය ක්‍රියාත්මක කර ප්‍රතිඵලය ගබඩා කරයි.

4A computer has a 32-bit address bus and a 64-bit data bus. (a) How many locations can it address? (b) How many bytes move in one transfer?පරිගණකයක බිටු 32 ලිපින බස් සහ බිටු 64 දත්ත බස් ඇත. (a) ලිපිනගත කළ හැකි ස්ථාන කීයද? (b) එක් හුවමාරුවකදී බයිට් කීයක් ගමන් කරයිද? (2 marksලකුණු 2)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(a) 2³² = 4,294,967,296 locations; (b) 64 ÷ 8 = 8 bytes.(a) 2³² = ස්ථාන 4,294,967,296; (b) 64 ÷ 8 = බයිට් 8.

5(a) What is a multi-core processor? (b) Give two advantages and one limitation.(a) බහු-හර සකසනයක් යනු කුමක්ද? (b) වාසි දෙකක් සහ එක් සීමාවක් දෙන්න. (4 marksලකුණු 4)

Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(a) A chip with two or more complete cores; (b) more work at the same time without a hotter clock; better multitasking; limitation: software must be multi-threaded to benefit.(a) සම්පූර්ණ හර දෙකක් හෝ වැඩි ගණනක් ඇති චිපය; (b) උණුසුම් ඔරලෝසුවක් නොමැතිව එකවර වැඩි කාර්යයක්; වඩා හොඳ බහු කාර්ය; සීමාව: වාසිය ලබා ගැනීමට මෘදුකාංගය multi-threaded විය යුතුය.

🎮 Game🎮 ක්‍රීඩා

Pick a game. Each one uses words from this lesson.ක්‍රීඩාවක් තෝරන්න. හැම එකක්ම මේ පාඩමේ වචන පාවිච්චි කරනවා.

Summary & Downloadsසාරාංශය සහ බාගත කිරීම්

Key pointsප්‍රධාන කරුණු

  • Stored program concept: program and data together in one memory (von Neumann, 1945, EDVAC).ගබඩා කළ ක්‍රමලේඛ සංකල්පය: ක්‍රමලේඛය සහ දත්ත එක් මතකයක එකට (වොන් නියුමන්, 1945, EDVAC).
  • Components: input, output, memory, control unit and ALU.සංරචක: ආදාන, ප්‍රතිදාන, මතකය, පාලන ඒකකය සහ ALU.
  • The CPU repeats fetch → decode → execute → store using PC, MAR, MDR, CIR and ACC.CPU එක PC, MAR, MDR, CIR සහ ACC භාවිතයෙන් ලබාගැනීම → විකේතනය → ක්‍රියාත්මක → ගබඩා නැවත කරයි.
  • The address bus is one-way; data and control buses are two-way.ලිපින බස් එක් දිශාවකි; දත්ත සහ පාලන බස් දෙපැත්තටයි.
  • n address lines reach 2ⁿ locations; a 64-bit data bus moves 8 bytes at once.ලිපින රේඛා n ක් ස්ථාන 2ⁿ කට ළඟා වේ; බිටු 64 දත්ත බස් වරකට බයිට් 8 ක් ගෙන යයි.
  • Multi-core chips give more work per second without too much heat.බහු-හර චිප ඕනෑවට වඩා තාපයක් නොමැතිව තත්පරයකට වැඩි කාර්යයක් ලබා දෙයි.

Downloadsබාගත කිරීම්

Full Lesson 2 PDFසම්පූර්ණ පාඩම 2 PDF: English · සිංහල

Next noteඊළඟ සටහන 2.4 →

© 2026 schoolict.net (Ruwan Mangala Suraweera). All rights reserved.සියලු හිමිකම් ඇවිරිණි.