Algorithms · অ্যালগরিদম


Elementary Algorithms and Flowchartsপ্রাথমিক অ্যালগরিদম ও ফ্লোচার্ট

An algorithm is a finite, ordered set of unambiguous steps that solves a problem or performs a computation. Every program you ever write is an algorithm expressed in a programming language. In Bangladeshi government job exams (BCS, Bank IT/AGM, IT-officer, teacher recruitment), this topic is a reliable source of marks: you are asked to identify flowchart symbols, read a flowchart or pseudocode and predict its output, count the number of moves in Tower of Hanoi, compute a GCD or factorial by tracing, or state the difference between iteration and recursion. These are "sure marks" if you master a small set of classic algorithms and the standard flowchart notation.

This lesson builds everything from first principles: what an algorithm is, how it differs from a flowchart and pseudocode, the five standard flowchart symbols, and then roughly twenty classic algorithms — each with a flowchart or pseudocode plus a full numeric trace so you can reproduce the answer under exam pressure.

Learning objectives

  • Define algorithm, flowchart, and pseudocode and distinguish them precisely.
  • Recognise and draw the five core flowchart symbols and read any exam flowchart.
  • Trace and reproduce the classic algorithms: GCD, LCM, factorial, prime check, Fibonacci, Tower of Hanoi, reverse a number, sum of digits, Armstrong number, palindrome, leap year, max/min in an array, equilibrium index, kth largest, linear search, swap, matrix multiplication, and pattern printing.
  • Trace a recursive function: count the calls and compute the return value.
  • Compare iterative and recursive solutions and choose correctly.

Continue this lesson free: create an account

You have read the opening of this lesson. The full lesson (3,772 words, in English and Bangla) has worked examples, practice questions with answers and exam tips. A free account opens it and saves your progress.পুরো পাঠটি পড়তে বিনামূল্যে অ্যাকাউন্ট খুলুন।

More on this subject: Algorithms guide: syllabus by chapter and past questions

© 2026 ARBS Academy (Aether Brains). Questions' explanations, model answers and lessons are our original work; copying or republishing is not allowed.

© ২০২৬ এআরবিএস একাডেমি (Aether Brains)। প্রশ্নের ব্যাখ্যা, মডেল উত্তর ও লেসন আমাদের নিজস্ব কাজ; কপি বা পুনঃপ্রকাশ করা নিষেধ।