1 of 9

Logical Boolean Operators: AND, OR, NOT

  • AND
    • Both input statements must be true for the output to be true
  • OR
    • Only one input statement must be true for the output to be true
  • NOT
    • Both input statements must be false for the output to be true

  • Logical Boolean Operators are the foundation for digital circuits, and computer programming

2 of 9

“And” in common English can often mean in “addition to” But Not So in Boolean Logic

3 of 9

Logical Boolean Operator: AND�Websites that talk about Dogs AND Cats

Dogs

Cats

Dogs

AND

Cats

4 of 9

Logical Boolean Operator: OR�Websites that talk about Dogs OR Cats

Dogs

Cats

5 of 9

Logical Boolean Operator: NOT�Websites that talk about Dogs NOT Cats

Dogs

Cats

6 of 9

Quiz: Which statement would be used to find grumpy cats?

  1. Grumpy AND Cat
  2. Grumpy OR Cat
  3. Grumpy NOT Cat

7 of 9

Quiz: Which statement would be used to find grumpy cats?

  1. Grumpy AND Cat
    • Correct. Would give you only grumpy catsx`

  • Grumpy OR Cat
    • Would give you grumpy cats, grumpy dogs, and grumpy people

  • Grumpy NOT Cat
    • Would give you grumpy dogs or grumpy people but no grumpy cats

8 of 9

Quiz: Which statement would be used to find chocolate candy?

  1. Chocolate AND Candy
  2. Chocolate OR Candy
  3. Chocolate NOT Candy

9 of 9

Quiz: Which statement would be used to find chocolate candy?

  1. Chocolate AND Candy

  • Chocolate OR Candy

  • Chocolate NOT Candy