Week 1: Linear Temporal Logic Flashcards

1
Q

What are the properties (characteristics) of trustworthiness?

A
  • Safety:
    The ability of a system to operate without entering any harmful states
  • Reliability:
    The ability of a system to deliver services as specified
  • Availability:
    The ability of a system to deliver services as requested
  • Resilience:
    The ability of a system to transform, renew, and recover in a timely response to events
  • Security:
    The ability of a system to remain protected against accidental or deliberate attacks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a mission-critical system?

A

A system whose malfunction may result in the failure of some goal-related activity

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

What is a safety-critical system?

A

A system whose malfunction may lead to disastrous consequences, such as:
- human death or injury
- severe financial or intellectual property loss
- environmental harm

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

What must the requirement specifications be?

A
  • Correct:
    Requirements reflect the right needs
  • Complete:
    Requirements reflect all needs
  • Unambiguous:
    Each statement is amenable to a unique interpretation
  • Consistent:
    Free of contradicting statements
  • High-level:
    Agnostic of particular implementation platforms
  • Verifiable:
    Amenable to reasoning regarding their satisfaction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the abstraction of a model of a system mean?

A

That is presents a simplified view of its behaviour

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

How is a model of a computer program called?

A

Meta-model

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

How can we verify that a system indeed satisfies the articulated requirements?

A

We need mechanised ways of performing such verification, like testing

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

What is the state explosion problem?

A

As the number of state variables in the system increases, the size of the system’s state space grows exponentially.

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

What does formal verification do?

A

Rigorously demonstrate that a system specification exhibits certain desirable characteristics

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

What are the weaknesses of formal verification?

A
  • Difficult to comprehend
  • Expensive to apply to software systems in general
  • Generally incompatible with the agile development methodologies
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the two main kinds of errors that may be encountered in a system?

A
  • Validation errors (‘Are we building the right software?’):
    • errors in formulating requirements
    • difficulty in aligning the mental models of customers and system analysis
  • Verification errors (“Are we building the software right?”):
    • errors in implementing the requirements
    • difficulty in implementing complex sets of requirements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Linear Temporal Logic (LTL)?

A

It is a formalism that extends classical logic with a notion of time

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

What is the p of the following LTL forms: p | T | ¬φ | φ ∧ ψ | O φ | φUψ?

A

It is a classic atomic proposition

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

What is the T of the following LTL forms: p | T | ¬φ | φ ∧ ψ | O φ | φUψ?

A

It is an abbreviation for true

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

What are the φ and ψ of the following LTL forms: p | T | ¬φ | φ ∧ ψ | O φ | φUψ?

A

They are LTL formulae

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

What is the Oφ or Xφ of the following LTL forms: p | T | ¬φ | φ ∧ ψ | O φ | φUψ?

A

Oφ or Xφ is a condition that is true for φ at the neXt moment in time

17
Q

What is the φUψ of the following LTL forms: p | T | ¬φ | φ ∧ ψ | O φ | φUψ?

A

φUψ is a condition that is true for φ Until ψ becomes true

18
Q

What is ♦φ (or Fφ)?

A

It is a condition that is true for φ at some Future moment

19
Q

What is □φ (or Gφ)?

A

It is a condition that is true for φ now and at all future moments (Globally true)

20
Q

What is φRψ?

A

It is a function that requires ψ to be true until φ becomes true (φ Releases ψ)

21
Q

What is the interpretation of a formula that takes the form of a function I that maps each number to a set of propositions?

A

I : N -> 2^N