I am confused on this example. How can a string made up of a,b,c,d be converted using base4 representation in this way?
>Solution :
How can a string made up of a,b,c,d be converted using base4
In this case a,b,c,d are digits, traditionally 0…9 are used for system with base <= 10, but other characters might be used. For example say you might write binary number using - and +.
Note that various base systems are working same way, but are just using subsequent powers of different number. Consider 21231 in base-10 system, it is:
2 * 10 ** 4 + 1 * 10 ** 3 + 2 * 10 ** 2 + 3 * 10 ** 1 + 1 * 10 ** 0
