Question: 1. Determine the code words for each of the ten decimal digits in the weighted code (63 -11). The code should be self-complementing.
2. Design a four-bit code to represent each of the six digits of the base 6 number system. Make the code self-complementing by selecting appropriate weights.