Web Hosting Talk







View Full Version : Did I do these "truth tables" correct?


Liguidsoul
10-12-2004, 12:35 AM
http://www.swiftglobal.com/temp/truth.gif

Thanks!

luki
10-12-2004, 02:06 AM
Looks fine to me... it's late though :) so no guarantees.

mwaseem
10-12-2004, 02:27 AM
that's all correct.

Liguidsoul
10-12-2004, 02:30 AM
So does it make sense that !(A && B) is not the same as A || B?

Please confirm.

banner
10-12-2004, 02:46 AM
Yes. Your tables are correct. !(A && B) is not the same as A || B because when A and B are 1, A || B is 1. For those inputs !(A && B) is 0, so the 2 expressions are not equivalent. Does that make sense?

The key thing to remember when doing truth tables is to consider all of the inputs and take your time. As long as you cover each of the cases it is pretty tough to screw it up. One other thing to remember is that you can break complex expressions down into smaller more manageable chunks to solve. Otherwise you'll overwhelm yourself trying to try out every possibility in one table.

I hope this helps.

edge100x
10-12-2004, 03:20 AM
If you're curious, !(A && B) = !A || !B is half of DeMorgan's rule. That may be what you were thinking of.

ilyash
10-12-2004, 06:22 AM
!(A && B) is NAND
A || B is OR
!(A || B) is NOR