Logical operators examples. In real-life and human language: if sunny OR weekend then go outside if sunny AND weekend then go outside if NOT rainy then go outside In logic and programming language: two truth values OR'ed together are True if either or both are True. Ex. booleanExpr1 OR booleanExpr2 Is True if booleanExpr1 is True or if booleanExpr2 is True (or if both are True). Is False only if both are False. two truth values AND'ed together are True only if both are True. Ex. booleanExpr1 AND booleanExpr2 Is True if booleanExpr1 is True and booleanExpr2 is True. Is False if either or both are False. a truth value NOT'ed reverses its truth value. Ex. NOT booleanExpr Is True if booleanExpr is False Is False if booleanExpr is True