Find Jobs
Hire Freelancers

Write a Z Specification

$20-25 USD

Closed
Posted about 22 years ago

$20-25 USD

Paid on delivery
This is a Formal Specification project. More specifically, I need a Z specification writing for a fictional car-hire company. Details below. ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. Write a Z specification for the system informally described below. The ACME car hire company has a fleet of cars distributed across the country in a number of depots in several major cities. Each car is identified by a unique id number. The depot in which the car is currently garaged, the car's current mileage and the car's manufacturer is recorded for each car. A client can hire a car from any depot and return it to any other depot. When a customer hires a car from a particular depot, they provide their name and specify the make of car they want, and the hire date is recorded. A specific car (if available) is then allocated to them. When the car is returned (possibly to another depot), its new mileage is inspected, and the customer is charged 10p per mile plus a fixed charge of £20 for each day of the hire period. The ACME company is so successful that sometimes there's a queue of people waiting to return their hired car to a depot. When this happens, the company deals with the queue in strict order. Occasionally a customer in the queue gets tired of waiting and leaves, hoping to return later when the queue is shorter. Write a Z specification for the system informally described above. You should include robust specifications for the following operations: (a) Hiring a car. (This operation ignores cars which may be in the returning queues ? only those cars actually in the depots are available for hire.) (b) Returning a car. (This comprises essentially three operations ? joining a particular returning queue, dealing with the car at the front of a queue by issuing a bill etc., and leaving the queue early.) (c) Answering the following queries: (i) Which depots currently have a car of this particular make? (ii) Which cars are currently garaged at this particular depot? (iii) Is there a returning car of this particular make queueing at this particular depot? If so, what position is it in the queue? State clearly any assumptions you make, and remember that the English commentary component of a Z specification is an important aid to understanding, so please include a detailed, comprehensive commentary. ## Platform MS Word/Any Relevant Software ## Deadline information Although the deadline for the project is 24th May, priority will be given to bids able to complete the project at the earliest opportunity, whilst still of course, producing the highest quality possible.
Project ID: 2850736

About the project

4 proposals
Remote project
Active 22 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $16 USD for this job
User Avatar
See private message.
$21.25 USD in 14 days
5.0 (29 reviews)
4.5
4.5
User Avatar
See private message.
$15.30 USD in 14 days
5.0 (3 reviews)
0.7
0.7
User Avatar
See private message.
$8.50 USD in 14 days
0.0 (2 reviews)
0.0
0.0
User Avatar
See private message.
$17 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
United Kingdom
5.0
4
Member since Dec 17, 2001

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.