Answer these Questions 1) Identify and briefly describe four types of requirements that may be defined for a computer-based system.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Answer these Questions
1) Identify and briefly describe four types of requirements that may be defined for a
computer-based system.
2) An automated ticket-issuing system sells rail tickets. Users select their destination and
input a credit card and a personal identification number. The rail ticket is issued and their
credit card account charged. When the user presses the start button, a menu display of
potential destinations is activated, along with a message to the user to select a
destination. Once a destination 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 ticket is issued.
a) Discover ambiguities or omissions in the above statement of requirements for part of
a ticket-issuing system.
b) Rewrite the above description using the structured specification approach described
in the slides. Resolve the identified ambiguities in an appropriate way.
Below is an example of the structured specification of a requirement for an insulin
pump
c) Write a set of non-functional requirements for the ticket-issuing system, setting out
its expected reliability and response time.
3) Using the technique suggested here, where natural language descriptions are
presented in a standard format, write probable user requirements for the following
functions:
i. The spelling-check and correcting function in a word processor.
ii. An unattended petrol (gas) pump system that includes a credit card reader. The
customer swipes the card through the reader then specifies the amount of
fuel required. The fuel is delivered and the customer’s account debited.
iii. The cash-dispensing function in a bank ATM. 

note: attach picture is part of question 2b

Insulin Pump/Control Software/SRS/3.3.2
Function
Description
Inputs
Source
Outputs
Destination
Action:
Requires
Precondition
Postcondition
Side effects
Compute insulin dose: Safe sugar level.
Computes the dose of insulin to be delivered when the current measured sugar level is in the
safe zone between 3 and 7 units.
Current sugar reading (12), the previous two readings (ro and r1).
Current sugar reading from sensor. Other readings from memory.
CompDose-the dose in insulin to be delivered.
Main control loop.
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.14)
Two previous readings so that the rate of change of sugar level can be computed.
The insulin reservoir contains at least the maximum allowed single dose of insulin.
ro is replaced by r1 then r1 is replaced by 12.
None.
Transcribed Image Text:Insulin Pump/Control Software/SRS/3.3.2 Function Description Inputs Source Outputs Destination Action: Requires Precondition Postcondition Side effects Compute insulin dose: Safe sugar level. Computes the dose of insulin to be delivered when the current measured sugar level is in the safe zone between 3 and 7 units. Current sugar reading (12), the previous two readings (ro and r1). Current sugar reading from sensor. Other readings from memory. CompDose-the dose in insulin to be delivered. Main control loop. 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.14) Two previous readings so that the rate of change of sugar level can be computed. The insulin reservoir contains at least the maximum allowed single dose of insulin. ro is replaced by r1 then r1 is replaced by 12. None.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Database Development
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education