{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Quiz 2

Quiz 2 - Name:Devki Desai CNIT 17600 Spring 2012 Quiz 2...

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

Name:Devki Desai CNIT 17600 - Spring 2012 Quiz 2 – Data Representation For the following conversion problems, list values for each place in the bottom row. Only fill in those columns required to represent the number. 1. Convert decimal 346 to hexadecimal 409 6 25 6 16 1 0 1 5 A 2. Convert decimal 12634 to binary 819 2 409 6 204 8 102 4 51 2 25 6 12 8 64 32 16 8 4 2 1 1 1 0 0 0 1 0 1 0 1 1 0 1 0 3. Convert binary 11011001001 to decimal 10000 1000 100 10 1 0 1 7 3 7 4. Convert hexadecimal AB12 to decimal 10000 1000 10 0 10 1 4 3 7 9 4 5. Directly convert F3A7 from Hexadecimal to binary using a nibble for each hex digit F 3 A 7 1 1 1 1 0 0 1 1 1 0 1 0 0 1 1 1

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

View Full Document
Perform the following binary addition/subtraction problems using the specified representation and method: 6. Add 168 and 57 using 8-bit unsigned binary integers 1 0 1 0 1 0 0 0 + 0 0 1 1 1 0 0 1 1 1 1 0 0 0 0 1 7. Subtract 25 from 109 using 8-bit signed magnitude binary integers 0 1 1 0 1 1 0 1 - 0 0 0 1 1 0 0 1 0 1 0 1 0 1 0 0 8. Add 72 and 47 using 8-bit two’s complement signed binary integers 0 1 0 0 1 0 0 0 + 0 0 1 0 1 1 1 1 0 1 1 1 0 1 1 1 9. Subtract 47 from 69 using 8-bit two’s complement signed binary integers 0 1 0 0 0 1 0 1 0 0 1 0 1 1 1 1 0 0 0 1 0 1 1 0
Convert the following from decimal to IEEE-754 single precision floating point binary.

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}