Tuesday, November 16, 2004

xor pop quiz

heres a little something to get your nerd minds cranking..
The following is the truth table for a 2-input XOR gate where x and y are inputs, f is the function output
xy f
00 0
01 1
10 1
11 0

Question: What is the truth table for a 3-input XOR gate? and no cheating in a book or using the net.. give me YOUR answer.

7 comments:

Unknown said...

okay here's my seat of the pants answer

x y z f
0 0 0 0
1 0 0 1
1 1 0 1
0 1 0 1
0 1 1 1
0 0 1 1
1 0 1 1
1 1 1 0

now i'll go cheat by asking the internet

Unknown said...

awww should've thought about it a bit more and i could've had it.

Daniel said...

x y z f
0 0 0 0
1 0 0 1
1 1 0 0
0 1 0 1
0 1 1 0
0 0 1 1
1 0 1 0
1 1 1 1

Now, I'd like it if you would change the new comments thing on the blog to show the last 10 or 15 comments since this blog gets a lot of posts.

Unknown said...

since you appear to have gotten the quiz question right I'll have to fix the blog.. not like your the programmer among us, you could fix it!

AND DOES NO ONE KNOW HOW TO COUNT?!!! my goodness, where did you guys come up with the truth table? its crap.

forkev said...

there is a lot of finger pointing here on who should fix the recent posts hack.
I believe I'll do it. right after i get something to...eat?.
naw.

I gotta get these cuts looked at from playing in the crawl space at work today running wire. nails make little pinging sounds right before they take some blood and hair!

Unknown said...

i would like to point out that the comment accusing people of not being able to count was actually posted by keith, the computer was just messed up. and to clarify i am one of the people he thinks can't count.

Daniel said...

The count is very good... it is gray coded which generates less noise on the bus! Jennifer was just trying to keep things quiet and maintain integrity.