Computers can accept numbers (0-9), alphabets and some special
characters. While processing, data has to flow from one part of computer to another. Since, the computer is an electronic device and works with electronic pulses, the information should be in machine readable form (in the form of electronic pulses).
We can work with decimal number system. This number system uses 10 distinct digits(0-9). One can represent any possible number with the help of these digits. If the computer has to work with decimal number system it requires 10 different types of electronic pulses. This will make computer operations very complicated. To make things simple, binary number system is used in computers. It deals with two digits only 0 and 1. Any number of decimal number system can be represented with the help of these two digits.
If the computer starts using binary system, only two distinct pulses would be required to represent any numbers internally.
Two pulses that are used to represent basic numbers (0 and 1) are: Absence of pulse (current) - 0 Presence of pulse (current) - 1
To convert a decimal digit into its binary equivalent, following steps are performed:
1. Divide the decimal number by 2 (base of binary number) 2. Note the remainder separately as the right most digit of binary equivalent 3. Divide the quotient again by 2 4. Note the remainder as next left digit of binary number 5. Repeat the step 3 and 4 until quotient becomes 0
For example, the binary equivalent of 23 is:
QUOTIENT
2 23 REMAINDER (bottoms up)
2 11 1
2 5 1
2 2 1
2 1 0
0 1
Therefore, binary value of 23 will be 10111.
BINARY TO DECIMAL CONVERSION
To convert binary into decimal: 1) Multiply each digit of binary number by 2 having power(0,1,2 n) 2) Sum all the products to get the decimal equivalent
Decimal equivalent of binary number 10111 is 23 as follows:
Microsoft Word - Transistor Models and The Feedback Amp - Docmicrosoft Word - Transistor Models and The Feedback Amp - Doctransistor - Models - and - The - Fba