Ques: Convert B5A16 to Octal.
Sol:
- Separate the digits of the given hex number.B 5 A
- Find the equivalent binary digit number for each digit. Add 0 to the left if any of the binary equivalent is shorter than 4 bits.B 5 A
1101 0101 1010 - Write all the bits together.110101011010
- Separate the binary bits into groups each containing 3 bits from right to left. Add 0s to the left if the last group contain less than 3 bits.110 101 011 010
- Find the octal equivalent for each group.110 101 011 010
5 5 3 2 - Write all the octal number together while keeping the order. This will give the octal equivalent number.5532
Result:
B5A16 = 55328
B5A16 = 55328
No comments:
Post a Comment