< KS3 Computing < Logic  
      
 The OR logic symbol for use in diagrams
OR - True when one or more input is true
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.
A OR B
| A | B | A OR B | 
|---|---|---|
| true | true | true | 
| true | false | true | 
| false | true | true | 
| false | false | false | 
    This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.