## Logic Gates:

Logic gates are the basic building blocks of the digital circuits. These logic gate circuits are made up of diodes, transistors and resistors.

Most of the electronic devices which we use everyday like our smart phones, tablet, laptops and memory devices use logic gates in their electronic circuits.

Logic gates have two or more inputs and one output. The inputs and outputs are either ‘0’ or ‘1’. The logic gates take decisions the output.

Types of Logic Gates |

These are the types of Logic Gates. Let us discuss about each Logic Gate in detail.

### AND:

AND Logic Gate produces the output ‘1’ only when all the inputs are ‘1’. AND operation is denoted by ‘*’. This Logic Gate operation is similar to ordinary multiplication.

### Two input AND gate and its truth table:

**Y= A*B**

### Three input AND gate and its truth table:

**Y= A*B*C**

Three input AND gate's truth table |

### OR:

OR operation is similar to ordinary addition but it is not exactly equal to addition. It is represented by ‘+’. The OR logic gates produces the output ‘1’ when any one of the input is ‘1’. It produces the output ‘0’ when all the input is ‘0’.

### Two input OR gate and its truth table:

**Y=A+B**

Two input OR gate's truth table |

### Three input OR gate and its truth table:

**Y=A+B+C**

### NOT:

**Y=A'**

NOT Gate |

NOT Gate truth table |

### NAND:

### Two input NAND gate and its truth table:

**Y=(A*B)'**

Two input NAND Gate |

Two input NAND Gate's truth table |

Three input NAND gate and its truth table:

**Y=(A*B*C)'**

Three input NAND Gate |

Three input NAND Gate's truth table |

### NOR:

**Y=(A+B)'**

**Two input NOR gate and its truth table:**

Two input NOR gate |

Two input NOR Gate's truth table |

### Three input NOR gate and its truth table:

Three input NOR Gate's truth table |

### Exclusive–OR (XOR):

### Two input Ex-OR gate and its truth table:

Two input Ex-OR Gate truth table |

### Three input Ex-OR gate and its truth table:

Three input Ex-OR Gate |

Three input Ex-OR Gate truth table |

### Exclusive–NOR:

Two input Ex-NOR gate and its truth table:

Two input Ex-NOR Gate |

Two input Ex-NOR Gate's truth table |

## 0 Comments