conversion of number systems faheem anwar manager networks academy ptcl academy

8
CONVERSION OF NUMBER SYSTEMS FAHEEM ANWAR MANAGER NETWORKS ACADEMY PTCL ACADEMY

Upload: allyson-short

Post on 31-Dec-2015

220 views

Category:

Documents


2 download

TRANSCRIPT

IP ADDRESSING PRE-REQUISITE

CONVERSION OF NUMBER SYSTEMSFAHEEM ANWARMANAGER NETWORKS ACADEMYPTCL ACADEMY

NUMBER SYSTEMSMany Numbers systems exist:

Binary ( 0,1) Decimal (0,1,2,3,4,5,6,7,8,9) Octal (0,1,2,3,4,5,6,7) Hexadecimal (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F)

NUMBER CONVERSION Binary to Decimal Conversion Decimal to Binary Conversion

Binary to Decimal Conversion

EXAMPLE: 1 Convert 101101 Binary number in to Decimal Number 1 0 1 1 0 1 32 + 0 + 8 + 4 + 0 + 1= 451111 = 8+4+2+1=15100111 = 32+0+0+4+2+1= 39

Binary to Decimal Conversion

EXAMPLE: 2 Convert 11111111 Binary number in to Decimal Number 1 1 1 1 1 1 1 1128 + 64 + 32 + 16 + 8 + 4 + 2 + 1= 255

Decimal to Binary Conversion

EXAMPLE: 3Convert 59 Decimal number in to Binary Number00111011So the Number is 111011

Decimal to Binary Conversion

EXAMPLE: 4Convert 191 Decimal number in to binary Number10111111So the Number is 10111111

CONCLUSION There are numerous methods of Binary-Decimal Number conversion Simplest method Conversion up to 8 Binary digits Maximum Decimal number is 255 For a Decimal Number greater than 255, a 9th bit is required Every next Bit added Doubles the combinations