Convert 660677 n8 Convert 2403115 n16 Convert 23615119 n
Solution
Okay so convert the numbers from one standard to another we first need to convert the standard to the decimal format that is the base 10 format, so to convert a format in decimal form first we need to do the indexing of the numbers starting from the right. For example we have 2315, so starting from 1 to have index 0, 3 to have index 1 and 2 to have index 2, now to convert it to decimal format, multiply the digits with 5 to the power of its index.
2315=2*102+3*101+1*100=66 now to convert 6610 to the format of base 16, divide it by 16 and write the remainder seperately, s we get 4216.
A. Now in a octal(base 8) system the numbers allowed are from 0 to 7 , in decimal(base 10) system the numbers allowed are 0 to 9.
So in a system having base 7, the numbers allowed are from 0 to 6, we cannot allow any other number other than this, so in Part A as the Figure given is 660677 is not valid.
B. 2403115=2*55+4*54+0*53+3*52+1*51+1*50=883110
Now dividing 8831 by 16 and writing the remainders to convert it to base 16 we get 227F, where in hexadecimal A=10,B=11,C=12,D=13,E=14,F=15 as hexa decimal has base 16 so the numbers allowed are from 0 to 15.
C. 23615119=2*96+3*95+6*94+1*93+5*92+1*91+1*90=128053910
Now dividing 1280539 by 16 and writing the remainders to convert it to base 16 we get 138A1B, where in hexadecimal A=10,B=11,C=12,D=13,E=14,F=15 as hexa decimal has base 16 so the numbers allowed are from 0 to 15.
D. (1101101101110111011011100110101011)2=(155567334653)8
There is a Shortcut method to convert binary to octal, you dont need to convert binary to decmal and then decimal to octal you just need to make groups of 3 starting from the most right corner and whrite its corrosponding value.As we know 101 is 5, similiarly 111 is 7, 010 is 2 and so on, so on dividing the binary number in groups of 3 we get
1 101 101 101 110 111 011 011 100 110 101 011
Add zeroes to the last digit to make it a group of 3
001 101 101 101 110 111 011 011 100 110 101 011
1 5 5 5 6 7 3 3 4 6 5 3
So this is the Octal conversion of Binary.
Thank You for using Chegg...
