{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Discussion Solutions 1

# Discussion Solutions 1 - Discussion Session 1 1.1 Convert...

This preview shows pages 1–3. Sign up to view the full content.

Discussion Session 1 1.1 Convert to hexadecimal and then to binary (a) 757.25 10 757 / 16 = 47 R=5 47/16 = 2 R=15=F 2/16 = 0 R=2 ° 2F5 0.25 * 16 = 4.0 ° .4 ° (2F5.40) 16 ° 0010 1111 0101 . 0100 0000 (b) 123.17 10 123 / 16 = 7 R=11=B 7 / 16 = 0 R=7 ° 7B 0.17 * 16 = 2.72 0.72 * 16 = 11.52 ° (7B.2B) 16 ° 0111 1011 . 0010 1011 (c) 356.89 356 / 16 = 22 R=4 22 / 16 = 1 R=6 1 / 16 = 0 R=1 ° 164 .89 * 16 = 14.24 .24 * 16 = 3.84 ° (164.E3) 16 ° 0001 0110 0100 . 1110 0011 (d) 1063.5 10 1063 / 16 = 66 R=7 66 / 16 = 4 R=2 4 / 16 = 0 R=4 ° 427 .5 * 16 = 8.00 ° (427.8) 16 ° 0100 0010 0111 . 1000 1.2 Convert to octal. Convert to hexadecimal and then convert both of your answers to decimal, and verify that they are the same. a. (111010110001.011) 2 ° (EB1.6) 16 = 14*16 2 + 11*16 1 + 1*16 0 + 6*16 -1 = (3761.375) 10 ° (7261.3) 8 = 7*8 3 + 2*8 2 + 6*8 3 + 1*8 0 + 3*8 -1 = (3761.375) 10

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

View Full Document
1.3 Convert to base 6: 3BA.25 14 (do all of the arithmetic in decimal). (3BA.25) 14 = 3*14 2 + 11*14 1 + 10*14 0 + 2*14 -1 + 5*14 -2 = (752.1684) 10 752 / 6 = 125 R=2 124 / 6 = 20 R=5 20 / 6 = 3 R=2 3 / 6 = 0 R=3 ° 3252 .1684 * 6 = 1.0104 .0101 * 6 = 0.0624 .0624 * 6 = 0.3744 .3744 * 6 = 2.2464 ° (3252.1002) 6 1.7 Add the following numbers in binary using 2’s complement to represent negative numbers. Use word length of 6 bits (including sign) and indicate if an overflow occurs.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 4

Discussion Solutions 1 - Discussion Session 1 1.1 Convert...

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

View Full Document
Ask a homework question - tutors are online