In: Computer Science
Q1) Discover ambiguities or omissions in the following statement of requirements for part of a Automated beverage serving system: An automated beverage serving system sells several beverages. Users select the type of beverage and input a credit card and a personal identification number. The beverage served and a user’s credit card account is charged. When the user presses the start button, a menu display of several beverages to choose from, along with a message to the user to select one type of beverage. Once a beverage has been selected, users are requested to input their credit card. Its validity is checked and the user is then requested to input a personal identifier. When the credit transaction has been validated, the beverage is served. Ambiguities and omission in the statement: 1. What would happen if the user enters an invalid card. 2. Q2) Rewrite the above description using the structured approach described in this chapter. Resolve the identified ambiguities in an appropriate way Q3) Write a set of non-functional requirements for the beverage serving system, setting out its expected reliability and response time. Q4) Identify and briefly describe four types of requirement that may be defined for a computer-based system
Ambiguities and Omissions Includes:
Q.3)Possible non-functional requirements for the beverage serving system include:
All these are availability requirements – note that these vary according to the time of day. Failures when most people are Ordering beverage are less acceptable than failures when there are few customers.
This tells the customer that the potentially time consuming activity of validation is still in progress and that the system has not simply failed.
Q.4) Methods to gather information and analyze requirement:
hope this will help,