411 REFERENCE · Wikibooks
Practical Electronics/Binary
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Binary Number
Binary numbers are numbers in base two which consists of two digit 0 and 1 . A series of 0's and 1's can be formed to represent info
For example number from 0 to 9 can be expressed as binary numbers of four bit as shown
<tr>
1<td>0001
<tr>
2<td>0010
<tr>
3<td>0011
<tr>
4<td>0100
<tr>
5<td>0101
<tr>
6<td>0110
<tr>
7<td>0111
<tr>
8<td>1000
9<td>1001
Binary Coding
Since in binary number system there are only two digits 0 and 1 called a Bit . So 1-bit binary number refers to number of 1 digit either 0 or 1 . 2-bit binary number refers to number of 2 digit namely 00, 01, 10, 11 and there are 4 of such numbers which equivalent to 22. Hence, there are 2n binary numbers of n bits
The process of using binary numbers to represent info is called Binary Coding
For example with 1-bit binary number 0 and 1 can be used to represent number 0 and 1 in our system .
With 2-bit binary number can be used to represent number 0 to 3 in our system as follow
00 represents 0
01 represents 1
10 represents 2
11 represents 3
With digit 0 and 1 we have three bit binary numbers of 000, 001, 010, 011, 100, 101, 110, 111 which equivalent to 0, 1, 2, 3, 4, 5, 6, 7