3.1.5
Logical Reasoning & Debugging
Logical Reasoning & Debugging
Logical Reasoning & Debugging
Logical reasoning is thinking about the order of steps (the sequence) and the selection rules ('if ... then' and 'repeat until...').


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


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


How to debug an algorithm
How to debug an algorithm
- Debugging an algorithm needs patience and computational thinking!
- Computer programmers have programs which help them find where the bugs are.
1Using Computers
1.1Computers as a Tool
1.3Plagiarism & Illegal Sharing
2Networks & the World Wide Web
3Computational Thinking
Jump to other topics
1Using Computers
1.1Computers as a Tool
1.3Plagiarism & Illegal Sharing
2Networks & the World Wide Web
3Computational Thinking
Unlock your full potential with Seneca Premium
Unlimited access to 10,000+ open-ended exam questions
Mini-mock exams based on your study history
Unlock 800+ premium courses & e-books