Posts

Showing posts from May 18, 2020

CONVERSION BETWEEN DIFFERENT NUMBER SYSTEM

Conversion Decimal To Binary: Steps:- Divide the Decimal Number by 2 Get the remainder from step 1 Divide the quotient of the previous  by 2 Record the remainder from step 3. Repeat step 3 and 4 for getting remainder until the quotient become 1 or 0. write the quotient and remainder from last step to first step or from bottom to top. Ex-  37 = (?)2 Sol: 2 37 R 2 18 1 2 9 0 2 4 1 2 2 0 1 0 (100101) 2 Conversion Binary To  Decimal : Steps:- Determine the position value of each digit Multiply the postion value with by the corrosponding power of 2. and Sum is the equivalent value in Decimal. Ex- (100101) 2 =1x2 5 + 0x2 4 + 0x2 3 + 1x2 2 + 0x2 1 + 1 x 2 0 =1x32 + 0x16 + 0x8 + 1x4 + 0x 2 + 1x 1 =32+0+0+4+1 = (37) 10 (1011111) 2 = = 1x2 6 + 0x2 5 + 1x2 4 + 1x2 3 + 1x2 2 + 1x2 1 + 1x2