Part 1: W02 Software Quality Assurance Flashcards

1
Q

What can be the quality measure of a defect based model?

A

Number of defects.

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

Define “Fault/Defect” in Software Testing.

A

Manifestation of error in software.

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

Define “Error” in Software Testing.

A

User mistake.

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

Define “Failure” in Software Testing.

A

Software artifact not executing required action.

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

What are the failure classes?

A
  • Money cost
  • downtime/loss of data
  • harmful to environment
  • loss of life
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define “Operational Profile” in Software Testing.

A

Quantitative representation of how system will be used.

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

How is Operational Profile made?

A

Documenting user inputs and their occurrence probabilities.

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

Why is Operational Profile useful?

A

Used to proportionally distribute test cases and overall test time.

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

What are the levels in the Operational Profile Triangle?

A
  1. Customer Profile
  2. User Profile
  3. System-mode Profile
  4. Function Profile
  5. Operations Profile
  6. Test Selection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define “Customer” in Operational Profile with examples.

A

Entity that uses results of software.

Ie. large retail stores, grocery chains.

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

Define “User” in Operational Profile with examples.

A

Entity that uses software. Ie. marketing analysts, DB administrators.

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

Define “System mode” in Operational Profile with examples.

A

Set of functions grouped for one executable. Ie. report generation, database cleanup.

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

Define “Function” in Operational Profile with examples.

A

Set of operations grouped for one system mode.

Ie. Sales reports in Report Generation.

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

Define “Operation” in Operational Profile with examples.

A

System task as viewed by user.

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

What is the formula for threshold occurrence probability?

A

threshold occurrence probability = 0.5 / # of tests

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

How do you allocate tests based on operational profile?

A
  1. assign >=1 test case to each test with lower probability than threshold occurrence probability
  2. assign 2-4 test cases to rare CRITICAL new operations
  3. Use allocation probability for remaining tests
17
Q

What are the 3 testing levels?

A

Functional
Structural
Regression

18
Q

What is Functional level testing?

A

Testing as if system is black box.

19
Q

What is Structural level testing?

A

Testing as if system is white box. (Testing logic)

20
Q

What is Regression level testing?

A

Testing to catch defects across new versions.

21
Q

What type of testing stages are there?

A
  • Unit testing
  • Integration testing
  • System testing
  • User/Acceptance testing
22
Q

Define “Unit testing”.

A

Testing individual components.

23
Q

Define “Integration testing”.

A

Testing combinations of components.

24
Q

Define “System testing”.

A

Testing complete system.

25
Q

Define “User/Acceptance testing”.

A

Customer validation.