Petrol Pump System Sequence
publish date: 2026/06/06 23:08:29.960477 UTC
Consider an unattended petrol pump system. The customer swipes their credit card, specifies the amount of fuel required, fuel is delivered, and the customer's account is debited. Which of the following correctly captures this as a user requirement in standard natural language format?
Correct Answer
Explanation
This requirement correctly uses 'shall' for mandatory behavior, describes the complete sequence (card validation → fuel selection → delivery → debit), and is written in standard natural language format without implementation details. The other options either use vague language, impose incorrect behavior, or misuse 'should' for what is clearly a mandatory requirement.
Reference
Software Engineering, Ian Sommerville, 9th edition
