Académique Documents
Professionnel Documents
Culture Documents
Exen¿manroNs 2010
PAPER C3O3
b Briefly explain what the state-explosion problem is and how ordered binary
decision diagrams can alleviate the problem.
i) Draw the binary decision tree for the formula above under the ordering
specified.
ii) Draw the reduced ordered binary decision diagram for the formula above
under the ordering specified.
iii) Draw the reduced ordered binary decision diagram for the formula above
under the ordering {c,a,b}.
The four parts carry, respectively, 20Vo, 30Vo, 307o, and 20Vo of the marlcs.
o once a process becomes critical, it cannot remain critical for more than two
ticks of the clock.
a Express liveness and safety specifications in CTL for the problem above.
b Give a pictorial representation of a model for the system above. Clarify any
assumption you make about possible loops on any state of the system.
c Check the satisfiability of the two formulas of Part a) against the model of Part
b). Additionally, state in CTL, if possible, the non-blocking property "every
. process can always request the use of the resource and evaluate its satisfiability
on the model of Part b)".
d Write NuSMV code for the variant of the mutual exclusion problem above. In
particular, comment on whether you permit the system to loop on any state at a
given tick of the clock, and the meaning of any fairness constraints added.
The four parts carry, respectively, 20Vo, 30Vo, 20Vo, and 30Vo of the marks.
o At the beginning of the run ,S either sends one bit or remains silent. After
that ,S waits silently for an acknowledgement from -R. Upon receipt of the
acknowledgement it remains silent.
o R remains silent until it receives the bit from ,S; once .R has received the bit,
-R sends acknowledgements back to ,S continuously.
o The channel is fair, i.e., it may drop messages but not infinitely often.
a Consider the formalism of interpreted systems, and describe local states, actions
and protocols for,S and ,R that formalise the protocol above.
b Consider a global transition function for the interpreted system in Part b) and
draw a succinct representation of the model depicting all the possible runs of the
system.
In the runs where S sends the bit infinitely often, R eventually knows the
value of the bit.
If any property above is not expressible in CTLK state why that is the case and,
if possible, suggest its formalisation in an alternative logic.
The four parts carry, respectively, 257o, 20Vo, 30Vo, and 25Vo of the marks.
W : {1,2,J,4).
,? : { (1, 2), (1,3), (1, 4), (2, 2), (3, 1), (3, 2), (3, 4), (4, 4)} .
n(p) : {1,3,4}.
Answer the following questions on M.
The two parts carry, respectively, 35Vo, and 65Vo of the marl<s.