Question

In: Computer Science

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:

Solutions

Expert Solution

a. 35
Write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.
35 /  2  result 17 remainder  1
17 /  2  result 8  remainder  1
8  /  2  result 4  remainder  0
4  /  2  result 2  remainder  0
2  /  2  result 1  remainder  0
1  /  2  result 0  remainder  1
Read the remainders from bottom to top.
( 35 )10 = ( 100011 )2
Prepend zeros to make it 8-bit
( 35 )10 = ( 00100011 )2


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

Split 8-bit binary to 2 halves then Use above table to convert 4 bit binary to hex values
0010 in hex is 2
0011 in hex is 3
Answer in hex is (23)16

- binary: 100011
- hexadecimal: 23

=============================

b. 85
Write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.
85 /  2  result 42 remainder  1
42 /  2  result 21 remainder  0
21 /  2  result 10 remainder  1
10 /  2  result 5  remainder  0
5  /  2  result 2  remainder  1
2  /  2  result 1  remainder  0
1  /  2  result 0  remainder  1
Read the remainders from bottom to top.
( 85 )10 = ( 1010101 )2
Prepend zeros to make it 8-bit
( 85 )10 = ( 01010101 )2

Split 8-bit binary to 2 halves then Use above table to convert 4 bit binary to hex values
0101 in hex is 5
0101 in hex is 5
Answer in hex is (55)16

- binary: 1010101
- hexadecimal: 55

=============================

c. 128
Write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.
128    /  2  result 64 remainder  0
64 /  2  result 32 remainder  0
32 /  2  result 16 remainder  0
16 /  2  result 8  remainder  0
8  /  2  result 4  remainder  0
4  /  2  result 2  remainder  0
2  /  2  result 1  remainder  0
1  /  2  result 0  remainder  1
Read the remainders from bottom to top.
( 128 )10 = ( 10000000 )2

Split 8-bit binary to 2 halves then Use above table to convert 4 bit binary to hex values
1000 in hex is 8
0000 in hex is 0
Answer in hex is (80)16

- binary: 10000000
- hexadecimal: 80

=============================

d. 4563
Write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.
4563   /  2  result 2281   remainder  1
2281   /  2  result 1140   remainder  1
1140   /  2  result 570    remainder  0
570    /  2  result 285    remainder  0
285    /  2  result 142    remainder  1
142    /  2  result 71 remainder  0
71 /  2  result 35 remainder  1
35 /  2  result 17 remainder  1
17 /  2  result 8  remainder  1
8  /  2  result 4  remainder  0
4  /  2  result 2  remainder  0
2  /  2  result 1  remainder  0
1  /  2  result 0  remainder  1
Read the remainders from bottom to top.
( 4563 )10 = ( 1000111010011 )2
Prepend zeros to make it 16-bit
( 4563 )10 = ( 0001000111010011 )2

Split 8-bit binary to 2 halves then Use above table to convert 4 bit binary to hex values
0001 in hex is 1
0001 in hex is 1
1101 in hex is D
0011 in hex is 3
Answer in hex is (11D3)16


- binary: 1000111010011
- hexadecimal: 11D3

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:
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 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:
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.
1. Convert 5.5 to hexadecimal notation using IEEE 754 single precision. Please show your work and...
1. Convert 5.5 to hexadecimal notation using IEEE 754 single precision. Please show your work and answer must be in hexadecimal notation. 2. (4 points) Convert -7.875 to hexadecimal notation using IEEE 754 single precision. Please show your work and answer must be in hexadecimal notation.
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.
For the first three sections assume unsigned integers. Convert to binary and hexadecimal 85 4563 Convert...
For the first three sections assume unsigned integers. Convert to binary and hexadecimal 85 4563 Convert from binary to decimal and hexadecimal. 0b1010 1011 0b0011 0001 Convert from hexadecimal to binary and decimal. 0xB2 0x11
Convert the following binary values to hexadecimal and decimal (1 pt each) Write Hex Numbers as...
Convert the following binary values to hexadecimal and decimal (1 pt each) Write Hex Numbers as 0x##(ex 0x0A, 0xFF) Binary Hexadecimal Decimal 0001-1011 0x 0000-1000 0000-0100 0000-1001 0001-1111 1001-1001 0111-1010 1100-0010 1110-0101 1000-1010 0011-0100 0001-1001 0100-0011 1111-1111 1110-0111 0001-0010 0100-1000 0100-1110 1001-0001 0110-1100 Name: Convert the following hexadecimal values to binary and decimal Write binary numbers as 0000-0000 Hexadecimal Binary Decimal 0xf1 0xac 0x56 0x6c 0x32 0x30 0x05 0x28 0xf0 0x07 0x42 0xb9 0x6d 0x2f 0x71 0x0e 0x2d 0xfb 0xba...
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