cs-132 — The Silent Roster

FieldValue
idcs-132
difficultyIntermediate
topicsrequirements, stakeholders, communication
lecturelecture-13
estimated time5-minute attempt + 10-minute discussion
prerequisiteslecture-01 (inputs/outputs/rule frame), lecture-02 (pseudocode as precision)
objectiveelicit the questions a consequential decision depends on before writing any code
solutionheld by the instructor; discussed after the attempt

Problem

The club attendance app shows "0 attended" for last week's session. There were definitely people in the room. The session lead wants to email everyone who "missed" it — tonight.

The app's data export contains these columns: badge_id, in_time, out_time, session, device.

Your deliverable — no code:

  1. At least three plausible meanings of "attended" that this export could support (each interpretation names the columns it needs).
  2. The single clarifying question you would send to the app team first — the one whose answer changes the most.
  3. A draft opening line for the email that does not accuse anyone of skipping, and stays honest no matter which interpretation turns out to be true.

If the problem is ambiguous anywhere, state the assumption you are making and carry on — a stated assumption is part of a good answer.

Examples

Solve for the worked instance first. Then ask what would change if one number, name, or condition were replaced by something stranger.

What to notice

Discussion starter

After the solution is revealed, the class spends five minutes on this prompt: "The app team answers: 'the device was offline for that session, but the door log has everyone.' Does that settle it? What do you now owe the session lead before the email goes out?"

Constraints and assumptions

Hints and extension