Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 4 (25 marks): The following transition system describes a process in which people switch on or off the light, and finally leave the room.

image text in transcribed

Question 4 (25 marks): The following transition system describes a process in which people switch on or off the light, and finally leave the room. We use four events, on, off, leave and error, to model the system, and please use the diagram to answer the questions. Q4.a) Please give a trace which contains the event error, and explain the scenario or meaning of the trace. (5 marks) Q4.b) Does the process P= on- >P[] off- >P satisfy the above transition system, or any trace of P is NOT included in the transition system. Please explain why it satisfies or does not satisfy. marks) Q4.c) We have the following parallel composition SYS which consists of P and Q with an interface. Please work out the behaviour of SYS, and prove whether it can satisfy the above transition system. P=errorSSKIP[]offleaveSSKIPQ=on>SKIPoffleaveSKIPSYS=P[{error,off,leave}Q where [ ] denotes external choice, \|\| for interleave and [|\{error, off, leave\}]] for interface parallel. (10 marks) Q4.d) Please work out the FDR scripts for the above transition system

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

Step: 3

blur-text-image

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

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions

Question

How does total revenue differ from total profit?

Answered: 1 week ago

Question

What is quality of work life ?

Answered: 1 week ago

Question

What is meant by Career Planning and development ?

Answered: 1 week ago

Question

What are Fringe Benefits ? List out some.

Answered: 1 week ago