2. Binary is a base 2 number system invented by
Gottfried Leibniz where numeric values are
represented by different combinations of 0
and 1, also known as OFF or ON.
3. Decimal is a term that describes the base-10
number system, probably the most commonly
used number system. The decimal number
system consists of ten single- digit numbers:
0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.
4. Expand the number given in binary form in
the power of 2 and sum the values, the result
which we will get will be in the decimal form.
For example: