Question

In: Computer Science

represent 8912 in 16-bit binary format and then convert it to Hexadecimal form.

represent 8912 in 16-bit binary format and then convert it to Hexadecimal form.

Solutions

Expert Solution

Since this is a positive number. we can directly convert this into binary
Divide 8912 successively by 2 until the quotient is 0
   > 8912/2 = 4456, remainder is 0
   > 4456/2 = 2228, remainder is 0
   > 2228/2 = 1114, remainder is 0
   > 1114/2 = 557, remainder is 0
   > 557/2 = 278, remainder is 1
   > 278/2 = 139, remainder is 0
   > 139/2 = 69, remainder is 1
   > 69/2 = 34, remainder is 1
   > 34/2 = 17, remainder is 0
   > 17/2 = 8, remainder is 1
   > 8/2 = 4, remainder is 0
   > 4/2 = 2, remainder is 0
   > 2/2 = 1, remainder is 0
   > 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 10001011010000
So, 8912 of decimal is 10001011010000 in binary
Adding 2 zeros on left hand side of this number to make this of length 16
so, 8912 in 2's complement binary is 0010001011010000
Hexadecimal     Binary
    0           0000
    1           0001
    2           0010
    3           0011
    4           0100
    5           0101
    6           0110
    7           0111
    8           1000
    9           1001
    A           1010
    B           1011
    C           1100
    D           1101
    E           1110
    F           1111
Use this table to convert from binary to hexadecimal
Converting 0010001011010000 to hexadecimal
0010 => 2
0010 => 2
1101 => D
0000 => 0
So, in hexadecimal 0010001011010000 is 0x22D0
Answer: 0x22D0

Related Solutions

represent -100 in 16-bit binary format and then convert it to Hexadecimal form.
represent -100 in 16-bit binary format and then convert it to Hexadecimal form.
represent -100 in 16-bit binary format and then convert it to Hexadecimal form.
represent -100 in 16-bit binary format and then convert it to Hexadecimal form.
represent -100 in 16-bit binary format and then convert it to Hexadecimal form.
represent -100 in 16-bit binary format and then convert it to Hexadecimal form.
11.  Convert this hexadecimal notation to binary notation: E4B Answer format: put a space between each four-bit...
11.  Convert this hexadecimal notation to binary notation: E4B Answer format: put a space between each four-bit pattern. (e.g., 1000 0000 0111) 12. Convert this decimal notation to an excess notation system using bit patterns of length three: -1 13. Convert this two's complement notation to its equivalent base ten representation: 10011 Note: Since the tables in the book on page only show 7 through -8 in a pattern of length four,          you will need to create a pattern of length...
Convert the following decimal numbers to 16-bit 2’s complement binary. Display your result in hexadecimal. a.3030...
Convert the following decimal numbers to 16-bit 2’s complement binary. Display your result in hexadecimal. a.3030 b.404 c.5050 d.-5050 e.-20000 Show work with steps
(16) Convert the following numbers into 8-bit hexadecimal values. Number Binary Complemented Two's Complement Hex -102...
(16) Convert the following numbers into 8-bit hexadecimal values. Number Binary Complemented Two's Complement Hex -102 -87 -31 (17) Add up the first two binary numbers from the previous problem in Two’s complement form.   (17a) What is the sum in hex? (17b) What is the sign bit? (17c) Did overflow occur? (17d) Code this up in 68K and include a screenshot of the output here as well as your source & listing files. What happens? Please show work! If you...
Convert 110.7510 to binary ______ and hexadecimal ______. Show the answer in both binary and hexadecimal....
Convert 110.7510 to binary ______ and hexadecimal ______. Show the answer in both binary and hexadecimal. There are ____________ kilobytes in a megabyte. Convert -13210 to a 16-bit 2’s complement in binary ____________ and hexadecimal ______________.
Convert the following hexadecimal representations of 16-bit 2’s complement binary numbers to decimal. a.FCAD b.DEAD c.1111...
Convert the following hexadecimal representations of 16-bit 2’s complement binary numbers to decimal. a.FCAD b.DEAD c.1111 d.8000 e.FACE
Design a Decoder Circuit that can convert a 4-bit Binary Number to a Hexadecimal Output.
Design a Decoder Circuit that can convert a 4-bit Binary Number to a Hexadecimal Output.
Convert the following numbers to 8-bit binary and 8-bit hexadecimal: a) 20 b) 78 c) -25...
Convert the following numbers to 8-bit binary and 8-bit hexadecimal: a) 20 b) 78 c) -25 d) -96 Convert the following hexadecimal numbers to binary and decimal assuming two's compliment format: a) 0x56 b) 0x14 c) 0xF8 d) 0xCC MUST DO ALL PROBLEMS AND SHOW ALL WORK!!!!
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT