James has a defective clock in his room. The clock is digital, and some of the seven bars on its units digit are broken. A bar that works is on when it should be and off when it should be, whereas a broken bar is off regardless of the time.
Assume that in each scenario, unless otherwise stated, James knows there are broken bars, but doesn't know how many or where they are.
- James enters his room and glances at his clock. He knows how many bars are broken but he doesn't know which ones they are. He immediately knows for sure what the time is.
- James enters his room and glances at his clock. He knows which bars are broken and immediately knows for sure what the time is.
- James enters his room and knows which bars are broken. He stares at his clock for 60 seconds. Now he knows for sure what time it is.
- James enters his room. He knows how many bars are broken but he doesn't know which ones they are. He stares at his clock for 60 seconds. Now he knows for sure what time it is.
In each of these four scenarios, what is the maximum number of broken bars, and which might it/they be?
Edit:
An example of scenario 1 might be 3. If James walked in, and saw a time whose units digit were 8, and bars A, G, and D were burnt out, him knowing that 3 bars were burnt out and not knowing where, he's still be able to deduce that the number is 8. However, this may not be the optimal answer for scenario 1.
There seems to be some confusion about what is meant here, and I hope that clarifies something.