The most common problem in teaching Algorithmic Languages and Programming is that students start writing code before they understand the task. The program fails, and they look for the error in the syntax, while the real mistake is usually in the logic.
What is algorithmic thinking?
Algorithmic thinking is the skill of breaking a problem into clear, ordered and checkable steps. It has four parts: decomposing the task into smaller pieces, recognising repeating patterns, leaving out unnecessary detail (abstraction), and writing the solution step by step.
How to practise it in class
- Words first, code second. Students describe the solution in plain language, then turn it into pseudocode or a flowchart.
- Tracing by hand. The algorithm is “run” on paper with small inputs, and the value of every variable is recorded in a table.
- One problem, several solutions. For example, two ways of finding the largest number in a list are compared and students discuss which is faster.
- Edge cases. What happens if the list is empty or all numbers are negative? These questions teach students to test their own solutions.
The result
With this approach students reach the keyboard a little later, but their programs contain fewer errors. Most importantly, they learn to find mistakes on their own. Algorithmic thinking is useful not only for programmers but for any specialist: it turns a complex task into manageable steps.