Posted: September 13th, 2017

A Specification Spectacular

Paper, Order, or Assignment Requirements

 

Your task is to develop a formal specification for the car park management system in C# using Code Contracts (as detailed overleaf), and demonstrate that it meets the needs of the council.

 

C# Implementation with Code Contracts 40 Marks /55

You must develop a C# console application in a single .cs file.

The application should consist of at least one class called CarPark, and a main program which exercises the CarPark class. You may include other classes to help if necessary.

To pass, the program must compile without errors, but does not need to pass static analysis without warnings.

CarPark class (30 marks):

For full marks, you should fully and correctly specify any invariants on the state, and pre- and post- conditions for the following methods (you must decide what parameters are needed):

The specification (and correct implementation) of the methods will attract between 2 and 4 Marks each up to 24 Marks

Your representation and specification of the state will attract up to 6 Marks

 

 

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Live Chat+1-631-333-0101EmailWhatsApp