Z specification
Falguni Roy
1
What is Z ???
 is a formal specification language
 used for describing and modelling computing systems
 based on the standard mathematical notation used in axiomatic set theory,
lambda calculus and first-order predicate logic
2
Selected Project Name: Android Application
Prepared by: Falguni Roy
Prepared for: Software Project Lab (ii)
3
Requirements
 Showing the information about the tourist spots in the mobile screen.
 Showing the path between the user staying place and the required places.
 Showing the location of the hotels, markets and restaurants and their services
and the service related cost.
 Providing information about all transport agencies, their time schedule and
cost.
 Showing the ATM booths in specific areas.
4
UML diagram
5
FROM UML SPECIFICATION TO Z SPECIFICATION
6
Hotel
 Variable initialization
7
Hotel (cont.)
 insert values
8
Hotel (cont.)
 Display Hotel interface
9
Market
 Variable initialization
10
Market (cont.)
 insert values
11
Market (cont.)
 Display Market interface
12
Restaurant
 Variable initialization
13
Restaurant (cont.)
 insert values
14
Restaurant (cont.)
 Display Restaurant interface
15
ATM_Booth
 Variable initialization
16
ATM_Booth (cont.)
 insert values
17
ATM_Booth (cont.)
 Display ATM_Booth interface
18
Entertainment_Area
 Variable initialization
19
Entertainment_Area (cont.)
 insert values
20
Entertainment_Area (cont.)
 Display Entertainment_Area interface
21
Transport
 Variable initialization
22
Transport (cont.)
 insert values
23
Transport (cont.)
 Display Transport interface
24
User
 Initialize set and function
25
User (cont.)
 Define the application
26
User (cont.)
 Initialize the variables
27
User (cont.)
 View Details Info.
28
29

Z specification