What is ‘coding’ or programming? What does Algorithm, Decomposition, Abstraction and Logical Sequencing mean?
The word ‘coding’ is often used interchangeably with the word ‘programming’.
Coding has become a popular ‘buzz-word’ and is used by many people to refer to learning programming.
A program (also known as an algorithm) is a set of instructions that tells the computer what to do.
When developing programs, we need to be explicit in what we want the computer to do because computers are not like humans – they cannot interpret meaning or intention.
If we type a mistake in code or if we piece together blocks incorrectly or in the wrong order, the program WILL NOT work.
The way we can find out why our code is not working is known as ‘DEBUGGING’.
There are ways or strategies we can use to ensure our program is well-designed and does what we want it to do.
These strategies also help us to figure out what code we need to write to make the program work.
These strategies are part of COMPUTATIONAL THINKING and include the following:
DECOMPOSITION – the ability to break down a problem or goal into smaller problems to solve
ABSTRACTION – the ability to apply the same code to a number of other purposes
LOGICAL SEQUENCING – the ability to develop code that is logical and is functional and
Other common PROBLEM SOLVING STRATEGIES that we might use in our everyday lives.