Conversion between Number Bases - SS3 ICT Lesson Note
Conversion between Number Bases:
To convert between number bases, you can use the following general steps:
Convert the number to decimal (if it's not already in decimal form).
From decimal, convert to the desired base.
For example, to convert a binary number (1101) to decimal:
1×(23) + 1×(22) + 0×(21) + 1×(20) = 8 + 4 + 0 + 1 = 13 (in decimal).
To convert 13 to octal, divide by 8: 13 / 8 = 1 with a remainder of 5. So, in octal, it's 15.
Digits in Each Number Base:
As requested, here are the digits for each of the specified number bases:
Binary (Base-2): 0, 1
Octal (Base-8): 0, 1, 2, 3, 4, 5, 6, 7
Decimal (Base-10): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Hexadecimal (Base-16): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
Feel free to ask if you have more questions or need further clarification!