AND Logic Function

using Doors

OR Logic Function 

 Explanation

     

AND Logic Function

 using Switches

OR Logic Function

 Explanation

 

Explanation

In this animated AND Logic example of Doors Opening and Closing, you can see that in order for the "Light" to get through the house, the front door AND the back door must be Open. 

Same example: if either the front door OR the back door is Closed the light does NOT get through. 

In this animated OR Logic example, you can see that in order to get light through the house: the left-front door OR the right-front door (or both) must be Open. 

Same example: in order to block the light through the house: the left-front door AND the right-front door must be Closed. 

 

Explanation

In order for the Output of an AND Logical Function to be TRUE: input (1) AND input (2) must both be TRUE.  This is Positive Logic. Hint: TRUE is when the switch is closed,  applying power to the LED.  FALSE is when the switch is open,  NOT applying power to the LED)

     

      Truth Table->

    A & B are the Input switches
    C is the Output LED

Using the Same Function --It is also correct to say: If either input (1) OR input (2) (or both) is NOT TRUE the Output Will be FALSE. This is Negative Logic.

In order for the Output of an OR Logical Function to be TRUE: either 
input (1) OR input (2) (or both) must be TRUE.  This is Positive Logic.

     

      Truth Table->

    A & B are the Input switches
    C is the Output LED

Using the Same Function --It is also correct to say: In order for the Output to be FALSE: input (1) AND input (2) must both be FALSE. This is Negative Logic.

Logic Element Symbols

 

Hosted by www.Geocities.ws

1