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

10420 Views

See similar Computing GCSE tutors

Related Computing GCSE answers

All answers ▸

What are the differences between a stack and a queue?


Show how you would calculate 53 + 39 in 8-bit binary?


Storage: Magnetic hard disc vs Solid state drive.


Write the binary number 11011 in decimal.


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