* * * * * * * * * * * * * * * * * * * *
* * * * ASDS TP Project Year: 2024/2025 * * * *
* * * * * * ---------------------- * * * * * *
* * * * ------------ * * * *
* * * * * * * * * * * * * * * * * * * *
1 ~ Coding :
• Decimal to base b' { 2 , 8 , 16 , 32 , ... }
2 ~ Decoding :
• Base b' { 2 , 8 , 16 , 32 , ... } to Decimal
3 ~ Transcoding :
• Base b to Base b' / b != b'
• Note: Do not forget to do the direct transcoding if b = ( b’ ) ^ n
4 ~ BCD Code :
• BCD to Decimal
• Decimal to BCD
5 ~ BCD+3 Code :
• BCD+3 to BCD
• BCD to BCD+3
6 ~ Gray Code :
• Gray to Binary
• Binary to Gray
7 ~ Sum in Binary
• Addition in Binary Code
1 ~ Read Number in Base b and Convert to Base b' :
• Input : Number in base b
• Output : Number in base b'
2 ~ Add Two Numbers in Binary Code :
• Input : Two Binary Numbers
• Output : Sum in Binary and Decimal# NEW