Advertisements
Advertisements
प्रश्न
Write the procedure to convert fractional Decimal to Binary.
टिप्पणी लिखिए
Advertisements
उत्तर
Procedure to convert fractional Decimal to Binary.
- Step 1: Multiply the decimal fraction by 2 and note the integer part. The integer part is either O or 1.
- Step 2: Discard the integer part of the previous product. Multiply the fractional part of the previous product by 2. Repeat step 1 until the same fraction repeats or terminates (0).
- Step 3: The resulting integer part forms a sequence of 0’s and 1 ’s that becomes the binary equivalent of decimal fractions.
- Step 4: The final answer is to be written from the first integer part obtained till the last integer part obtained.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
