2.5 Logical Reasoning
Logical reasoning is the core part of algorithm development. Logical reasoning fits into computational thinking in the following ways:
Problem Decomposition: Logical reasoning is needed to guarantee that each component is treated systematically when breaking large problems down into smaller, more manageable portions. Pattern Recognition: Logical sequences and linkages are frequently recognized in order to identify patterns in data or processes. Abstraction: Logical thinking is needed to discern between pertinent and extraneous information in order to simplify complicated problems by concentrating on the most important features. Algorithm Design: To guarantee the accuracy and effectiveness of the process, logical thinking is a crucial component of creating step- by- step solutions, or algorithms, to issues.
In Boolean, two statements or expressions are evaluated in a way that can only have one of two potential values as a result - either true or false. Boolean logic uses logical operator like AND, OR, NOT, etc.
Diagram image pending upload by Admin.
The above diagram is evaluating an expression regarding today's weather "Is is hot", so it can have either answer 'Yes it is hot - represented with 1' or 'No it is not hot - represented with 0'. Following are few of the most widely used operators with their Venn diagram and truth table.
Diagram image pending upload by Admin.