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 Engineering![Subject :Formal Methods, Formal Methods in Software Engineering Question 03: Marks: 10]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3c02898b95_47166f3c027eac83.jpg)
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
Get step-by-step solutions from verified subject matter experts
