KS3 Computing/Logic/OR
< KS3 Computing | Logic
With the Boolean operator 'OR', the result Q is TRUE when at least one of its inputs are true. So the result is TRUE when either A is true, or B is true, or both are true. The result is FALSE when both A and B are false.
OR - True when one or more input is true
A OR B
A | B | A OR B |
---|---|---|
true | true | true |
true | false | true |
false | true | true |
false | false | false |