Download Digital Systems Software Requirements Guidelines
Transcript
0011 Elevator Software Date 11/12/98 Source Risks 20.07 (Neumann, 2001) Domain Elevator Function Floor announce Guidelines 2.6-6 Description Talking elevator with off-by-one error? George Michaelson <ggm@dstc.edu.au> Thursday, 12 November 1998 11:19:10 +1000 (EST) New building. Seven floors labeled [1..7] Enter lift [elevator]. Select floor 1. Arrive at floor 1. Lift announces: “Floor eight.” My guess is that the software is generic and is loosely coupled to the real “I know where I am” function the lift has innately, talking or not. I have a mild concern that a lift this [is] confused—maybe doesn’t want to be used. Shades of Douglas Adams. -George Discussion The software requirements for interfacing with “the real world” were issued and not verified. This cause of failure is classified as an example of lack of requirements for checking for completeness of interface (Guideline 2.6-6). 20