Bits, bytes, and binary numbers
What decimal value does it represent?
Examples
Worked example
Input
1011 in binary
Expected output
11
Hints and solution
Hint 1
Write down the starting state and walk through one example by hand.
Reveal worked answer
Add 8, 0, 2, and 1. The result is 11.