Number-System_presentation
Number-System_presentation
(DIGITAL ELECTRONICS)
2nd Semester AY 2024-2025
Analogue is to express the numerical value of the quantity as a continuous range of values between the two expected
extreme values.
Example: - the temperature of an oven settable anywhere from 0 to 100 °C may be measured to be 65 °C or 64.96 °C
or 64.958 °C or even 64.9579 °C and so on, depending upon the accuracy of the measuring instrument.
- the voltage across a certain component in an electronic circuit may be measured as 6.5 V or 6.49 V or
6.487 V or 6.4869 V.
Digital - represents the numerical value of the quantity in steps of discrete values.
Example : the temperature of the oven may be represented in steps of 1 °C as 64 °C, 65 °C, 66 °C and so on.
Analogue systems contain devices that process or work on various physical quantities represented in analogue form.
Digital systems contain devices that process the physical quantities represented in digital form.
In digital electronics, the number system is used for representing the information.
For example, a number system can be used to represent the number of students in a class or number of viewers
watching a certain TV program etc.
The digital computer represents all kinds of data and information in binary numbers. It includes audio, graphics, video,
text and numbers.
When we type some letters or words, the computer translates them in numbers as computers can understand only
numbers.
The number system has different bases and the most common of them are the decimal, binary, octal, and
hexadecimal.
Among the three characteristic parameters, the most fundamental is the number of independent digits or symbols used
in the number system. It is known as the radix or base of the number system.
Base or radix of the number system is the total number of the digit used in the number system.
Example: the decimal system has 10 numerical characters and so has a base of 10:
0123456789
The decimal number system is a radix-10 number system and therefore has 10 different digits or symbols. These are
0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.
All higher numbers after ‘9’ are represented in terms of these 10 digits only. The process of writing higher-order
numbers after ‘9’ consists in writing the second digit (i.e. ‘1’) first, followed by the other digits, one by one, to obtain the
next 10 numbers from ‘10’ to ‘19’. The next 10 numbers from ‘20’ to ‘29’ are obtained by writing the third digit (i.e. ‘2’)
first, followed by digits ‘0’ to ‘9’, one by one. The process continues until we have exhausted all possible two-digit
combinations and reached ‘99’. Then we begin with three-digit combinations. The first three-digit number consists of
the lowest two-digit number followed by ‘0’ (i.e. 100), and the process goes on endlessly.
Each number in this system consists of digits which are located at different positions. The position of first digit towards
left side of the decimal point is 0. the position of second digit towards left side of the decimal point is 1. Similarly, the
position of first digit towards right side of decimal points is -1. The position of second digit towards right side of decimal
point is -2 and so on.
The place values of different digits in a mixed decimal number, starting from the decimal point, are 100 , 101, 102
and so on (for the integer part) and 10−1, 10−2 , 10−2 and so on (for the fractional part). Number Systems 3 The
value or magnitude of a given decimal number can be expressed as the sum of the various digits multiplied by
their place values or weights.
The rightmost digit of number has the lowest weight. This digit is called Least Significant Digit (LSD). The leftmost
digit of a number has the highest weight. This digit is called Most Significant Digit (MSD). The digit 7 in the
number 724 is most significant digit and 4 is the least significant digit
As an illustration, in the case of the decimal number 3586.265, the integer part (i.e. 3586) can be expressed as
Binary = 11100
Decimal = 28
Let us take a simple example 1034 in decimal number system and (2012) its equivalent number in the octal
number system:
2 x 8³ + 0 x 8² + 1 x 8¹ + 2 x 8º
= 2 x 512 + 0 x 64 + 1 x 8 + 2 x 1
= 1024 + 0 + 8 + 2
= (1034)10
Octal to decimal
The hexadecimal number system is a radix-16 number system and its 16 basic digits are 0, 1, 2, 3, 4,
5, 6, 7, 8, 9, A, B, C, D, E and F. The place values or weights of different digits in a mixed
hexadecimal number are 160, 161, 162 and so on (for the integer part) and 16−1, 16−2, 16−3and so on
(for the fractional part). The decimal equivalent of A, B, C, D, E and F are 10, 11, 12, 13, 14 and 15
respectively, for obvious reasons
The hexadecimal number system provides a condensed way of representing large binary numbers stored and
processed inside the computer. One such example is in representing addresses of different memory locations. Let
us assume that a machine has 64K of memory. Such a memory has 64K (= 216 = 65 536) memory locations and
needs 65 536 different addresses. These addresses can be designated as 0 to 65 535 in the decimal number
system and 00000000 00000000 to 11111111 11111111 in the binary number system. The decimal number system
is not used in computers and the binary notation here appears too cumbersome and inconvenient to handle. In
the hexadecimal number system, 65 536 different addresses can be expressed with four digits from 0000 to FFFF.
Similarly, the contents of the memory when represented in hexadecimal form are very convenient to handle.
Hexadecimal is a convenient way to express binary numbers
in modern computers in which a byte is almost always
defined as containing eight binary digits.