cse230-s09-a03-almarhoon-mohammed

cse230-s09-a03-almarhoon-mohammed - Assignment Exercises 1....

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment Exercises 1. (2 pts each; 8 pts) Perform these decimal conversions by hand showing your work. a. 113 10 to binary. 1110001 = 2^6+ 2^5+2^4 + 2^0. b. 113 10 to hex. First convert to decimal: 1110001 2 = 2^6+ 2^5+2^4 + 2^0 Then from binary 0111 0001 to hex: 71 c. 63125 10 to hex. First convert to binary: 1111011010010101 Then from binary 1111 0110 1001 0101 then to hex = F695 d. 99 10 to base 3. 10200 3^5 3^4 3^3 3^2 3^1 3^0 243 81 27 9 3 1 0 1 0 2 0 0 2. (2 pts each; 8 pts) Perform these binary conversions by hand showing your work. Assume all integers are nonnegative and are stored without a sign bit . a. 1001001001101 2 to decimal. 4685 = 2^12 + 2^9 + 2^3 + 2^2 + 2^0 b. 10010011110010101011101 2 to hex. 0100 1001 1110 0101 0101 1101 = 49E55D c. 101001111110000011100 2 to octal. 101 001 111 110 000 011 100 = 5176034 8 d. 100101001010 2 to base 3. 10021002 3 7 3 6 3 5 3 4 3 3 3 2 3 1 3 0 2187 729 24 3 81 27 9 3 1 1 0 0 2 1 0 0 2 3. (2 pts each; 8 pts) Perform these hex and octal conversions by hand showing your
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

cse230-s09-a03-almarhoon-mohammed - Assignment Exercises 1....

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online