15-190-mini / Spring 2010 / Quiz 1
Show your work! No work == no credit!
How much of lab1 did you complete?
100%? 75%? 50%? 25%? 0%?
What exactly will the following Java code
print?
int x = Integer.MIN_VALUE + 1;
System.out.println(x+x);
Express NXOR (not xor) in DNF.
Draw
a 4-bit adder using 4 daisy-chained full adders. (You may assume you
have already-built full adders.)
Bonus/Optional: Briefly explain why it is not possible to compute any arbitrary boolean function using only AND gates (even if you had an arbitrary number of AND gates).