This document provides solutions to base conversion problems in computer science. It converts base12 numbers to decimal, a base10 number to base2, and a base16 number to decimal. For the base12 to decimal conversions, it breaks down the number into place values and sums them. For the base10 to base2 conversion, it divides the number by 2 repeatedly. And for the base16 to decimal conversion, it divides the hexadecimal digits by 16.
This document provides solutions to base conversion problems in computer science. It converts base12 numbers to decimal, a base10 number to base2, and a base16 number to decimal. For the base12 to decimal conversions, it breaks down the number into place values and sums them. For the base10 to base2 conversion, it divides the number by 2 repeatedly. And for the base16 to decimal conversion, it divides the hexadecimal digits by 16.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
This document provides solutions to base conversion problems in computer science. It converts base12 numbers to decimal, a base10 number to base2, and a base16 number to decimal. For the base12 to decimal conversions, it breaks down the number into place values and sums them. For the base10 to base2 conversion, it divides the number by 2 repeatedly. And for the base16 to decimal conversion, it divides the hexadecimal digits by 16.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
Q: 1 Convert the following base12 numbers to decimal numbers. Assume that they are unsigned. 1. 9A6B12 x=0 x=x+9=9 x = 12x9 + A = 118 x = 12x118 + 6 = 1422 x = 12x1422 + B = 17075 So, 9A6B12 = 1707510 2. AABB12 x=0 x = x + A (=10) = 10 x = 12x10 + A (=10) = 130 x = 12x130 + B (=11) = 1571 x = 12x1571 + B (=11) = 18863 So, AABB12 = 1886310
Q: 2 Convert the following base10 number to base2 number.
1. 0.7510 0.75x2 = 1.5, f-1 = 1 0.5x2 = 1.0, f-2 = 1 So 0.7510 = (0.11)2 Q: 3 Convert the following base16 number to decimal number. 1. 0.ABC16 F=0 F = (0 + 12) / 16 = 0.75 F = (0.75 + 11) / 16 = 0.734375 F = (0.734375 + 10) / 16 = (0.6708984)10
http://vujannat.ning.com/ Best Website To Help VU Students