Question: Subject :Formal Methods, Formal Methods in Software Engineering Question 03: Marks: 10] Formally specify the CarParking class in VDM-SL. A mall has a capacity of

Subject :Formal Methods, Formal Methods in Software EngineeringSubject :Formal Methods, Formal Methods in Software Engineering Question 03: Marks: 10]

Question 03: Marks: 10] Formally specify the CarParking class in VDM-SL. A mall has a capacity of 150 spaces for car parking. A count is maintained of the number of cars currently occupying spaces. When a car enters the car park, the count is increased. When a car leaves the car park the count is decreased. The system outputs the number of spaces left in the car park. CarParking cars Count : integer Enter() Depart() QuerySpace() : integer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!