Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Z Schema (15 marks) We are asked to develop a Z specification for a company that lets its apartments to known customers for

 

3. Z Schema (15 marks) We are asked to develop a Z specification for a company that lets its apartments to known customers for fixed time-slots. For that purpose we have developed the following state space schema wherein [APARTMENT, TIMESLOT, PERSON] are Z types representing the set of apartments, timeslots, and persons respectively. TimeShare Co owned P APARTMENT customers P PERSON booked: APARTMENT + (TIMESLOT PERSON) dom booked owned Vap: APARTMENT | ap owned. ran(booked ap) C customers a) Devise a schema that initializes the system. [2 marks] b) Devise a schema for the operation to add a new customer. [4 marks] c) Devise a schema for the operation to acquire a new apartment. [4 marks] d) Devise a schema for the operation to make a booking of a given apartment to a given customer at a given time. [5 marks]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Management Science

Authors: Bernard W. Taylor

11th Edition

132751917, 978-0132751919

More Books

Students also viewed these Programming questions

Question

Evaluate the integral. csc 4 x cot 6 x dx

Answered: 1 week ago

Question

13. What is the relationship between orexin and narcolepsy?

Answered: 1 week ago

Question

10. Why do most antihistamines make people drowsy?

Answered: 1 week ago