Question

In: Computer Science

Number conversion between hexadecimal and binary. Show the working steps. a) Convert the hexadecimal number E4D2...

Number conversion between hexadecimal and binary. Show the working steps. a) Convert the hexadecimal number E4D2 into binary. b) Convert the binary number 1100010111110011 into hexadecimal

Solutions

Expert Solution

a)hexadecimal to binary

E4D2

Each digit in hexadecimal has a corresponding 4 digit binary For this we can use a table

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

We can start conversion. In our question E4D2,

i) Take the rightmost digit 2 then give value from the table that is 0010.

ii)Second digit is D, give 1101 value

iii)Third digit is 4,give 0100

iv)Last digit is E, write it as 1110.

So the convertes binary number we can start from the E value.

That is. (E4D2)16 becomes (1110 0100 1101 0010)2

b) Binary to Hexadecimal

It is the reverse process what we do above.

Step 1) make a group of 4 bits from the rightmost part.

Step2) Give each 4 bit to group to corresponding hexavalue from the above table.

1100 0101 1111 0011

C 5 F 3

So the converted hexa value is

(1100010111110011)2 becomes(C5F3)16

Note: IT is not necessary to study the table we can write it using 8421 code.

That is 8 4 2 1

1 1 1 1

If we want to get binary of 5, then using 8421 code here 4+1=5. So the position of 4 and 1 Should be 1. Give remaining position to 0.That is

8 4 2 1

0 1 0 1.

If we want to convert D to binary, first look D's corresponding decimal value is 13. Using 8421 code, 8+4+1 is 13. So give these position to 1 and others becomes 0.

8 4 2 1

1 1 0 1


Related Solutions

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 ______________.
SUBJECT: CYBER ESSENTIALS Convert between binary and hexadecimal values Question 7: Convert binary number to a...
SUBJECT: CYBER ESSENTIALS Convert between binary and hexadecimal values Question 7: Convert binary number to a hexadecimal number Binary number: 00001100 Hexadecimal value: ?? Question 8: Convert binary number to a hexadecimal number Binary number: 01001111 Hexadecimal value: ?? Question 9: Convert binary number to a hexadecimal number Binary number: 10101101 Hexadecimal value: ?? Question 10: Convert hexadecimal number to an 8 bit binary number Hexadecimal number: AB 8 bit binary number: Question 11: Convert hexadecimal number to an 8...
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 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 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.
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
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.
Binary conversion: Convert 1234.5869 × 103 to IEEE 745 (show your work)
Binary conversion: Convert 1234.5869 × 103 to IEEE 745 (show your work)
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:
With a detailed step-by-step process, convert the following decimal number into binary, Hexadecimal and IEEE 754...
With a detailed step-by-step process, convert the following decimal number into binary, Hexadecimal and IEEE 754 formats : 72.nn ( where nn is 80)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT