Error Detection And Handling Flashcards

1
Q

Statement coverage

A

Percentage of statements exercised by tests

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

Branch coverage

A

Percentage of branches executed by tests e.g. if/else branches

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

Loop coverage

A

When testing a loop you should ensure it works when executed 0, 1 and 2 times

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

Buffer

A

Piece of memory for storing data temporarily while it is moved from one place to another

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

std::cerr

A

Output stream like std::out designed to be used for error messages

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

static_assert

A

assertion that is evaluated at compile time

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