首页 > 试题广场 >

Given a brief description of a

[问答题]

Given a brief description of a Microwave Oven System.  Please complete the requested modeling and testing tasks.

Software scope: A Microwave Oven System (MOS) controls the operations of a microwave oven through a panel of buttons.  The user can select the power level (either half-power or full-power), then input the cooking time, and finally press Start to start the cooking operation.  The food is cooked for the given time unless Pause is pressed.  The user can press Pause again to resume cooking, or press Cancel to cancel the cooking.  For safety reasons, the oven should not operate when the door is open and, on completion of cooking, a buzzer is sounded.  To meet the personal requirement of users, MOS will log the users’ most frequently used cooking time and set it as the default.

1. Please draw the data flow diagram for MOS.

2. Please give the state diagram for MOS.

3. Please draw the software architecture of MOS.

4. Please describe the testing strategy for MOS.

1. Points are given according to whether the description is full and accurate. If the answer follows the DFD standard, 6 points is given, the other 9 points is depended on the contents.

2. Format is 5 points, there are at least 5 states, waiting, cooking, enabled, disabled, done, 2 points for each state.

3. 8 points is given if the function model diagram is written correctly. If the mapping from DFD to architecture is drawn, 2 points will been given.

4. Unit testing, Integration testing, Interface testing, Configuration testing, Security testing, Stress testing, Reliability testing etc.

发表于 2017-04-30 16:04:21 回复(0)