Question

In: Computer Science

Convert from binary to decimal to hexadecimal (PLEASE SHOW ALL WORK) a. 1010 1011 - decimal:...

Convert from binary to decimal to hexadecimal (PLEASE SHOW ALL WORK)

a. 1010 1011

- decimal:

- hexadecimal

b. 0011 0001

- decimal:

- hexadecimal:

c. 1110 0111

- decimal:

- hexadecimal:

d. 1111 1111

- decimal:

- hexadecimal:

Solutions

Expert Solution

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 when converting to hexadecimal

a)  1010 1011
=>  1x2^7 + 0x2^6 + 1x2^5 + 0x2^4 + 1x2^3 + 0x2^2 + 1x2^1 + 1x2^0
=>  1x128 + 0x64 + 1x32 + 0x16 + 1x8 + 0x4 + 1x2 + 1x1
=>  128 + 0 + 32 + 0 + 8 + 0 + 2 + 1
=>  171
in decimal it is 171
1010 is A
1011 is B
in hexadecimal it is AB

b)  0011 0001
=>  0x2^7 + 0x2^6 + 1x2^5 + 1x2^4 + 0x2^3 + 0x2^2 + 0x2^1 + 1x2^0
=>  0x128 + 0x64 + 1x32 + 1x16 + 0x8 + 0x4 + 0x2 + 1x1
=>  0 + 0 + 32 + 16 + 0 + 0 + 0 + 1
=>  49
in decimal it is 49
0011 is 3
0001 is 1
in hexadecimal it is 31

c)  1110 0111
=>  1x2^7 + 1x2^6 + 1x2^5 + 0x2^4 + 0x2^3 + 1x2^2 + 1x2^1 + 1x2^0
=>  1x128 + 1x64 + 1x32 + 0x16 + 0x8 + 1x4 + 1x2 + 1x1
=>  128 + 64 + 32 + 0 + 0 + 4 + 2 + 1
=>  231
in decimal it is 231
1110 is E
0111 is 7
in hexadecimal it is E7

d)  1111 1111
=>  1x2^7 + 1x2^6 + 1x2^5 + 1x2^4 + 1x2^3 + 1x2^2 + 1x2^1 + 1x2^0
=>  1x128 + 1x64 + 1x32 + 1x16 + 1x8 + 1x4 + 1x2 + 1x1
=>  128 + 64 + 32 + 16 + 8 + 4 + 2 + 1
=>  255
in decimal it is 255
1111 is F
1111 is F
in hexadecimal it is FF

Related Solutions

Convert from hexadecimal to binary to decimal (PLEASE SHOW WORK) 1. B2 - binary: - decimal:...
Convert from hexadecimal to binary to decimal (PLEASE SHOW WORK) 1. B2 - binary: - decimal: 2. 37 - binary: - decimal: 3. 0A -binary: - decimal: 4. 11 - binary: - decimal:
1. Convert to binary and hexadecimal (PLEASE SHOW WORK) a. 35 - binary: - hexadecimal: b....
1. Convert to binary and hexadecimal (PLEASE SHOW WORK) a. 35 - binary: - hexadecimal: b. 85 - binary: - hexadecimal: c. 128 - binary: - hexadecimal: d. 4563 - binary: - hexadecimal:
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 a list of decimal numbers into their binary and hexadecimal equivalents Add the elements of...
Convert a list of decimal numbers into their binary and hexadecimal equivalents Add the elements of each of these lists to generate a total sum Print the lists, and the total sum of each value C++ contains some built-in functions (such as itoa and std::hex) which make this assignment trivial. You may NOT use these in your programs. You code must perform the conversion through your own algorithm. The input values are: 5 9 24 2 39 83 60 8...
Convert hexadecimal BEEF to base 2 and 8 using grouping (No mathematics). Please show all work.
Convert hexadecimal BEEF to base 2 and 8 using grouping (No mathematics). Please show all work.
10. Convert 101 1010 (seven bits) into a signed decimal (show work) 15. Give the value...
10. Convert 101 1010 (seven bits) into a signed decimal (show work) 15. Give the value of 011 1101 and C=0 with ROL (seven bits, show work) 16. Give the signed decimal value of 93A (12 bits, show work) 18. Give the binary equivalent of the decimal number of 13.57 (assume fixed point, no more than 6 bits left and right of the decimal point)
Convert the following numbers to 32-bit, 2s compliment binary and hexadecimal formats. Show your work in...
Convert the following numbers to 32-bit, 2s compliment binary and hexadecimal formats. Show your work in recursive division form. 899726616 1656906428 -77102817 -251026154
What is (567.12) octal in binary. What is(5CF.AD) hexadecimal in binary. Please show work so I...
What is (567.12) octal in binary. What is(5CF.AD) hexadecimal in binary. Please show work so I can understand how to solve thanks.
Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS) 205.75
Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS) 205.75
Convert the hexadecimal number BAD D00D 60E5 F00l to binary, octal, base-4. Show your work.
Convert the hexadecimal number BAD D00D 60E5 F00l to binary, octal, base-4. Show your work.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT