- Can you compute the NOT’s of 3 input variables, using as many AND/OR gates as you like but only 2 NOT gates?
In other words, from an input of 3 boolean variables X, Y, and Z, you need to output NOTX, NOTY and NOTZ using only 2 NOT gates and as many AND/OR gates as you like.
- AND takes 2 or more inputs, and it will output TRUE (or 1) if and only if all inputs are TRUE (or 1).
- OR takes 2 or more inputs, and it will output FALSE (or 0) if and only if all inputs are FALSE (or 0).
- NOT takes 1 input, and it will output FALSE (or 0) if the input is TRUE (or 1) and TRUE (or 1) if the input is FALSE(or 0).
I found it here, page 4. You can read some of it if you don't get it yet, I guess.
You can't use IF gates (conditionals in general). Only use AND, OR and up to 2 NOT gates.
Here's what I have so far:
Spoiler
This post has been edited by Itu: 11 May 2012 - 04:30 PM

