An automated vertical farming system regulates the daily light exposure for a crop. The control interface only accepts an integer number of hours from 12 to 18 inclusive.
Complete the following test plan used to test this validation rule.
| Test data (Number of hours) | Type of test | Expected output |
|---|---|---|
| 15 | [A] | VALID |
| [B] | Boundary / Limit | VALID |
| [C] | Erroneous | INVALID |
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.