Following are the basic logical operations which we can operate on binary variables:

**AND:** This operation is represented by dot (.) If we two binary variables as x and y then we can represent AND operation by z=x.y and resultant of the operations is also a binary variable. Following table represents result of AND of every combination we can have which is also called **truth table**

**OR:** This operation is represented by plus (+) If we have two binary variables as x and y then we can represent AND operation by z=x + y and resultant of the operations is also a binary variable. Following table represents result of OR

**NOT: **This operation is represented by bar or apostrophe (‘) and it is represented as z=x’we have only 1 input

**Logic gates: ** The digital or electronics circuits used to implement the logical operations are called logic gates. There are different symbols for the logic gates.

## One Reply to “Logic Gates”