AND gate is formed by using two? 1)OR 2)NAND 3)NOT 4)NOR
Answer 1:
Euhhh…
As far as I am aware…
None of the above.
Explanation:
The simplest Boolean “gate” is the \(\text { identity: }\)
Simplest: what comes in, goes out….
So simple, that it actually doesn’t change anything and usually is forgotten/ignored. Compare it to a simple strip of copperwire…
The other basic gates:
The \(\text { Equals }\) (Identity), \(\text { NOT, AND, OR }\) and \(\text { XOR }\) (Exclusive OR) are the basic, elementary gates/operators in Boolean Algebra.
So you can’t really construct an \(\text { AND }\) -gate from any other ones…..
Answer 2:
AND gate is formed by using two NAND gates.
Explanation:
NAND and NOR gates are called “Universal” gates as any kind of logic gate can be obtained by using combinations of these.
To get an AND gate we can use two NAND gates.
If A and B are the input to the first NAND gate, we will get output as \(\overline{A . B}\)
Let this be denoted by \(Q\)
\(∴ Q=\overline{A . B}\)Now give \(Q\) as input to second NAND gate ( join the inputs together, i.e. \(Q\) will be the input to both the terminals of second NAND gate).
Now the output of second NAND gate will be :
\(\overline{Q \cdot Q}=\bar{Q}=\overline{\overline{A . B}}=A . B\) desired —- AND logic.
\(\text{Note:}\) AND logic can also be obtained by using \(3 \text { NOR }\) gates. But as the question says about a specific number \(\text{two}\) , we need to use NAND gates.