Академический Документы
Профессиональный Документы
Культура Документы
(ii) Digit
Each symbol in the number system is called a Digit.
(iii) The largest value of a digit is always one less than the base
For ex, in decimal system, the largest digit is 9 (since base is 10)
(iv) Each digit position (i.e. place) represents a different multiple of base
This means that the numbers have positional importance. Hence the number
systems are known as Positional Weighted Number System. It means that the
value attached to a symbol depends on its location with respect to the decimal point.
For example decimal number 123.4 (base 10) can actually be represented as;
Where;
r is the base and Di is any valid digit in the number system of base r.
The digits on the left side of the decimal point form the integer part of a number and
those on the right side form the fractional part.
The left most digit in any number representation, which has the greatest positional
weight out of all the digits present in that number is called the most significant digit
(MSD).
The right most digit in any number representation, which has the least positional
weight out of all the digits present in that number is called the least significant digit
(LSD).
Different number systems are used in various applications. The commonly used
number systems along with their base, 1 st digit, last digit and available digits are shown
as below:
Table 1.2: Illustration of various number system
Decimal number system is the most familiar no. system used in day-to-day life. The
decimal system consists of 10 unique symbols. Hence the base or radix is 10. It is a
positional weighted system. In this system, any number (integer, fraction or mixed) of
any magnitude can be represented by the use of these ten symbols only.
The digits on the left side of the decimal point form the integer part of a decimal
number while those on right side from the fractional part. The digits on the right of the
decimal point have weights which are negative powers of 10 and the digits to the left of
the decimal point have weights which are positive powers of 10. The sum of all the
digits multiplied by their weights gives the total number being represented.
is given by
(dn x 10n) + (dn-1 x 10n-1) + . . . + (d1 x 101) + (d0 x 100) + (d-1 x 10-1) + . . + (d-k x 10-k)
MSD .... 103 102 101 100 10-1 10-2 10-3 . . . . LSD
RADIX POINT
is given by
(bn x 2n) + (bn-1 x 2n-1) + . . . + (b1 x 21) + (b0 x 20) + (b-1 x 2-1) + . . + (b-k x 2-k)
RADIX POINT
Fig. 1.7: Binary position values as power of 2
Counting in Binary
Counting in binary is very similar to decimal counting. Start counting with 0, the next
count is 1. Moving ahead, we put 1 in the column to the left and continue the counting.
Thus, 11 is the maximum we can count using two bits. Similarly, we can continue
counting with 5, 6, ... bits.
The octal number system was extensively used by early minicomputers. It is also a
positional weighted system. Its base or radix is 8. It has 8 independent symbols 0 to 7.
Since its base 8 = 23, every 3-bit group of binary can be represented by an octal digit. An
octal number is, thus 1/3 rd. the length of the corresponding binary number.
RADIX POINT
In computer work, binary numbers up to 64 bits are not uncommon. These binary
numbers do not always represent a numerical quantity; they often represent some type
of code. While dealing with large binary numbers, it is convenient and more efficient for
us to write the numbers in octal rather than binary. The ease with which conversions
can be made between octal and binary makes the octal system more attractive as a
shorthand means of expressing large binary numbers.