When the River Lee rises, who decides whether your phone buzzes with a warning?
Rain has been falling in Cork all afternoon, and your phone buzzes with a flood warning. A sensor upstream measured the river level, but how did that reading become a message you could act on?
Start with three things you know. The sensor sends data: a water level and the time it was measured. An algorithm applies a rule to decide what to show. The interface is where you read the result.
The technician maintains the sensor and sets a limit on how old a reading can be. The hydrologist compares river levels with flood records to set a threshold. The developer codes the rule to reject old readings first, then send a warning if the level meets or exceeds the threshold.
The team wants to know what river level should trigger a warning. Who should lead that decision by comparing past river readings with records of local flooding? Pick the best answer.
Try these settings. The reading is two minutes old, so it passes the age check because the limit is five minutes. The height is two point four six metres, which meets the warning threshold of two point four zero metres. Both checks pass, so the code sends a warning.
The code gets a reading of two point five two metres, taken eight minutes ago. The limits are still five minutes for age and two point four zero metres for height. What should the code do with this reading? Pick an answer.
A map can help you act early. On a colour-only map you must distinguish the colours, and showing a safe zone when data is missing could put you in danger. The second map names the area and action in text and shows when readings are unavailable. Designers have a duty to avoid misleading you.
A warning should work for as many people as possible. The seven universal design principles are equitable use, flexibility in use, simple and intuitive use, perceptible information, tolerance for error, low physical effort, and size and space for approach and use. Text helps you identify the area at risk without relying on colour.
In the nineteen eighties, personal computers helped teams analyse records locally. In the nineteen nineties, web maps made information easier to share publicly. Today, for advance notice, you could train a supervised regression model on past rainfall and river readings to predict a future level. Test it on later records before use.
For this exam-style question, explain one different computing decision for each role. The technician sets the age limit to exclude stale data. The hydrologist uses local flood records to set the warning threshold. The developer puts the age check first in the code so a stale high reading cannot trigger a warning.