Question
Incubator Control Problem: The temperature of the incubator needs to be carefully controlled and monitored. The aim is to provide the correct conditions for a
Incubator Control Problem: The temperature of the incubator needs to be carefully controlled and monitored. The aim is to provide the correct conditions for a particular biological experiment to be undertaken. The software is needed to monitor and control the incubator temperature. In our case, hardware lies outside of our system; In other words, a system will be specified that simply monitors the temperature of the incubator. The hardware increments or decrements the temperature of the incubator in response to instructions. Each time a change of one degree has been achieved, the software is informed of the change. According to the safety requirements, the temperature of the incubator must never be allowed to rise above 10 Celsius, nor fall below 10 Celsius.
Case 2: The software is expected to be able to do the following: create a new account; remove an existing account; record a deposit transaction; record a withdrawal transaction; update the personal details (name, address, and so on) of a customer's account; change the overdraft limit associated with an account; produce a statement of transactions associated with an account; display the balance of an account; display the personal details of an account. The UML specification for Account System accounts must be :
Account [*]
addAccount (AccNum, Details, Real)
removeAccount (AccNum)
deposit(AccNum, Date, Real)
withdraw(AccNum, Date, Real)
changeDetails(AccNum, Details)
changeLimit(AccNum, Real)
getAllTransactions(AccNum) : Transaction [*]
getBalance(AccNum): Real
getAccount(AccNum) : Account
getDetails(AccNum) : Details
getLimit(AccNum): Real
getAllAccounts() : Account [*]
contains(AccNum) : Boolean
isEmpty() : Boolean
getTotal() : Integer
Additional possible types are:
1: The Account type
Account number: AccNum
details : Details
balance: Real
limit : Real
transactions: Transaction [*]
2: The Transaction type
Transaction date: Date
type: TransactionType
amount: Real
3: Additional types: The TransactionType type <>
TransactionType
withdrawal
deposit
For the following Cases (Case 1 and Case 2) perform the following:
a) Analyze and informally specify a complete system using UML class diagrams.
b) Develop a formal VDM specification from an informal UML specification.
c) Verify and rigorously interrogate a formal specification of your model for correctness/system behaviors.
Step by Step Solution
3.38 Rating (151 Votes )
There are 3 Steps involved in it
Step: 1
Case 1 Incubator Control System a Analyze and informally specify a complete system using UML class diagrams The incubator control system can be informally specified using the following UML class diagr...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