Computer Science, asked by omkarausarkar2662, 1 year ago

the conversion between binary to hexadecimal

Answers

Answered by HimaniVarshney
0

Hexadecimal numbers can be 0-9, or A-F, since hexadecimal is base-16. You can convert any binary string to hexadecimal (1, 01, 101101, etc.), but you need four numbers to make the conversion (0101→5; 1100→C, etc.).

steps.......

(1)Find a line of up to four binary numbers to convert.

(2)Write a small "1" above the last digit.

(3)Write a small "2" above the third digit, a "4" above the second, and an "8" above the first.

(4)Count out how many of each "place" you have.

(5)Add your four numbers together.

(6)Change any number above "9" into a letter.

(7)Try a few examples to get better at converting.

Convert 1 to hexadecimal.

Add zeros to get four digits: 0001

Find your place holders: {\displaystyle 0^{8}0^{4}0^{2}1^{1}}

Add up the digits: {\displaystyle 0+0+0+1=1}

Final answer: 1

Convert 0101 to hexadecimal.

Add zeros to get four digits: 0101

Find your place holders: {\displaystyle 0^{8}1^{4}0^{2}1^{1}}

Add up the digits: {\displaystyle 0+4+0+1=5}

Final answer: 5

Thankss

hope it helps you..

Please mark the answer as Brainliest

Similar questions