CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

What are the seven logic gates?


Open in App
Solution

Naming the seven logic gates:

The following are the seven basic logic gates:

  • AND gate: The output attains state 1 if and only if all the inputs are in state 1.

The AND gate is used to perform an AND operation or logical multiplication.

The diagrammatic representation of AND gate:

  • OR gate: The output attains state 1 if one or more inputs attain state 1.

The OR gate is used to perform an OR operation or logical addition.

The diagrammatic representation of the OR gate:

  • NOT gate: The output attains state 1 if and only if the input does not attain a state 1.

A NOT gate is a basic logic gate that is used to invert the input applied to it.

The diagrammatic representation of NOT gate:

  • NAND gate: It is the combination of AND and NOT gate. The NAND gate works exactly opposite of AND gate. The output attains state 0 if one or all inputs attain state 0.

The diagrammatic representation of the NAND gate:

  • NOR gate: It is the combination of OR and NOT gate. The NOR gate works exactly opposite of OR gate. The output attains state 1 if all inputs attain state 0.

The diagrammatic representation of the NOR gate:

  • XOR gate: The output of a two-input XOR gate attains state 1 if one adds only input attains the state 1.

It is also called an exclusive OR gate.

The diagrammatic representation of the XOR gate:

  • XNOR gate: The output is in state 1 when it’s both inputs are the same that is, both 0 or both 1.

It is also called an exclusive NOR gate

The diagrammatic representation of the XNOR gate:


flag
Suggest Corrections
thumbs-up
1
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Logic Gates
PHYSICS
Watch in App
Join BYJU'S Learning Program
CrossIcon