Interview Question in Logic Gates


 

Interview Question :: What is the difference between NAND gate and AND gate


i dont understand how these two logic functioned! (combinatorial logic and the sequential logic)
Answers to "What is the difference between NAND gate and AND gate"
RE: What is the difference between NAND gate and AND gate?

Digital logic only uses 2 voltage levels ....at or near supply voltage(high logic state) & ground or zero(low logic state).

THese states = "yes" or "no"...or ..."on" or "off".

.

.

.On a AND gate, if there's 1 low input , it has a low output.

This doesn't change until there's 2 high inputs, at which time the output is high



AND gate

A + B = output

L+ L =L

L+H=L

H+L=L

H+H=H

.

.

A NAND gate is the oposite.

NAND gate

A+B= output

L+L=H

L+H=H

H+L=H

H+H=L

.

.

.

Don't forget the OR gate, NOR gate, EX-OR gate , & EX-NOR gate

.

.

.

.

PLEASE don';t rely on the accuracy of wikipedia!

When opinions are accepted as fact, fact is lost!
 
Vote for this answer ::  
RE: What is the difference between NAND gate and AND gate?

nand gate is naggetion of and gate.
 
Vote for this answer ::  
RE: What is the difference between NAND gate and AND gate?

To keep it simple think of 2 input gates.



An AND gate will output TRUE ONLY if both inputs A and B are TRUE



Truth table:

A B Output

0 0 0

0 1 0

1 0 0

1 1 1



A NAND gate will output FALSE ONLY if both inputs A and B are TRUE

Truth table

A B Output

0 0 1

0 1 1

1 0 1

1 1 0
 
Vote for this answer ::  
RE: What is the difference between NAND gate and AND gate?

there are lots of material on this topic on the net but this one will be good for u apart for the info u get from wikipedia.com



http://www.kpsec.freeuk.com/gates.htm
 
Vote for this answer ::  
RE: What is the difference between NAND gate and AND gate?

AND gate is the resultant of the product of the inputs whereas the NAND gate is the combination of AND and NOT gate so, it gives output exactly reverse as compare to AND gate.
 
Vote for this answer ::  
RE: What is the difference between NAND gate and AND gate?

http://en.wikipedia.org/wiki/Nand_gate
 
Vote for this answer ::  
RE: What is the difference between NAND gate and AND gate?

The NAND gate is the NOT of an AND gate. ;)



Please read the easy to understand information about logic gates on

http://en.wikipedia.org/wiki/Logic_gate



It covers:

AND gates

OR gates

NOT gates

NAND gates

NOR gates

XOR gates

XNOR gates



I hope this helped?



Kind regards,

Sebas.
 
Vote for this answer ::  
Update Alert Setting
Advertisement2