Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Can you tell by looking at a single specification statement in isolation whet

ID: 3903890 • Letter: 1

Question

1. Can you tell by looking at a single specification statement in isolation whether it is a requirement or (engineering) design specification? How, or why not? 2. Suppose we are designing a smart pillbox that dispenses the correct dose of medication when it needs to be taken. Write three user-level requirements for such a product. 3. Draw an activity diagram of your choosing to illustrate the process of designing with use case models. Provide enough details and description, and use a drawing tool to create the diagram

Explanation / Answer

Ans-1 ) In principle, any statement could appear in either a requirement specification or design specification because given a specification, a scenario can be constructed in which it expresses a client need, or a scenario can be constructed in which it states an engineering design directive. In practice, however, most statements about a product's features/capabilities are requirement specifications, and most statements about implementation are design specification.

Ans-2 ) Following should be the type of requirements listed in their respective heads: User Level: 1. It should have an interactive menu displaying the list of medicines, their price, their producer company.(Public) 2. It should have the option to select the number of pieces of every medicine and the total cost should be increased or decreased as the number of pieces change.(Public) 3. It should also have a search feature wherein medicines may be searched by their name, company, drug ingredient etc. (Public) 4. It should not list the medicines which have been finished but are otherwise available in it.(Public) 5. User should be able to fix the time when it should dispense the medicine.(Personal) 6. User should be able to change the display name of medicines according to his needs.(Personal) Operational Level: 1. When a user prepares his list of medicines and presses submit, the correct number and type of medicines should be dispensed.(Public) 2. If a user prepares his list of medicines and does not press the submit button, then after a particular time, the order should be cancelled and error message should be displayed. (Public) Also, if after the medicines are dispensed but they are not collected from the dispensing tray, they should be taken back by the machine after a certain timeout.(Personal/Public) 3. It should be able to scan the denomination of the currency entered. It should also be able to identify currency notes in a bad condition(such as torn notes) and reject the same.