9.3 Algorithms (Flowcharts & Pseudocode)
This lesson introduces the algorithmic approach to problem solving in A/L ICT. It covers how algorithms are structured using sequence, selection, and iteration, and explores representation methods through visual flowcharts and textual pseudocode, validated using hand traces.
ප්රධාන සංකල්ප
- ඇල්ගොරිතමය (Algorithm)
- ගැටලුවක් විසඳීමේදී අනුගමනය කරනු ලබන පියවර දැක්වීමේ ක්රමය (A step-by-step procedure followed to solve a problem).
- ගැලීම් සටහන් (Flowcharts)
- ඇල්ගොරිතමයක් නිරූපණය කරන රූපමය ආකාරය (A graphical or pictorial representation of an algorithm using standard symbols).
- ව්යාජ කේත (Pseudocode)
- ඇල්ගොරිතමයක් නිරූපණය කරන ලේඛනාත්මක ආකාරය (A structured, textual representation of an algorithm resembling programming code).
- අනුක්රමය (Sequence)
- ඇල්ගොරිතමයක පියවර එකකට පසු එකක් අනුපිළිවෙලින් සිදුවන මූලික පාලන ව්යුහය (The execution of algorithmic steps one after another in a sequential order).
- වරණය/තේරීම (Selection)
- යම් කොන්දේසියක් මත පදනම්ව විකල්ප මාර්ගයක් තෝරාගැනීම සඳහා භාවිත වන පාලන ව්යුහය (A control structure where a decision is made between alternative paths based on a condition).
- පුනරාවර්තනය (Iteration)
- ඇල්ගොරිතමයක යම් කොටසක් කොන්දේසියක් සපිරෙන තෙක් නැවත නැවත ක්රියාත්මක කිරීමේ පාලන ව්යුහය (Repeating a block of instructions in an algorithm until a specific condition is met).
- හස්තානුරේඛන (Hand Traces)
- ඇල්ගොරිතමයක හෝ ක්රමලේඛයක නිවැරදිභාවය පරීක්ෂා කිරීම සඳහා අගයන් ආදේශ කරමින් පියවරෙන් පියවර අතින් පරීක්ෂා කර බැලීමේ ක්රමය (A manual, step-by-step tracking of algorithm execution with sample data to verify correctness).
MCQ කට්ටල
MCQ 12විභාගයේදී
- Drawing flowcharts using standard symbols for a given business logic or mathematical problem.
- Writing structured pseudocode for problems involving sequences, selections, and loops.
- Using hand-trace tables to determine the output of a given flowchart or pseudocode with input values.
- Converting a given flowchart into equivalent pseudocode or vice versa.
