QQ1. Write an algorithm, draw a flow chart and write its corresponding C program to convert a Binary decimal number to its equivalent Decimal number.
- Binary to Decimal conversion sums digit-power-of-2 products.
- Algorithm iteratively extracts rightmost digit, adds its weighted value.
- Initialization: `decimal_value = 0`, `base = 1` (2^0).
- Loop step: `remainder = binary % 10`, `decimal_value += remainder * base`, `binary /= 10`, `base *= 2`.
Answer: Converting a binary number to its decimal equivalent is a core concept in programming, as studied in MCS-201. This process involves summing the products of each binary digit and its corresponding power of 2. Digits are processed from right to left, with the rightmost digit multiplied by 2^0, the next by 2^1, and so on. ### Algorithm to Convert Binary to Decimal This algorithm systematically extracts each digit from the binary number (read as an integer composed of 0s and 1s) and contributes it...