Question: Subject :Formal Methods, Formal Methods in Software Engineering Question 02: [Marks : 15) Formally specify the Airport class in Z language. A system that keeps

Subject :Formal Methods, Formal Methods in Software Engineering Question 02: [Marks :Subject :Formal Methods, Formal Methods in Software Engineering

Question 02: [Marks : 15) Formally specify the Airport class in Z language. A system that keeps track of aircraft that are allowed to land at a particular airport. Aircraft must apply for permission to land at the airport prior to landing. When an aircraft arrives to land at the airport it should only have done so if it had previously been given permission. The invariant property for the system is the landed aircraft are those who have the permission. Assume that the airport can land 20 aircarfts that could be landed at any one time? The UML specification of the Airport class is given below. Airport permission: Aircraft [*] landed: Aircraft [*] give Permission(Aircraft) recordLanding(Aircraft) getPermission(): Aircraft [*] numberwaiting(): Integer Page 1 of 3 givePermission: records the fact that an aircraft has been granted permission to land at the airport. recordLanding records an aircraft as having landed at the airport. getPermission: returns the aircrafts currently recorded as having permission to land. number Waiting: returns the number of aircrafts granted permission to land but not yet landed. Define the state Schema and operational schema for Airport

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!