In a secret computer code built entirely of light switches that can only be turned on (1) or off (0), what standard decimal number is represented by the four-switch pattern 1011?
11
In binary, 1011 equals (1 × 8) + (0 × 4) + (1 × 2) + (1 × 1) = 8 + 0 + 2 + 1 = 11.
About this riddle
Math riddles hide a calculation inside a short story. Pull out the numbers, work out what is being asked, and watch for a trick such as a unit change.
Difficulty: Medium. More like this: Math riddles with answers or try Target 24 for a different kind of puzzle.
More math riddles
I bought a jacket and a hat for a total of $110. The jacket cost $100 more than the hat. How much did the hat cost?
When written out as an English word, my letters appear in strict alphabetical order. No number greater than me possesses this attribute. What number am I?
My age plus my daughter's age equals 66. My age is her age with the two digits reversed. I am exactly 36 years older than her. How old am I?
Each step I take doubles the footprints left by the previous step. I start with 1 footprint on step one, 2 footprints on step two, and so on. On which step will I have created a total cumulative count of exactly 1,023 footprints?
Half of the 8 pies on the table are taken away. How many pies are left on the table?
A lily pad doubles in size every day. If it covers a whole pond in 30 days, how many days did it take to cover half of the pond?

