CSE 260: Homework 1
Fall 2015
Due Date: Thursday, September 3rd, 4:00 PM
Complete the following problems:
1 (10 points). Convert the following binary numbers to decimal. Show your work.
a.) 10011
b.) 0110101
c.) 1011101100
d.) 1001111011000111010
2 (10 points). Repeat exercise 1, but convert the values to hexadecimal. Show your work.
3 (10 points). Convert the following hexadecimal values to decimal. Show your work.
a.) B2
b.) FF
c.) 1F2C
d.) 432BC1E9
4 (10 points). Repeat exercise 3, but convert the values to binary. Show your work.
5 (10 points). Convert the following decimal numbers to binary. Show your work.
a.) 42
b.) 97
c.) 711
d.) 9045
6 (10 points). Repeat exercise 5, but convert the values to hexadecimal.
7 (10 points). State how many bits you would need to represent the following:
a.) All values between $0 and $10 that can be made with only $1 bills.
b.) All values between $0 and $10 that can be made with only quarters.
c.) All values between $0 and $10 that can be made with only dimes and nickels.
d.) All values between $0 and $10 that can be made with only pennies.
8 (15 points). Consider a 4-input XOR gate.
a.) Draw a truth table for this gate.
b.) Draw a circuit for this gate, using NMOS and PMOS transistors.
9 (15 points). Consider an OR gate connected to a NOT gate:

a.) Draw a truth table for this circuit.
b.) Draw this circuit using only NMOS and PMOS transistors.