Question
Question: Which logic gate corresponds to logic gate given below A| B| Y ---|---|--- \(0\)| \(0\)| \(...
Which logic gate corresponds to logic gate given below
A | B | Y |
---|---|---|
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
A. AND
B. OR
C. NAND
D. NOR
Solution
In order to solve this question, we will first know the basic working of each logical gates AND, OR, NOR and NAND and then we will check each of logical result given in the table for each of gates and then figure out which logical gate is valid for given results in table, and given table is known as truth table where A and B represent inputs of a logical gate whereas Y represent output of that logical gate.
Complete step by step answer:
Let us first know the basic truth tables of each logical gate. AND gates multiply each input in binary form and truth table of AND operation is written as
A | B | Y |
---|---|---|
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
So, this truth table doesn't match with the given truth table. Now, OR gate adds the input in binary form and truth table of OR gate is written as
A | B | Y |
---|---|---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
So, this table also, don’t match with given truth table.Now, NAND gates truth table is written in binary form as,
A | B | Y |
---|---|---|
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
Clearly, this table also doesn't match with the given truth table. Now, considering truth table for NOR gate which adds the input and then gives complement of that number and truth table of NOR gate is written as,
A | B | Y |
---|---|---|
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
Here, this truth table is the same as the given truth table hence, the given truth table represents NOR gate.
Hence, the correct option is D.
Note: It should be remembered that, the basic operations of binary numbers in Boolean algebra are considered as addition, multiplication, subtraction and complement, here complement represent the inverse of binary number such as complement of 0 is 1 and complement of 1 is 0 and these logical gates are used to construct various analog and digital electrical circuits.