Look Up a Record by Its Key
Scenario
The booking schedule maps A14 to free and B14 to busy.
Selected choicePick a choice below
Result—
Try it yourself
Predict what the lookup will return for each key.
| Case | Result |
|---|---|
| A14 | Select a choice above to see what happens. |
| B14 | Select a choice above to see what happens. |
| C14 | Select a choice above to see what happens. |
Reveal the explanation
- A14
Found. This slot is free.
- B14
Found. This slot is busy.
- C14
Missing. The schedule has no record for that key.
Keep missing separate from free. An unknown slot needs its own response.
Your turn
Write a result for one free key, one busy key, and one unknown key.
Common mistake Interpreting a missing schedule record as free.
Check your work
Three results distinguish free, busy, and missing.
This browser could not save your progress. Changes last until you leave the page.