Digital Technique introduction to binary Numbers and ڈیجیٹل تکنیک میں بائنری نمبروں کا تعارف اور بائنری نظام میں گنتی

 

Binary Numbers   


Introduction to binary Numbers.

بائنری نمبروں کا تعارف

Counting in the binary system

بائنری نظام میں گنتی

       






The same type of positional notation is used in the binary number system as in the decimal system.


Although the same positional notation system is used.

 

 

The decimal system uses powers of  10.

The binary system powers of  2.

As was previously explained

 The decimal number of 125.

 Actually means  =  

             1 x 102 + 2 x 101 + 5 x 100   .

 

In the binary system, 

The same number  = (125) 

is represented as 1111101.


Meaning = 1 x 26 + 1 x 25 + 1 x 24 + 1 x 23 + 1 x 22 + 0 x 21 + 1 x 20.


To express the value of a binary number, therefore, an  - 1 2n -1 + an – 2  2n – 2 + . . . + a0 is represented as an – 1 an – 1 . . . a0, where ai is either 1 or 0 and n is the number of digits to the left of the binary (radix) point.

 

The following examples illustrate the conversion of binary numbers to the decimal system:

  101 =  1 x 23 – 1 + 0 x 23 – 2 + 1 x 23 – 3

      =  1 x 22 + 0 x 21 + 1 x 20

      =  4 + 1 = 5

 

Comments

Popular posts from this blog

How does Mobile phone work

سوئچ کے بطور بائپولر ٹرانسلیٹر THE BIPOLAR TRANSISTOR AS A SWITCH

Charge چارج