Every topic starts at New. Sign in and your practice counts.
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.
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.
This figure is being prepared.
Boolean Logic
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.
| A | B | A AND B | A OR B | NOT A |
|---|---|---|---|---|
| False | False | False | False | True |
| False | True | False | True | True |
| True | False | False | True | False |
| True | True | True | True | False |
Table 2.1: Truth Table of Boolean operators
The logical reasoning questions of wither verbal or non-verbal, the concepts and issues in verbal logical reasoning questions are stated verbally. To attempt such questions, first the provided language or paragraph must be read, comprehend it, and select the appropriate response from the list of possibilities. However, in non-verbal logical reasoning questions, the concepts and issues are presented using figures, pictures, or diagrams.
Among three colors (red, blue, and green), Aiza, Uzair, and Luqman each have different favorite
colors, Use the clues below to determine each person's favorite color.
$$ Aiza does not like green
25> Uzair's favorite color is blue
$> Luqman does not like red
From second Clue, it is clear that Uzair's favorite color is BLUE, therefore other two persons can't have blue as their favorite color.
From first clue, we came to know that Aiza does not like green and blue color is already the favorite of Uzair, so left option is only RED
Now the only left over option is green, this also does not contradict the third clue. So GREEN is the final option for Luqman.
Look at the sequence of shapes below and determine which shape comes next.
| ? | ||||||||
|---|---|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
To solve this, observe the pattern in the sequence, We have a a repeating pattern of Square, Triangle, Circle. This pattern repeats every three shapes.
Following the pattern:
-) After Square (1), Triangle (2), Circle (3)