This is how you convert a binary code into a decimal code.
1. Going from right to left, label each of your 1s and 0s 20, 21, 23, 24, etc. until each of your digits has a 2 to the whatever power paired with it. Your exponents must got up 1 as you move to the right. You must start with 20 and then go to 21 and so on and so forth.
2. Once you have completed this step you want to ignore your zeros. For each of your ones go ahead and calculate the labels that you gave your ones in the previous step.
3. Once you have calculated these numbers add them all. The number that you get after you add them up is your decimal code and that is how you convert from binary into decimal.
Positional and Non-positional Number System
The positional number system is the total value of each number is determined by the position it is in if it is grouped with other numbers. For example, 554 is higher than 544. Even though there is a 4 in the last of the 3 digits on both of the numbers the first one is higher than the second one because the second digit in the first one is a 5 and the second digit in the second one is a 4.
The Non-positional number system differs from this because regardless of what position the numbers are in a so called "bigger" number could actually be smaller than a number that is "smaller" than it is. It doesn't really deal with the position of the digits.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment