Question: 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.

 Question 4 (25 marks): The following transition system describes a process

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!