6. Testing and Evaluation of Software Solutions Flashcards

1
Q

Difference between:
- Statement Coverage
- Decision Coverage
- Path-Based

A

Statement Coverage - Testing every statement to ensure it is executed
Decision Coverage - Testing every boundary condition
Path-Based - Testing every possible pathway in an algorithm

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

What is peer checking?

A
  • Less formal/informal
  • Usually people within the same organisation/group
  • People who are at the same skill level
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a structured walkthrough?

A
  • Normally undertaken at formal meetings
  • Developer presents their work to a group of people who are interested
  • Developers walk through step by step through each aspect of their code
  • Relevant documentation should be given prior
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Difference between peer checking and structured walkthrough?

A
  • Peer checking is for quick feedback on code
  • Structured walkthrough for major code that needs to be evaluated effectively
  • Peer less formal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you design test data effectively?

A
  • Boundary values should be used to check if decisions work properly
  • Statement, decision, and path coverage tests
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Characteristics of a desk check?

A
  • Record all variables
  • Track how they change and will be used to check for logic errors
  • Evaluates design of code and algorithms
How well did you know this?
1
Not at all
2
3
4
5
Perfectly