# question

#### dlmcknny63

Joined May 25, 2008
11
what is the inputs of A and B if the output of a two-input NAND gate is a zero

#### mik3

Joined Feb 4, 2008
4,843
what is the inputs of A and B if the output of a two-input NAND gate is a zero
The inputs may be
A=0, B=0
A=0, B=1
A=1, B=0

If the inputs are A=1, B=1 then the output is 1

#### dlmcknny63

Joined May 25, 2008
11
Thank You Sir...........

#### thingmaker3

Joined May 16, 2005
5,084
Methinks there be a typo here...

#### SgtWookie

Joined Jul 17, 2007
22,210
If the inputs are A=1, B=1 then the output is 1
No soup for you!

NAND truth table:
Rich (BB code):
A B |Out
----+---
0 0 | 1
0 1 | 1
1 0 | 1
1 1 | 0
[eta] No soup for me, either!

Last edited:

#### thingmaker3

Joined May 16, 2005
5,084
Methinks there STILL be typos here! No soup for either of you!

"NAND" means "NOT AND." (But you knew that.) "AND" means both i/p must be high for the output to be high. (But you knew that.) "NOT" means, we invert the output. (But you knew that, too.)

#### mik3

Joined Feb 4, 2008
4,843
Ohhh!!! You are right thingmaker, he wants a NAND gate and not an AND gate. I was not very carefull and i didnt notice that. Thus the correct answer is:

You get a 1 on the output if
A=0, B=0
A=0, B=1
A=1, B=0

If the inputs are A=1, B=1 then the output is 0

I am sorry for the wrong answer dlmcknny63