Disk Operating System/Numeral System
Objective[edit  edit source]

Numeral System[edit  edit source]The Binary Numeral System[edit  edit source]This is as low as a numeral system can get. In this system of, the numeral system is 2 based, so we use Arabic numerals 0 and 1. To declare a number as binary, you usually append a postfix b or _{2} at the end of the number so you could write 101011_{2} or 101011b. You don't necessarily need to append these at the end of a binary number, but it helps people not to confuse the number with a different numeral system, like the Decimal numeral system. This numeral system can be used when working with computers, but it tends to get long (Ex: 1111101001101100_{2} is 64108). Since binary is 2 based, the maximum value in each position in the number is 1, so 1_{2}+1_{2}=10_{2} and 10_{2}+11_{2}=101_{2}. Subtraction follows the same rules as addition, 111_{2}1_{2}=110_{2} and 100_{2}11_{2}=1_{2}. The Octal Numeral System[edit  edit source]The octalnumeral system has been used by some cultures around the world, but it has only be significantly used in computing. Since computer's back in the day used a 8 based computing system, using this 8 based numeral system was a good idea at the time. Computer architecture has changed since then and octal is mostly obsolete on x86 computers, but it still is used occasionally. We use the Arabic numerals 07 to display the octal numbers. Octal uses the postfix _{8} or o and you could append a prefix 0o or qo. You don't necessarily need to append these at the end of a binary number, but it helps people not to confuse the number with a different numeral system, like the Decimal numeral system. Since this numeral type doesn't work great on the x86 architecture, you should probably refrain from using it. Since octal is 8 based, the maximum value in each position in the number is 7, so 7_{8}+1_{8}=10_{8} and 23_{8}+7_{8}=32_{8}. Subtraction follows the same rules as addition, 10_{8}1_{8}=7_{8} and 43_{8}17_{8}=24_{8}. The Decimal Numeral System[edit  edit source]This is by far the most commonly used numeral system in the world. This system of counting is 10 based. In European speaking countries, and a lot of others countries, we use the Arabic numerals 09 to display numbers. This isn't the best numeral system to use when working with computers, but it is easy for humans to work with. Since decimal is 10 based, the maximum value in each position in the number is 9, so 9+9=18 and 10+11=21. Subtraction follows the same rules as addition, 101=9 and 238=15. I hope that you have some for of education in mathematics, since this numeral system is most commonly taught worldwide. The Hexadecimal Numeral System[edit  edit source]What Numeral System to Use?[edit  edit source]

Assignments[edit  edit source]

