do the homework
Name: _______________________
ID:_____________________
CE 100 Homework 3
Answer the following questions in the provided fields. Do not modify the layout of this
document. Upload your answers to gradescope as a pdf. You must show your work.
Question 1 (5 Points) Perform the following addition and subtraction operations on the
signed 8 bit numbers. Indicate if there is overflow or not. Your final answer should be written
in hexadecimal.
a) 0x34 + 0xA2
b) 0xFF – 0x4B
c) 0x72 + 0x2B
d) 0x85 + 0xF0
Name: _______________________
ID:_____________________
Question 2 (5 Points) Perform the multiplication and division of the following numbers:
a) 0xC * 0x7
b) 0xF / 0x3
Name: _______________________
ID:_____________________
Question 3 (5 Points) Perform the addition and multiplication on the following floating point
numbers. Show your steps (Do not convert a and b to decimal base, compute the addition
and multiplication, then convert the results back to normalized binary and single precision).
Provide you answer as a 8 digit hex number.
a = 0100 0000 1101 1000 0000 0000 0000 0000
b = 1011 1111 1110 0000 0000 0000 0000 0000
a) a + b
b) a*b