Testing Throughout the Software Lifecycle Flashcards

1
Q

What is a type of sequential software model

A

The waterfall model

  1. Identify client requirements
  2. identify system requirements
  3. create an overall design
  4. create a detailed design
  5. develop product
  6. test product
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the V model

A

The V model is a sequential model that improved on the waterfall model as it simultaneously plans testing activity alongside the products development.

The drawback is that you verify the product matches client specs only at the end of the testing model.

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

What is the iterative model?

A

The interative model removes the drawbacks of the V-model. As a tester you are now part of the development process and are able to test the product while it is being developed.

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

What are two significant drawbacks of the iterative model?

A
  • Absence of formal documentation
  • Increased testing time and cost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is component testing?

A

This testing helps you identify errors in each component, such as an object, program or module of a software application.

During component testing you do not record defects, so defects should be fixed as soon as they are found.

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

What are the steps in the test-first approach?

A
  • Create test cases
  • Develop code
  • Run tests
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are stubs in component testing?

A

Stubs simulate called components. You use a stub in place of each called component.

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

What are drivers in component testing?

A

Drivers act as a substitute for a compnent that calls the component you are testing.

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

What is the difference between black box and white box testing?

A

White box testing is concerned with the internal workings of the system whereas black box testing takes no interest in the internal structure.

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

What are the sub-attributes tested for during nonfunctional testing?

A
  • Reliability
  • Efficiency
  • Usability
  • Maintainability
  • Portability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the different types of acceptance testing?

A
  • User acceptance testing
  • operational acceptance testing
  • contract acceptance testing
  • regulation acceptance testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Acceptance testing is normally the last test level. What other levels can you perform this at?

A
  • During component testing
  • During installation or integration
  • Before system testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is system testing?

A

During system testing you ensure the application meets the requirements identified during the intiial phases of the software development process

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

What is acceptance testing?

A

Instead of checking for defects, the testers verify whether the application meets all their requirements , both functional and nonfunctional.

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

What is top-down integation testing?

A
  • Involves testing the external features of the software first. For instance starting with the GUI.
  • You don’t need to create drivers
  • Additional effort is required to create stubs if the components thew GUI calls are not ready.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is bottom-up integration testing?

A
  • You first test at the lowest level in the software application.
  • This would be the component that doesn’t call any other component.
  • You would need to create drivers to simulate the components that call this component.
17
Q

What is functional testing?

A

Tests the functionality of a selected component

18
Q

What is non-functional testing?

A

Test the behavioral or the quantified characteristics of the systems and software

19
Q

What is Structural testing?

A

Test the structual aspects of the component or system.

This includes verifying if the data object has the specified data fields with correct data types.

20
Q

What is change-based-testing?

A

Includes regression testing and confirmation testing that involves the re-run of tests to ensure that the software is working correctly following changes

21
Q

According to the ISO quality standard 9216, what characteristics is functional testing performed for?

A
  • Suitability
  • Interoperability
  • accuracy
22
Q

What is suitability testing?

A

Testing to determine if the product performs as expected for it’s intended use.

23
Q

What is testing interoperability?

A

Involves evaluating the capability of the system to interact with other specified components or systems.

24
Q

What is accuracy testing?

A

Testing to ensure the faulty product does not leave the production line and cause errors during beta testing

25
Q

What is security testing?

A

Testing to ensure the preventation of unauthorized access to software ether intentional or accidental.

26
Q

What is compliance testing?

A

Makes sure a system adheres to specified criteria, standards, conventions, regulations and laws.

27
Q

What is requirements-based testing?

A

Designing tests based on a functional requirement specification for the system.

28
Q

What is business-process-based testing?

A

Uses knowledge of the business processes to describe the scenarios involved in the day-to-day business use of the systems.

29
Q

What are the different types of non-functional testing?

A
  • Performance testing
  • Load testing
  • Stress testing
  • Usability testing
  • Maintenability testing
  • Reliability testing
  • Portability testing
30
Q

What is performance testing?

A

Test the degree to which a system fulfills its specified functions within given processing time and throughput rate constraints.

31
Q

What is Load testing?

A

Measure the behaviour of a system with increasing load

32
Q

What is stress testing?

A

Evaluates a systrem at and beyond the boundaries of it’s specificed requirement

33
Q

What is usability testing?

A

Tests how easily a user can perform a specific task

34
Q

What is maintainability testing?

A

Tests how easily a product can be modified in the future

35
Q

What is reliability testing?

A

Tests how reliably a product performs over a given period of time

36
Q

What is portability testing?

A

tests how easiy a system can be transferred from one platform to another

37
Q

According to ISO 1926 what is efficiency testing?

A

The capability of the software to provide appropriate performance relative to the amount of resources used under states conditions.

38
Q

How would you do structural testing at the component level?

A

Test the structure of the code itself, such as the statements or decisions.