Question

In: Computer Science

Q1) Discover ambiguities or omissions in the following statement of requirements for part of a Automated...

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

Solutions

Expert Solution

Ambiguities and Omissions Includes:

  • Can a customer cancel a request if a mistake has been made?
  • Can a customer buy several beverage of same kind / different kind or whether one at a time?
  • What will be the response of the system if an invalid card in input?
  • If a user enter the credit card before selecting the beverage, then what happens?
  • Whether the user must press start button again to get a beverage?

Q.3)Possible non-functional requirements for the beverage serving system include:

  1. Between 0600 and 2300 in any one day, the total system down time should not exceed 5 minutes.
  2. Between 0600 and 2300 in any one day, the recovery time after a system failure should not exceed 2 minutes.
  3. Between 2300 and 0600 in any one day, the total system down time should not exceed 20 minutes.

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.

  1. After the customer presses a button on the machine, the display should be updated within 0.5 seconds.
  2. The beverage serving time after credit card validation has been received should not exceed 10 seconds.
  3. When validating credit cards, the display should provide a status message for customers indicating that activity is taking place.

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:

  1. Observation
  • Read documents and discuss with users
  • Follow users to learn and identify the flow of their work that is to be automated; can also ask the user to explain why she/he did the job that way
  1. Interviewing
  • Conduct series of interview
  1. Brainstorming
  • Appoint an experienced moderator
  • Do the session
  1. Prototyping
  • Paper prototype; draw pictures and/or figures to show sequence of the system/system flow
  • Most common; mock-up system user interface, no need to perform calculation. May also prototype a particular aspect of the system
  1. Use case analysis

hope this will help,


Related Solutions

Find/discover an example of statistics & probability in the news to discuss the following statement that...
Find/discover an example of statistics & probability in the news to discuss the following statement that represents one of the objectives of statistics analysis: "Statistics and Probability help us make decisions based on data analysis." Briefly discuss how the news item or article meets this objective. Cite your references. Also, keep in mind and discuss how the impact of your study on your patients or staff might differ if you found it in a journal.
Q1 - Cash flows from investing activities, as part of the statement of cash flows, include:...
Q1 - Cash flows from investing activities, as part of the statement of cash flows, include: a. Collections from customers. b. Receipts from the sale of land. c. Issuing a company’s own stocks. d. Paying dividends. Q2 - The method that uses cash account to prepare cash flow from operating activities section of cash flow statement is: a. Direct Method b. Reciprocal Method c. Indirect Method d. Direct Write off Method Q3- A company’s net sales and average accounts receivables...
Requirements (Part one):Prepare an income statement for Petunia's Posies​, a​ merchandiser, for the year ended December​...
Requirements (Part one):Prepare an income statement for Petunia's Posies​, a​ merchandiser, for the year ended December​ 31, 2016. Part One​: In 2015​, Petunia Conway opened Petunia's Posies​, a small retail shop selling floral arrangements On December​ 31, 2016​, her accounting records show the​ following: Sales revenue. . . . . . . . . . . . . . . . $51,000 Utilities for shop. . . . . . . . . . . . . . $1,200 Inventory...
Consider requirements and technology for an analysis of an Automated Teller Machine (ATM) design. Type an...
Consider requirements and technology for an analysis of an Automated Teller Machine (ATM) design. Type an outline out for an ATM system design using the below HCI criteria. Use eye-tracker data to further analyze the product Consider accessibility (universal usability) issues such as lighting, physical placement of ATM, etc. Consider user profile issues, e.g. is this the first time a user is using an ATM? Requirement to perform beta and/or market tests? Are there other stress factors such as a...
To collect information on the functional requirements you are asked to develop 15 sample questions to discover the requirements, you are going to interview buyers and sellers.
SCENARIOTextbooks R Us is a small business that was set up 20 years ago to facilitate the physical sale of second-hand textbooks for University students. They would now like to change their business model to an e-business model where they only sell their books online. Its business will run entirely on the Internet and students will be able to sell and purchase books via their website. This will allow the business to increase their market as they will not be...
answer the following true or false for each: Part of the ongoing compliance requirements for NFPs...
answer the following true or false for each: Part of the ongoing compliance requirements for NFPs is for them to file some version of the Form 990 with the IRS each year. Generally speaking, a NFP board of directors need not keep minutes of its meetings. Board of Director Treasurers are responsible for the bank account and being sure that the Form 990 is filed. The tool the IRS is most likely to use when an officer in a tax-exempt...
Part B Which of the following is not a true statement? Which of the following is...
Part B Which of the following is not a true statement? Which of the following is not a true statement? Under SN2 and E2 conditions, primary alkyl halides form primarily substitution products. Primary alkyl halides do not undergo SN1 and E1 reactions. Under SN2 and E2 conditions, secondary alkyl halides form both substitution and elimination products. Under SN2 and E2 conditions, tertiary alkyl halides form both substitution and elimination products. Under SN1 and E1 conditions, tertiary alkyl halides form both...
Part 1: Work the following requirements from P5-13 on page 288 from your book. Part 1...
Part 1: Work the following requirements from P5-13 on page 288 from your book. Part 1 Part 2a Part 2b Part 3a (revenue for the contract from 2018 and 2019) Part 3b (gross profit for the contract from 2018 and 2019) Part 2: Baker, a consulting firm, enters into a contract to help a small family owned business design a marketing strategy to compete with other companies in the region.. The contract spans eight months. Baker’s client promises to pay...
definition of the following please :) OMISSIONS FROM GDP i. INTERMEDIATE GOODS ii. UNDERGROUND ECONOMY iii....
definition of the following please :) OMISSIONS FROM GDP i. INTERMEDIATE GOODS ii. UNDERGROUND ECONOMY iii. MANHOUR/LEISURE iv. ENVIRONMENTAL DESTRUCTION
ANSWER THE FOLLOWING QUESTION AND DRAW DIAGRAM FOR EACH PART OF QUESTION Q1(A).Two point charges are...
ANSWER THE FOLLOWING QUESTION AND DRAW DIAGRAM FOR EACH PART OF QUESTION Q1(A).Two point charges are located on the x axis. The first is a charge +Q at x = a. The second is an unknown charge located at x = -3a. The net electric field these charges produce at the origin has a magnitude of 2keQ/a2. What are the two possible values of the unknown charge? Q1(B)In Fig. 3, particle 1 of charge +1 μC and particle 2 of...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT