Practical Electronics/Binary

Binary NumberEdit

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

10001
20010
30011
40100
50101
60110
70111
81000
91001

Binary CodingEdit

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