L10 - Dependability Flashcards

1
Q

Fault Types

A
  1. time (transient, permanent, intermittent)
  2. internal (physical, design)
  3. external (physical, input data)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Heisenbugs

A

software bug that seems to disappear or alter its behavior when one attempts to study it

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

Fault Tolerance enables _________________. It requires ___________ and prior _____________.

A

Fault Tolerance enables the system to work in presence of faults. It requires fault detection and prior error specification.

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

Which exceptions can be detected by the environment?

A
  • synchronously raised exceptions (divide by zero)
  • asynchronously raised exceptions (failure of health monitoring mechanism)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Exceptions detected by application

A
  • Synchronously raised (failure of a program check)
  • asynchronously raised exceptions (process recognises error that leads to missing deadline)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Error

A

wrong state in system

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

Transient Fault

A

A transient fault starts at a particular time and remains in the system until it disappears.

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

A permanent fault _______________ until _______________.

A

A permanent fault remains in the system until repaired.

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

Intermittent Fault

A

An intermittent fault is defined as a transient fault that occurs sporadic from time to time.

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

Impairments

A

Faults, Errors and Failures.

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

Name three key requirements for attributes.

A
  1. Availability (Readiness for Usage)
  2. Reliability (Continuity of Service Delivery)
  3. Safety (Non-Occurence Of Catastrophic Consequences)
  4. Confidentiality (Non-Occurence of unauthorized disclosure)
  5. Integrity (Non-Occurence of improper alteration of information)
  6. Maintainability (Aptitude to undergo repairs or evolutions)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Confidentiality

A

Confidentiality is the non-occurence of unauthorized disclosure.

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

A test only shows _____________ of faults not their _____________.

A

A test only shows presence of faults not their absence.

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

What activates an exception handler and with what is it associated with?

A

An exception handler gets activated with an exception and associated with a domain that specifies a region of computation. There may be several handlers for a particular exception.

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

Decomposition is also known as ____________. How is it defined?

A

Decomposition is also known as Top Down Design. It is defined as the systematic breakdown of complex into smaller system. Isolated components can be understood and engineered as individuals.

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

What is an alternative description of abstraction and whats the concept behind?

A

Abstraction (Bottom Up Design): detailed consideration of components.

17
Q

What is described by information hiding and how do you implement it in C?

A

Information hiding is the reduced visibility outside of the module. In C: .h-file contains an interface of module, .c-file contains body - no formal relationship.

18
Q

Name characteristics of Ada.

A
  • planned to be mandatory for all DoD projects that include embedded systems
  • latest version is Ada 2012^ block-structured language
  • constructs control how tasks are dispatched
  • consists out of subprogram/package/task/protected unit
19
Q

What is a disadvantage of C?

A

C does not provide native exception handling. This has to be implemented by the programmer.

20
Q

C is a _________________ and therefore provides _________________ without _________________.

A

C is a low level programming language and therefore provides structure and flexibility without complex language restrictions.

21
Q

Name an advantage and a problem that occurs while developing RTS in C++.

A
  • Better software engineering practice because of encapsulation and more advanced level of abstraction as in C
  • Lack of concurrent software with predictable timing behaviour makes it difficult to develop software for RTS.