Lectures 10 and 11: 5th November 2019 Flashcards

LTL fairness, CTL, async comms, timed automata

1
Q

What is a TS?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a PG?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an arbtier?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can you implement mutual exclusion with an arbiter?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a semaphore?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How can you implement mutual exclusion with a semaphore?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you compose multiple PGs together?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you interleave multiple PGs together?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do you find the reachable part of a TS?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When does a state satisfy a property?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When does a TS satisfy a property?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the difference between unconditional, strong, and weak fairness?

A

Unconditional = Every process gets its turn infinitely often.”

Strong = “Every process that is enabled infinitely often gets its turn infinitely often.”

Weak = “Every process that is continuously enabled from a certain time instant onwards gets its turn infinitely often.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How can you formulate unconditional, strong, and weak fairness in LTL?

A

Unconditional = ufair = ☐◇criti

Strong = sfair = ☐◇waiti → ☐◇criti

Weak = wfair = ◇☐waiti → ☐◇criti

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How can you formulate strong fairness in a TS of two composed PGs implementing mutual exclusion?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a linear logic?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the implications of LTL being a linear logic?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What types of formulae are easy, hard, and impossible to express in LTL?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What are branching logics?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are branching time logics?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What are the unfoldings of a model?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is CTL?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What are the two types of CTL formulae?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What are CTL state formulae?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What are CTL path formulae?

A

!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is the format of CTL state formulae?
!
26
What is the format of CTL path formulae?
!
27
How can you convert between state and path formulae/
!
28
How must temporal operators be formatted to be legal in a state formula?
!
29
What do ∃ and ∀ mean in state formulae?
!
30
How do you formulate a mutual exclusion property in CTL?
!
31
What are the equivalence laws of CTL?
!
32
When does a state satisfy a CTL state formula?
!
33
When does a path satisfy a CTL path formula?
!
34
What is the satisfaction set of a CTL state formula?
!
35
When are two CTL formulae equivalent?
!
36
Give the basic model checking algorithm for CTL formulae.
!
37
What are synchronous and asynchronous communications?
!
38
What are channel systems?
!
39
How do channel systems work in PROMELA?
!
40
What are communication actions in PROMELA?
!
41
How are communiation actions formatted in PROMELA?
!
42
What is the capacity of a channel?
!
43
How does handshaking work in PROMELA?
!
44
How do you find the capacity of a channel in PROMELA?
!
45
When can processes send and get messages into or from a channel?
!
46
What are channel systems?
!
47
What are channel systems used for in PROMELA?
!
48
What is alternating bit protocol?
!
49
How does ABP implement reliable comms over unreliable channels?
!
50
How does ABP work?
!
51
What are concurrent systems?
!
52
What are the differences between different concurrent systems?
!
53
What are timed automata?
!
54
How do timed automata work?
!
55
What is UPPAAL?
!
56
How does UPPAAL work?
!
57
What is TCTL?
!
58
How does TCTL work?
!
59
What are untimed models?
!
60
What are untimed actions?
!
61
How do untimed models work?
!
62
What are real-time constraints?
!
63
How can you implement timed models with and without using timed automata?
!
64
Is it easier to implement timed models with or without timed automata? Why?
!
65
Why is using a set of clocks acting as stopwatches a poor solution for implementing timed automata?
!
66
How do timed automata work, in detail?
!
67
What are clock constraints?
!
68
How do you mathematically define a timed automaton?
!
69
How are transitions in timed automata formatted?
!
70
What are location invariants in timed automata?
!
71
How do you implement location invariants in timed automata?
!
72
What is the difference between guards and location invariants in timed automata?
!
73
How do clocks work in timed automata?
!
74
How are clocks implemented in timed automata?
!