Free Practice Quiz Question List

7 Software Testing and Quality Online Quiz Questions

Use this free practice quiz with 20 questions to review 7 Software Testing and Quality, test your knowledge, and prepare for your next test or exam.

20 questions
01
True or false
1 point

True or false: Passing test cases proves that a program contains no defects.

  1. A

    True

  2. B

    False

02
True or false
1 point

True or false: High code coverage by itself demonstrates that a program behaves correctly.

  1. A

    True

  2. B

    False

03
Written response
1 point

What process-oriented, preventive discipline improves the practices used to develop and test software?

04
Written response
1 point

A team tests whether its product correctly connects to an external payment provider. What test level is this?

05
Fill in the blank
1 point

To reduce the number of tests, a team divides inputs into groups expected to behave alike and tests representative values from each group. This technique is .

06
Fill in the blank
1 point

After a test exposes a failure, the team investigates and removes the defect's cause. This activity is .

07
Choose one
1 point

A discount applies to purchases of at least 10 items. Which set of test inputs is most useful for detecting an off-by-one defect at the threshold?

  1. A

    Test only 1 and 20 items, since they are far apart.

  2. B

    Test 9, 10, and 11 items, since they are at and near the threshold.

  3. C

    Test 10 items repeatedly, since it is the qualifying value.

  4. D

    Test only values below 10, since those are invalid.

08
Choose one
1 point

A team frequently checks stable behavior after code changes, but also needs to investigate unclear usability concerns. Which approach best uses automation?

  1. A

    Automate all testing so that human evaluation is unnecessary.

  2. B

    Avoid automation because automated checks always require more effort than manual checks.

  3. C

    Automate repeatable regression checks, while using human investigation for exploratory and usability questions.

  4. D

    Automate only tests that are run once, and perform repeated checks manually.

09
Choose one
1 point

A team checks whether a shopping cart correctly passes item totals to the product's payment component. Which test level best fits this check?

  1. A

    Component integration testing

  2. B

    System testing

  3. C

    System integration testing

  4. D

    Acceptance testing

10
Choose one
1 point

A team checks whether an unpaid order can be cancelled and what happens if cancellation is attempted after the order has shipped. Which test design technique best fits?

  1. A

    Equivalence partitioning

  2. B

    Structure-based testing

  3. C

    Boundary-value analysis

  4. D

    State-transition testing

11
Choose all
1 point

Select all the practices that primarily support process-oriented, preventive quality assurance.

  1. A

    Review requirements to find ambiguity before development proceeds.

  2. B

    Run a single end-to-end test to judge whether the finished product meets a requirement.

  3. C

    Use consistent development and test processes across the team.

  4. D

    Hold retrospectives to identify ways to improve the team's process.

12
Choose all
1 point

After fixing a reported defect, select all the appropriate testing actions.

  1. A

    Run a confirmation test to check that the fix resolves the reported issue.

  2. B

    Skip all tests after the fix if the code change is small.

  3. C

    Run regression tests to check that existing behavior still works.

  4. D

    Repeat only the steps that originally revealed the defect, without checking other behavior.

13
Open ended
1 point

An automated test suite sometimes passes or fails depending on which test runs first. Explain why shared mutable data or execution-order dependencies cause this problem, and describe one practice that can make the tests more repeatable.

14
True or false
1 point

True or false: Passing tests prove that a program is defect-free.

  1. A

    True

  2. B

    False

15
Choose one
1 point

A team repeatedly finds failures caused by ambiguous requirements. Which action is the clearest example of quality assurance?

  1. A

    Add more product tests to find each ambiguous requirement after implementation.

  2. B

    Improve the requirements review process to catch ambiguity earlier.

  3. C

    Run regression tests after every release without changing development practices.

  4. D

    Ask testers to take sole responsibility for preventing defects.

16
Choose one
1 point

A discount applies to purchases of at least 10 items. Which test set most directly applies boundary-value analysis?

  1. A

    Use only a typical purchase of 15 items.

  2. B

    Test several purchases with fewer than 10 items.

  3. C

    Test purchases of 9, 10, and 11 items.

  4. D

    Test every possible purchase size.

17
Written response
1 point

A developer tests one tax-calculation function in isolation to check its result for a given price. What testing level is this?

18
Choose one
1 point

A test checks whether a shopping cart passes item totals correctly to the product's payment component. Which test level is the best fit?

  1. A

    Component integration testing

  2. B

    System integration testing

  3. C

    Acceptance testing

  4. D

    Component (unit) testing

19
Written response
1 point

A team needs to test how membership status and order value together determine a discount. Which test-design technique is specifically suited to organizing these condition-and-outcome combinations?

20
Choose one
1 point

A tester checks whether an unpaid order can be cancelled and what happens if cancellation is attempted after the order has shipped. Which test-design technique best fits?

  1. A

    Boundary-value analysis

  2. B

    Structure-based testing

  3. C

    Equivalence partitioning

  4. D

    State-transition testing