© 2026 schoolict.net (Ruwan Mangala Suraweera)
2.4 Computer Block Diagram: ALU, Control Unit and Memoryපරිගණක ඛණ්ඩ සටහන: ALU, පාලන ඒකකය සහ මතකය
G.C.E. O/L Grade 10 ICT · Lesson 2G.C.E. O/L ICT · 10 ශ්රේණිය · පාඩම 2
In this videoමේ වීඩියෝවේ
- CPU = Control Unit + ALU + registers.CPU = පාලන ඒකකය + ALU + registers.
- CU: fetches, decodes, sends control signals.CU: fetch, decode කර පාලන සංඥා යවයි.
- ALU: arithmetic and logic (compare).ALU: අංක ගණිත සහ තාර්කික (සංසන්දනය).
- Flows: data, instructions, control signals.ගලායාම්: දත්ත, උපදෙස්, පාලන සංඥා.
- Cycle: fetch → decode → execute.චක්රය: fetch → decode → execute.
Notesසටහන්
A block diagram is a simple picture that shows the main parts of a computer as boxes and how data, instructions and control signals move between them. In this note you will learn the parts of the CPU – the ALU, the Control Unit and registers – and how they work with memory, input and output.ඛණ්ඩ සටහනක් කියන්නේ පරිගණකයේ ප්රධාන කොටස් කොටු ලෙසත්, ඒවා අතර දත්ත, උපදෙස් සහ පාලන සංඥා ගමන් කරන හැටිත් පෙන්වන සරල රූපයක්. මේ සටහනෙන් CPU එකේ කොටස් – ALU, පාලන ඒකකය සහ registers – සහ ඒවා මතකය, ආදානය, ප්රතිදානය සමඟ වැඩ කරන හැටි ඉගෙන ගමු.
1. The block diagram1. ඛණ්ඩ සටහන
The diagram has input on the left, output on the right and the CPU in the middle. The CPU works closely with main memory (RAM), and RAM gets programs and files from secondary storage (SSD/HDD).සටහනේ වම් පැත්තේ ආදානය, දකුණු පැත්තේ ප්රතිදානය, මැද CPU එක තියෙනවා. CPU එක ප්රධාන මතකය (RAM) සමඟ සමීපව වැඩ කරනවා, RAM එක වැඩසටහන් සහ ගොනු ද්විතීයික ගබඩාවෙන් (SSD/HDD) ලබා ගන්නවා.
2. Parts of the CPU2. CPU එකේ කොටස්
3. Memory in the diagram3. සටහනේ මතකය
- Main memory (RAM) holds the programs and data the CPU is using now. It is fast but loses data when power is off.ප්රධාන මතකය (RAM) CPU එක දැන් භාවිතා කරන වැඩසටහන් සහ දත්ත තබා ගන්නවා. වේගවත්, නමුත් විදුලිය නැති වූ විට දත්ත නැති වෙනවා.
- ROM keeps start-up (boot) instructions permanently.ROM ආරම්භක (boot) උපදෙස් ස්ථිරව තබා ගන්නවා.
- Cache is very fast memory between RAM and the CPU to save time.Cache කාලය ඉතිරි කිරීමට RAM සහ CPU අතර ඇති ඉතා වේගවත් මතකය.
- Secondary storage keeps everything permanently; files are loaded from it into RAM.ද්විතීයික ගබඩාව සියල්ල ස්ථිරව තබා ගන්නවා; ගොනු එයින් RAM එකට load වෙනවා.
4. Three kinds of flow (signals)4. ගලායාම් (සංඥා) වර්ග තුන
| Flowගලායාම | What movesගමන් කරන දේ | Exampleඋදාහරණය |
|---|---|---|
| Data flowදත්ත ගලායාම | Numbers, text, pictures being processedසකසන අංක, පාඨ, පින්තූර | Marks 45 and 38 go from RAM to the ALUලකුණු 45 සහ 38 RAM සිට ALU එකට යනවා |
| Instruction flowඋපදෙස් ගලායාම | Program steps (what to do)වැඩසටහන් පියවර (කළ යුතු දේ) | ‘ADD the two marks’ goes from RAM to the CU‘ලකුණු දෙක ADD කරන්න’ RAM සිට CU එකට යනවා |
| Control signalsපාලන සංඥා | Commands from the CU (read, write, start, stop)CU එකෙන් එන විධාන (read, write, start, stop) | CU tells the ALU ‘add now’ and RAM ‘store result’CU එක ALU ට ‘දැන් එකතු කරන්න’, RAM ට ‘ප්රතිඵලය save කරන්න’ කියනවා |
5. The machine cycle (fetch – decode – execute)5. යන්ත්ර චක්රය (fetch – decode – execute)
Example: adding two marks. Input – the teacher types 45 and 38. They go to RAM. The CU fetches the ‘add’ instruction, the ALU adds them (83), the answer is kept in a register, then stored in RAM and shown on the monitor (output).උදාහරණය: ලකුණු දෙකක් එකතු කිරීම. ආදානය – ගුරුවරයා 45 සහ 38 type කරනවා. ඒවා RAM එකට යනවා. CU එක ‘add’ උපදෙස fetch කරනවා, ALU එක ඒවා එකතු කරනවා (83), පිළිතුර register එකක තබා, පසුව RAM එකේ save කර monitor එකේ (ප්රතිදානය) පෙන්වනවා.
Key Wordsප්රධාන පද
Sample Q&Aආදර්ශ ප්රශ්න සහ පිළිතුරු
1Name the three main parts of the CPU.CPU එකේ ප්රධාන කොටස් තුන නම් කරන්න.
2What is the job of the Control Unit?පාලන ඒකකයේ කාර්යය කුමක්ද?
3Give two operations done by the ALU.ALU එක කරන මෙහෙයුම් දෙකක් දෙන්න.
4What are registers?Registers යනු මොනවාද?
5List the steps of the machine cycle.යන්ත්ර චක්රයේ පියවර ලැයිස්තුගත කරන්න.
6What is the difference between data flow and control signals?දත්ත ගලායාම සහ පාලන සංඥා අතර වෙනස කුමක්ද?
MCQබහුවරණ ප්රශ්න
Choose the correct answer for each question.සෑම ප්රශ්නයකටම නිවැරදි පිළිතුර තෝරන්න.
1Which part of the CPU does calculations and comparisons?ගණනය කිරීම් සහ සංසන්දන කරන CPU කොටස කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
ALU = Arithmetic Logic Unit.ALU = අංක ගණිත තාර්කික ඒකකය.
2Which part sends control signals to all other parts?අනෙක් සියලු කොටස්වලට පාලන සංඥා යවන කොටස කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
The CU is the manager.CU එක කළමනාකරුයි.
3Tiny, very fast memory locations inside the CPU are called:CPU ඇතුළේ ඇති ඉතා කුඩා, ඉතා වේගවත් මතක ස්ථාන හඳුන්වන්නේ:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Registers hold current data and instructions.Registers දැනට ඇති දත්ත සහ උපදෙස් තබා ගනී.
4Comparing whether 45 is greater than 38 is a(n):45, 38 ට වඩා වැඩි දැයි සංසන්දනය කිරීම:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Comparisons are logic operations done by the ALU.සංසන්දන ALU කරන තාර්කික මෙහෙයුම්.
5What is the correct order of the machine cycle?යන්ත්ර චක්රයේ නිවැරදි පිළිවෙළ කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: C
First get, then understand, then do.පළමුව ගන්න, පසුව තේරුම් ගන්න, පසුව කරන්න.
6In a block diagram, the dashed arrows from the CU usually show:ඛණ්ඩ සටහනක CU එකෙන් එන කඩ ඊතල සාමාන්යයෙන් පෙන්වන්නේ:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Control signals are drawn differently from data flow.පාලන සංඥා දත්ත ගලායාමෙන් වෙනස් ලෙස අඳිනවා.
7Which memory holds the program the CPU is running right now?CPU එක දැන් ධාවනය කරන වැඩසටහන තබා ගන්නා මතකය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
Programs are loaded into RAM to run.වැඩසටහන් ධාවනයට RAM එකට load වෙනවා.
8Which memory stores the start-up (boot) instructions permanently?ආරම්භක (boot) උපදෙස් ස්ථිරව ගබඩා කරන මතකය කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
ROM is non-volatile.ROM ස්ථායී (non-volatile) යි.
9Very fast memory placed between the CPU and RAM is:CPU සහ RAM අතර ඇති ඉතා වේගවත් මතකය:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Cache speeds up access.Cache ප්රවේශය වේගවත් කරයි.
10During ‘decode’, the Control Unit:‘Decode’ අතරතුර පාලන ඒකකය:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Decode = understand the instruction.Decode = උපදෙස තේරුම් ගැනීම.
11Data typed on the keyboard goes FIRST to:Keyboard එකෙන් type කරන දත්ත පළමුව යන්නේ:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
Input data is stored in memory before processing.ආදාන දත්ත සැකසීමට පෙර මතකයේ ගබඩා වෙනවා.
12A multi-core CPU means:Multi-core CPU එකක් යනු:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: B
Each core can process separately.එක් එක් core එක වෙන වෙනම සැකසිය හැක.
13Which of these is NOT part of the CPU?මේවායින් CPU එකේ කොටසක් නොවන්නේ කුමක්ද?
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: D
The hard disk is secondary storage outside the CPU.Hard disk එක CPU එකෙන් පිටත ද්විතීයික ගබඩාවකි.
14‘ADD the two numbers’ is an example of a(n):‘සංඛ්යා දෙක ADD කරන්න’ යනු උදාහරණයකි:
✔ Correct!නිවැරදියි!✘ Not quite.වැරදියි. Correct answerනිවැරදි පිළිතුර: A
An instruction tells the CPU what to do.උපදෙසක් CPU ට කළ යුතු දේ කියයි.
MCQ answer keyMCQ පිළිතුරු
- C – ALU = Arithmetic Logic Unit.ALU = අංක ගණිත තාර්කික ඒකකය.
- C – The CU is the manager.CU එක කළමනාකරුයි.
- A – Registers hold current data and instructions.Registers දැනට ඇති දත්ත සහ උපදෙස් තබා ගනී.
- D – Comparisons are logic operations done by the ALU.සංසන්දන ALU කරන තාර්කික මෙහෙයුම්.
- C – First get, then understand, then do.පළමුව ගන්න, පසුව තේරුම් ගන්න, පසුව කරන්න.
- B – Control signals are drawn differently from data flow.පාලන සංඥා දත්ත ගලායාමෙන් වෙනස් ලෙස අඳිනවා.
- D – Programs are loaded into RAM to run.වැඩසටහන් ධාවනයට RAM එකට load වෙනවා.
- A – ROM is non-volatile.ROM ස්ථායී (non-volatile) යි.
- B – Cache speeds up access.Cache ප්රවේශය වේගවත් කරයි.
- B – Decode = understand the instruction.Decode = උපදෙස තේරුම් ගැනීම.
- A – Input data is stored in memory before processing.ආදාන දත්ත සැකසීමට පෙර මතකයේ ගබඩා වෙනවා.
- B – Each core can process separately.එක් එක් core එක වෙන වෙනම සැකසිය හැක.
- D – The hard disk is secondary storage outside the CPU.Hard disk එක CPU එකෙන් පිටත ද්විතීයික ගබඩාවකි.
- A – An instruction tells the CPU what to do.උපදෙසක් CPU ට කළ යුතු දේ කියයි.
Structured Questionsව්යුහගත ප්රශ්න
1(i) Draw a labelled block diagram of a computer. (4 marks)
(ii) Show data flow and control signals using two kinds of arrows. (2 marks)(i) පරිගණකයක නම් කළ ඛණ්ඩ සටහනක් අඳින්න. (ලකුණු 4)
(ii) ඊතල වර්ග දෙකක් භාවිතයෙන් දත්ත ගලායාම සහ පාලන සංඥා පෙන්වන්න. (ලකුණු 2) (6 marksලකුණු 6)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
(ii) Solid arrows for data/instructions; dashed arrows from CU to all parts for control signals; include a key.(i) කොටු: ආදානය → CPU (පාලන ඒකකය, ALU, registers) ↔ ප්රධාන මතකය → ප්රතිදානය; ද්විතීයික ගබඩාව ↔ මතකය.
(ii) දත්ත/උපදෙස් සඳහා ඝන ඊතල; පාලන සංඥා සඳහා CU සිට සියලු කොටස්වලට කඩ ඊතල; key එකක් දක්වන්න.
2State the function of: (i) Control Unit (ii) ALU (iii) registers.කාර්යය සඳහන් කරන්න: (i) පාලන ඒකකය (ii) ALU (iii) registers. (6 marksලකුණු 6)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
3Explain the fetch-decode-execute cycle with an example.Fetch-decode-execute චක්රය උදාහරණයක් සමඟ පැහැදිලි කරන්න. (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
4Distinguish between data flow, instruction flow and control signals. (3 marks)දත්ත ගලායාම, උපදෙස් ගලායාම සහ පාලන සංඥා අතර වෙනස දක්වන්න. (ලකුණු 3) (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
5Give two differences between RAM and registers.RAM සහ registers අතර වෙනස්කම් දෙකක් දෙන්න. (4 marksලකුණු 4)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
6Why do modern phones have multi-core CPUs and an NPU? (3 marks)නවීන phones වල multi-core CPUs සහ NPU එකක් ඇත්තේ ඇයි? (ලකුණු 3) (3 marksලකුණු 3)
Show model answerආදර්ශ පිළිතුර පෙන්වන්න
🎮 Game🎮 ක්රීඩා
Summary & Downloadsසාරාංශය සහ බාගත කිරීම්
Key pointsප්රධාන කරුණු
- A block diagram shows input, CPU, memory, storage and output with arrows.ඛණ්ඩ සටහනක් ආදානය, CPU, මතකය, ගබඩාව සහ ප්රතිදානය ඊතල සමඟ පෙන්වයි.
- CPU = Control Unit + ALU + registers.CPU = පාලන ඒකකය + ALU + registers.
- Control Unit fetches/decodes instructions and sends control signals.පාලන ඒකකය උපදෙස් fetch/decode කර පාලන සංඥා යවයි.
- ALU does arithmetic and logic (comparisons).ALU අංක ගණිත සහ තාර්කික (සංසන්දන) කරයි.
- Registers and cache are tiny, very fast memories; RAM holds running programs; ROM holds boot instructions.Registers සහ cache ඉතා කුඩා, වේගවත් මතක; RAM ධාවනය වන වැඩසටහන් තබයි; ROM boot උපදෙස් තබයි.
- Three flows: data, instructions and control signals.ගලායාම් තුන: දත්ත, උපදෙස් සහ පාලන සංඥා.
- Machine cycle: fetch → decode → execute → store.යන්ත්ර චක්රය: fetch → decode → execute → store.
- Modern CPUs: many cores, GPU for graphics, NPU for AI.නවීන CPUs: cores ගොඩක්, graphics සඳහා GPU, AI සඳහා NPU.
