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" |
Practise OCR GCSE Computer Science Testing with exam-style questions for GCSE Computer Science. 21 questions, matched to the OCR GCSE Computer Science (J277) specification and written in Component 01 and Component 02 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.