Logical Reasoning & Debugging
Computer Science: KS3, topic 1.2.4
Logical Reasoning & Debugging
Logical reasoning is thinking about the order of steps (the sequence). Logical reasoning is thinking about the selection rules ('if ... then' and 'repeat until...').

Logical reasoning
- You can run through an algorithm by following all the steps.
- You can run through the steps in an algorithm.
- You can check if the algorithm will work.

Debugging
- If your algorithm does not work, you have to debug it.
- Debugging is finding where the problem is.
- Debugging is then fixing the problem.

How to debug an algorithm
- Debugging can take a lot of patience and computational thinking.
- Computer programmers have programs which help them find where the bugs are.
Test yourself on Logical Reasoning & Debugging
What name is given to the process of thinking about the order of steps and the selection rules?
What is the process of finding where the problem in an algorithm is and then fixing it called?
A programmer finds a bug but does not fix it. Has the programmer finished debugging?
Select the true statement about debugging.