An automated greenhouse monitoring system tracks the soil moisture percentage. The system accepts inputs only in the range 35% to 75% inclusive. The system outputs "OPTIMAL" if the input is valid, and "ACTION REQUIRED" if it is not.
The system algorithm is tested using a range of test data.
Complete the table below by providing one suitable example of test data (Moisture Percentage) for each specified type of test.
| Test data (Moisture Percentage) | Type of test | Expected output |
|---|---|---|
| Normal | "OPTIMAL" | |
| Boundary | "OPTIMAL" | |
| Erroneous | "ACTION REQUIRED" |
21 exam-style questions on OCR GCSE Computer Science Testing. Each one has a worked solution and a mark scheme showing where the marks go.