Testing 1 (V-Model) Flashcards

1
Q

What is the purpose of the V-Model?

A

Provides a structured model of the SDLC to implement development stages with associated tests.

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

What are the 3 positives of V-Model?

A

Simple, Manageable, Structured.

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

What are 3 negatives of the V-Model?

A
  • Not easily modified retrospectively.
  • Not ideal for development with lots of changes.
  • No working software until late in the SDLC.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which SDLC methodology is the V-Model based on?

A

Waterfall.

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

What are the 5 development stages with their associated testing stages?

A
  • Concept of Operations : System Validation
  • System requirements : System verification and deployment
  • High level design : Subsystem verification
  • Detailed design : Unit / device testing
  • Implementation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the 4 testing categories? Define each…

A

Static : Assessing documents
White Box : Testing on the code level. Assessing code for bugs.
Black Box : Testing on the function level. without interacting with the code. Assessing whether program runs as intended.
Grey Box : Testing when some of the implementation concepts are known, and no code is exposed.

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

What is the purpose of code coverage? And why do we only chose to cover a %?

A

Track how much of the code has been tested.
Chose a certain % as it’s infeasible to test all code.

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

What type of testing does code coverage take into account?

A

White Box Testing.

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

What are the 4 code coverage types?

A

Decisions : Has every decision been met and tested?
Statements : Have statements been executed?
Predicate : Have all predicated been run?
Methods : Have all methods been run and tested?

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

Define a corner case?

A

Testing the extreme cases of the input field.

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

What are the 2 limits of testing?

A

Large Domain - Inputs may be infinite, thus infeasible to test all inputs.
Asserted Incorrectness - Testing can only assert that the program runs incorrectly under certain conditions, not that it can run correctly under certain conditions. This is because the set of correct conditions is too large and ambigous.

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

When is the V-model ideal to use?

A

When the project is small, and has unambiguous and pre-defined requirements.

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