Docsity

CSCI 2150 Binary Homework: Fill Blanks, Conversions, 2's Complement - Prof. David L. Tarno, Assignments of Computer Architecture and Organization

Toggle sidebar
bg1
CSCI 2150 – Binary Representations Homework
Name: ________________________________
1. Fill in the blank cells of the table below with the correct numeric format. For cells representing
binary values, only 8-bit values are allowed! If a value for a cell is invalid or cannot be represented
in that format, write "X".
Decimal
2's complement
binary
Signed magnitude
binary
Unsigned binary
01100101
10001101
01101101
130
2. What is the most negative value that can be represented using 10-bit 2's complement representation?
3. Convert 1010101011010111111102 to hexadecimal.
4. Convert the binary value 101.1001 to decimal. (Note the binary point!)
5. Convert the 32-bit floating-point number 00111101001010100000000000000000 to its binary
exponential format, e.g., 1.1010110 x 2-12, (which, by the way, is not even close to the right answer).

Partial preview of the text

Download CSCI 2150 Binary Homework: Fill Blanks, Conversions, 2's Complement - Prof. David L. Tarno and more Assignments Computer Architecture and Organization in PDF only on Docsity!

CSCI 2150 – Binary Representations Homework

Name: ________________________________

  1. Fill in the blank cells of the table below with the correct numeric format. For cells representing binary values, only 8-bit values are allowed! If a value for a cell is invalid or cannot be represented in that format, write "X".

Decimal 2's complement binary

Signed magnitude binary

Unsigned binary

  1. What is the most negative value that can be represented using 10-bit 2's complement representation?
  2. Convert 101010101101011111110 2 to hexadecimal.
  3. Convert the binary value 101.1001 to decimal. (Note the binary point!)
  4. Convert the 32-bit floating-point number 001111010010101000000000000000 00 to its binary exponential format, e.g., 1.1010110 x 2-12, (which, by the way, is not even close to the right answer).