0% found this document useful (0 votes)
23 views29 pages

Z Specification: Falguni Roy

This document describes a Z specification for an Android application that provides tourist information. It defines schemas for entities like Hotel, Market, Restaurant, ATM Booth, Entertainment Area, and Transport to store their data and display interfaces. It also defines a User schema to initialize the application variables and allow users to view details. The Z specification translates the UML diagrams of the application entities into formal definitions to precisely capture their state and behavior.

Uploaded by

sweethome1997
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views29 pages

Z Specification: Falguni Roy

This document describes a Z specification for an Android application that provides tourist information. It defines schemas for entities like Hotel, Market, Restaurant, ATM Booth, Entertainment Area, and Transport to store their data and display interfaces. It also defines a User schema to initialize the application variables and allow users to view details. The Z specification translates the UML diagrams of the application entities into formal definitions to precisely capture their state and behavior.

Uploaded by

sweethome1997
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 29

Z specification

Falguni Roy

What is Z ???

is aformal specification language

used for describing and modelling computing systems

based on the standard mathematical notation used inaxiomatic set theory,


lambda calculus and first-order predicate logic

Selected Project Name: Android Application


Prepared by: Falguni Roy
Prepared for: Software Project Lab (ii)

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.

UML diagram

FROM UML SPECIFICATION TO Z SPECIFICATION

Hotel

Variable initialization

Hotel (cont.)

insert values

Hotel (cont.)

Display Hotel interface

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

You might also like