Question
Suppose that you are hired to develop a network-based course registration software for the university. For the ease of understanding, a partial natural-language based requirement
Suppose that you are hired to develop a network-based course registration software for the university. For the ease of understanding, a partial natural-language based requirement specification s is provided as follows:
- Students
1.1. The students should be able to log into the system 1.2. The students should be able to add their course registrations 1.3. The students should be able to remove their course registrations 1.4. The students should be able to change their course registrations 1.5. The students should be able to query all courses 1.6. The students should be able to list all their registered courses
- Instructors 2.1. The instructors should be able to log into the system 2.2. The instructors should be able to query student list for all classes 2.3. The instructors should be able to edit course descriptions 2.4. The instructors should be able to print the course information
- System administrators
3.1. The system administrators should be able to log into the system
3.2. The system administrators should be able to manage the student information
3.3. The system administrators should be able to manage the course information, e.g., add,
change, and remove courses
3.4. The system administrators should be able to add, switch, and remove students for each course Based on the requirements listed above, please answer the following questions:
1) Prepare a requirements specification for the operation student removing a course registration. Please use the structured specification format provided for the insulin pump example in Figure 4.13 of the textbook,
i.e. your structured specification should include the following items: Function, Description, Inputs, Source, Outputs, Destination, Action, Requirement, Pre-condition, Post-condition, and Side effects.
Make assumptions if you feel that it is needed. Explicitly state if you make any assumptions.
Figure 4.13 The structured specification of a requirement for an insulin pump Insulin Pump/Control Software/SRS/3.3.2 Function Compute insulin dose: Safe sugar level. Description Computes the dose of insulin to be delivered when the current measured sugar level is in the safe zone between 3 and 7 units. Inputs readings (rO and r1) Source Current sugar reading from sensor. Other readings from memory. Outputs CompDose-the dose in insulin to be delivered. Destination Main control loop. Action: Current sugar reading (2), the previous two CompDose is zero if the sugar level is stable or falling or if the level is increasing but the rate of increase is decreasing. If the level is increasing and the rate of increase is increasing, then CompDose is computed by dividing the difference between the current sugar level and the previous level by 4 and rounding the result. If the result, is rounded to zero then CompDose is set to the minimum dose that can be delivered. (see Figure 4.14L Requires Two previous readings so that the rate of change of sugar level can be computed. Precondition The insulin reservoir contains at least the maximum allowed single dose of insulin. Postcondition rO is replaced by r1 then r1 is replaced by r2. Side effects NoneStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started