Universal Gate – This book covers the entire syllabus of “Computer & Information Technology” prescribed by the BNMC for B.Sc. in Nursing Science & Diploma in Nursing Science & Midwifery students. We tried to accommodate the latest information and topics.
This book is an examination setup according to the teachers’ lectures and examination questions. We hope in touch with the book students’ knowledge will be upgraded and flourished. The unique way of presentation may make your reading of the book a pleasurable experience.
Universal Gate
A universal gate is a gate which can implement any Boolean function without need to use any other gate type. The NAND and NOR gates are universal gates.
Or,
A Logic Gate which can infer any of the gate among Logic Gates or a gate which can be used to create any Logic gate is called Universal Gate.
NAND Gate is a Universal Gate:
The below diagram is of a two input NAND gate. The first part is an AND gate and second part is a dot after it represents a NOT gate. So it is clear that during the operation of NAND gate, the inputs are first going through AND gate and after that the output is reversed and we get the final output. Now we will look at the truth table of NAND gate.
We will consider the truth table of the above NAND gate i.e. a two-input gate. The two inputs are A and B.

Now we will see how this gate can be used to make other gates.

This is the circuit diagram of a NAND gate used to make work like a NOT gate, the original logic gate diagram of NOT gate is given beside.

The above diagram is of an OR gate made from combinations of NAND gates, arranged in a proper manner. The truth table of an OR gate is also given beside the diagram. Now we will see the design of an AND gate from NAND gates.

The above diagram is of an AND gate made from NAND gate. So we can see that all the three basic gates can be made by only using NAND gates, that’s why this gate is called Universal Gate and it is appropriate.
NOR Gate is a Universal Gate:

The above diagram is of an OR gate made by only using NOR gates. The output of this gate is exactly similar to that of a single OR gate. As we can see the circuit arrangement of OR gate using NOR gates is similar to that of AND gate using NAND gates.

The above diagram as the name suggests is of AND gate using only NOR gate, again we can see that the circuit diagram of AND gate using only NOR gate is exactly similar to that of OR gate using only NAND gates. Now we will finally see how a NOT gate can be made by using only NOR gates.

The above diagram is of a NOT gate made by using a NOR gate. The circuit diagram is similar to that of NOT gate made by using only NAND gate. So, from the above discussion it is clear that all the three basic gates (AND, OR, NOT) can be made by only using NOR gate. And thus, it can be aptly termed as Universal Gate.

D-Morgan’s Law:
A. De Morgan Theorem/Law 1:
The complement of the sum of two or more variables is equal to the product of the complement of the variables
B. De Morgan Theorem/Law 2:
The complement of the product of two or more variables is equal to the sum of the complements of the variables.
For two variables A and B this theorems are written in Boolean notation as follows:

Read more:
