How would you convert the Binary number 01001101 into both Hexadecimal and Decimal?

Into Decimal (Base 10): Write the values for each bit above the number to be converted (128, 64, 32, 16, 8, 4, 2, 1). For each bit in the number to be converted, if it is a 1, circle the value that you wrote above it. Now simply add together all of the circled values, and you have calculated the decimal equivalent. In this example you would circle and add 64+8+4+1, giving that 01001101= 7710. Into Hexadecimal (Base 16): Split the binary number into two groups of 4 bits (4 binary digits). Calculate the decimal equivalent for each part using the steps above, and write this underneath each group. In this example, split into 0100 and 1101. The binary equivalents for each of these are 4 and 13 respectively, using the steps from above. Now, you can easily convert each of the decimal numbers into Hexadecimal using the following conversions: (Decimal10 = Hexadecimal16) 0=0, 1=1, 2=2,..., 9=9, 10=A, 11=B, 12=C, 13=D, 14=E, 15=F In our example, we find that 410 = 416 and 1310 = D16. Now simply write these Hexadecimal digits together to complete the problem, so 010011012 = 4D16

Answered by George M. Computing tutor

10413 Views

See similar Computing GCSE tutors

Related Computing GCSE answers

All answers ▸

Describe the diference between an object and a class


Describe how sensors and microprocessors are used to maintain certain conditions.


Convert the following binary number into hexadecimal : 10111000


What is the difference between data verification and data validation?


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2024

Terms & Conditions|Privacy Policy