You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Thinking logically means identifying decision points in a problem, determining the conditions that govern each decision, using logical reasoning to predict outcomes, and applying logic to debug programs. This is a core part of OCR H446 section 2.1.
Logical thinking in Computer Science is about making decisions based on conditions. Every program contains decision points where the flow of execution depends on whether a condition is true or false.
| Concept | Definition |
|---|---|
| Decision point | A place in an algorithm where the next step depends on a condition |
| Condition | A Boolean expression that evaluates to TRUE or FALSE |
| Logical reasoning | Using conditions and rules to determine what will happen |
Decision points appear whenever there is a choice or branch in an algorithm:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.