Solved Example based on XNOR Gate

A person is making a lift, where the lift will start,

  • only when the current floor and destination floor is given by the user,
  • also if neither current floor and nor destination floor is given.

Otherwise it will not start.

Solution

According to the question let’s build a truth table.

Suppose, current floor number input denoted by ‘1’ and input not given denoted by ‘0’;

The same way, the destination floor number given denoted by ‘1’ , and not given denoted by ‘0’.

And starting of the lift is denoted by ‘1’ and not starting is denoted bt ‘0’.

Now, possible outcomes are :

Input(A)

Input (B)

Output (A⨀B)

0

0

1

0

1

0

1

0

0

1

1

1

So, according to the question, the lift will start only if both of current and destination floor number is given or neither the current nor destination floor number is given. Otherwise, it will not start. Here we can use an XNOR Gate, as XNOR gate functions are the same, it will print one, only when, both of the input is true, or neither is true.

So the first and the last combination are, when both of the inputs are true, means both of the floor numbers given or none given. In such a case, the lift will start.

The second and third combinations are for when either the current floor number is given and the destination floor number is not given or either the destination floor number is given and the current floor number is not given. In both of the cases, the lift will not start.

XNOR Gate

In digital electronics, the XNOR gate is a type of logic gate used to perform an exclusive NOR gate. It is a special type of logic gate used in digital circuits. An XNOR gate, also known as an equivalence gate or an EX-NOR gate, is a digital logic gate that outputs true (1) when an even number of true inputs are present. It produces a true output if both of its inputs are the same (either both true or both false). It is also known as the material biconditional. This logic gate is denoted by this sign “⊙”.

Table of Content

  • Definition
  • XNOR Gate Logic Symbol
  • Truth Table of XNOR Gate
  • Operation of XNOR Gate
  • Equivalent Gates
  • Applications
  • Advantages
  • Disadvantages
  • Solved Example

Similar Reads

What is an XNOR Gate?

An XNOR gate is a specially designed logic gate having only two inputs and one output. The output of the XNOR gate is logic 1 when both the inputs are logic 1 or logic 0. In other words, the output of the XNOR gate is logic 1 when both the inputs are the same. For dissimilar inputs, the output of the XNOR gate is logic 0. Hence, the XNOR gate is used to implement similarity checker circuits....

XNOR Gate Logic Symbol

The logic symbol of an XNOR gate is depicted in the following figure. It has two inputs represented by A and B, and one output line represented by Y....

Truth Table of XNOR Gate

The truth table is a logical table that shows the relationship between inputs and output of an XNOR gate and provides information about the operation of the gate. In XNOR gate the Output is high (1) when both inputs are same(either both 0 or both 1), and low (0) when the inputs are different....

Operation of XNOR Gate

The following is the boolean expression of the XNOR gate,...

Equivalent Gates

Now we will see how we can form XNOR gate using Different Logic gate and Transistors...

Applications of XNOR Gate

Given Below are some of the Applications of XNOR gate :...

Advantages of XNOR Gate

Given Below are some of the Advantages of XNOR gate...

Disadvantages of XNOR Gate

Given Below are some of the Disadvantages of XNOR gate...

Solved Example based on XNOR Gate

A person is making a lift, where the lift will start,...

Conclusion

In this article we have learnt about the XNOR gate. An XNOR gate or equivalence gate or an EX-NOR gate, is a digital logic gate that outputs true (1) when an even number of true inputs are present. It produces a true output if both of its inputs are the same (either both true or both false). This article explains the truth table, symbolic representation, solved example, and applications which helps in better understanding of the article....

XNOR Gate – FAQs

What are the alternative names for an XNOR gate?...