Could you prove your weather dashboard meets the brief before submission day?
Your school wants a dashboard that flags days with heavy rain. It looks good on screen, but can you prove it flags a day with exactly ten millimetres of rain? How would you plan for that before you write any code?
Think back to your team tasks. In interactive information systems, you planned what users see. In analytics, you checked the data. In modelling and simulation, you predicted outputs. In automated embedded control, you tested how a system responds. You can use those same habits on your own dashboard.
Call the first requirement R one: flag each day with ten millimetres of rain or more. What would show it works? A flag beside a qualifying day's total. To test it, enter exactly ten millimetres and expect a flag. You've linked a requirement to artefact evidence and a test.
The brief includes days with exactly ten millimetres of rain. Suppose your code flags only days above ten. Pick the input and the result the brief says to expect that would expose the error.
Requirement two is to display the number of flagged days. One design creates the flags once and counts them. Another checks rainfall separately to make the flags and calculate the count. If the threshold changes, reusing the flags means there's only one copy of the rule to update.
Try three days with nine, ten and fourteen millimetres of rain. Nine is below ten, so it gets no flag. Ten meets the threshold, and fourteen exceeds it, so each gets one flag. Add zero, one and one to get two. Check the daily flags first, then the displayed count.
Now use three different days: eight, ten and ten millimetres. Each value belongs to a separate day, even when the totals match. Pick what you should expect to see beside each day and in the final count.
With nine, ten and fourteen millimetres, flags on days one and three still give a count of two. A matching count doesn't prove the flags are right. Check which days were flagged: you expect days two and three. If they differ, trace the flag decision for each incorrect day.
Work back from the SEC deadline. Seven days before, get the daily flags working and check which days are flagged. Five days before, check the displayed count. Three days before, fix failures, rerun both tests and note an improvement in your report. These are practice targets. Follow the actual submission deadline.
The coursework project is worth thirty per cent of your Leaving Certificate Computer Science marks. You submit one computational artefact with a report as individual work. Open the State Examinations Commission brief for your year and check what it requires, when it's due and how to submit it.