Skip to content
ResultDekho

Brain Teaser · 29 Nov 2026

Five lamps in the corridor

Five lamps, on or off. One free seat. Is it Neha's?

Number systems and binaryMedium

Five lamps in the corridor

The hostel corridor has five lamps in a row, and after 9 PM the warden uses them as a quiet signal. Each lamp is either on or off. Reading from the left, the lamps are worth 16, 8, 4, 2 and 1, and the signal is the total of the lamps that are on. Tonight it calls the one room whose student gets the last free seat in the late-night reading room. Neha steps out with her books and sees the lamps: on, off, on, on, off. Her room is 22. The reading room closes its doors in two minutes.

Which room is tonight's signal calling? Type the number.

Answer: 22

How to solve it

  1. 1Write the value above each lamp: 16, 8, 4, 2, 1.
  2. 2On, off, on, on, off means 16, 0, 4, 2, 0.
  3. 3Add the lamps that are on: 16 + 4 + 2 = 22.
  4. 4The signal calls room 22. Neha should run.
  5. 5This is binary: the lamps read 10110, which is 22.
168421
OnOffOnOnOff
10110
160420

The exam habit: Binary is place value with 2 instead of 10. Write 16-8-4-2-1 above the digits and add where you see a 1.