5. Logic Gates

Logic Gate Operators

There are three different types of logic operators that we will learn:


AND Gate

When using an AND gate…

 the output is True (1), when input A AND input B are True (1)


OR Gate

When using an OR gate…

 the output is True (1), when input A OR input B are True (1)


NOT gate

When using a NOT gate…

 the output is True (1), when input A is NOT true

In other words, the output is the opposite of the input.

Notice below hat a NOT gate only has one input