Department of Computer Science

Formal Methods - Z notation
Practical Case Study
Part II 2/CS/3T Unit (Autumn Term)

Lecturer: Jonathan Bowen

URL: http://www.cs.reading.ac.uk/cs/people/jpb/teaching/z.html

Below is a suggested case study for the Z practical to be undertaken as part of the assessment for this course unit. Alternatively you may choose a system of your own of similar complexity. If you do the latter, please choose something you know well so that you can concentrate on the modelling in Z rather than problems in understanding the system itself.


Autumn Term assessment - Case Study

Invoicing

You have to take into account the entries of:

You may consider that this text is incomplete. One goal of this exercise is think about questions raised by using the Z notation on the problem.

If you have such questions, you may propose different possible "solutions" but select one, giving your reasons.

Careful! Do not extend the domain. For example, do not specify stock management (when, following what minimum quantity to restock, etc.), do not add new information as "category of customer", "category of product", "payment type", "bank account", etc.


[RUCS HOME] [PREV] [UP] [NEXT]