Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Statistics Informed Decisions Using Data

Authors: Michael Sullivan III

5th Edition

978-0134135373, 134133536, 134135377, 978-0134133539

More Books

Students also viewed these Accounting questions