Week 3 - Software Fault Tolerance Flashcards

1
Q

What is a detector?

A

A class of program component that asserts the validity of a predicate in a running program

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

What is a corrector?

A

A class of program that imposes a given predicate on a running program

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

Give an example of a detector

A

Run time checks

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

Give an example of a corrector

A

Exception handlers

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

What is forward error recovery?

A

Upon detection of an error, program attempts to get into a state which is no longer erroneous

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

What is backward error recovery?

A

Upon detection of an error program rolls back to a previously recorded good point

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

What is a recovery line?

A

A recovery line is a set of checkpoints across all processes to which the programs can be rolled back

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

What is N version programming?

A

The independent generation and utilisation of N functionally equivalent programs, where N >= 2. Typically uses majority voting for error detection.

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

When does N version programming not work?

A

If all versions fail on the same inputs or in similar ways

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

What is the coverage of dependability mechanisms?

A

The ratio of number of test cases successfully passed to the total number of test cases

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