Number System
Number System
In computer science, there are four commonly used number systems: decimal system (base 10),
binary system (base 2), octal system (base 8), and hexadecimal system (base 16).
The decimal number system is the one we use in our day-to-day life and has base 10 as it uses
10 digits from 0 to 9¹. The binary number system has base 2 and is used by computers to
represent data and instructions². The octal number system has base 8 and is used in computing
when working with groups of bits¹. The hexadecimal number system has base 16 and is used in
computing for representing colors, memory addresses, and other data¹.
For example, if you want to represent the decimal number "10" in binary, you will write it as
"1010" because it is equal to (1 x 2^3) + (0 x 2^2) + (1 x 2^1) + (0 x 2^0). Similarly, if you want to
represent the decimal number "10" in hexadecimal, you will write it as "A" because it is equal to
(10 x 16^0)
The Decimal Number System:
The Decimal number system is a number system of base or radix equal to 10, which means that
there are 10, called Arabic numerals, symbols used to represent number : 0, 1, 2, 3,…….,9 ,
which are used for counting.
The units symbol occupies the first position to the left of the decimal point is represented as
100. The second position is represented as 101, and so forth. To determine what the actual
number is in each position, take the number that appears in the position, and multiply it by 10X,
where x is the power representation. This is expressed mathematically of the first five positions
as
104 103 102 101 100
Ten thousand thousand hundreds tens units
For example, the value of the combination of symbols 435 is determined by adding the weight
of each position as 4 102 + 3 101 + 5 10o Which can be written as 4 100 + 3 10 + 5 1
Or 400 + 30 + 5 = 435.
The Binary Number System:
The binary number system is a number system of base or radix equal to 2, which means that
there are two symbols used to represent number : 0 and 1.
A seventeenth-century German Mathematician, Gottfriend Wilhelm Von Leibniz, was a strong
advocate of the binary number system. The binary number system has become extremely
important in the computer age.
The symbols of the binary number system are used to represent number in the same way as in
the decimal system symbol is used individually; then the symbols are use combination. Since
there are only two symbols, we can represent two numbers , 0 and 1, with individual symbols.
The position of the 1 or 0 in a binary number system indicates its weight or value within the
number. We then combine the 1 with 0 and with itself to obtain additional numbers.
Binary and Decimal Number Correspondence:
Here are first 15 equivalence decimal and binary numbers: