Software Testing Fundamentals and Techniques

Covers essential software testing concepts including testing types, tools, standards, review processes, and testing methodologies such as black box and white box techniques.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

The place to start if you want a (new) test tool is:

  1. Attend a tool exhibition
  2. Invite a vendor to give a demo
  3. Analyse your needs and requirements
  4. Find out what your budget would be for the tool
Question 2 Multiple Choice (Single Answer)

When a new testing tool is purchased, it should be used first by:

  1. A small team to establish the best way to use the tool
  2. Everyone who may eventually have some use for the tool
  3. The independent testing team
  4. The vendor contractor to write the initial scripts
Question 3 Multiple Choice (Single Answer)

What can static analysis NOT find?

  1. The use of a variable before it has been defined
  2. Unreachable (“dead”) code
  3. Whether the value stored in a variable is correct
  4. The re-definition of a variable before it has been used
Question 4 Multiple Choice (Single Answer)

Which of the following is NOT a black box technique:

  1. Equivalence partitioning
  2. State transition testing
  3. LCSAJ
  4. Syntax testing
Question 5 Multiple Choice (Single Answer)

Beta testing is:

  1. Performed by customers at their own site
  2. Performed by customers at their software developer’s site
  3. Performed by an independent test team
  4. Useful to test bespoke software
Question 6 Multiple Choice (Single Answer)

Given the following types of tool, which tools would typically be used by developers and which by an independent test team: (i) static analysis (ii) performance testing (iii) test management (iv) dynamic analysis (v) test running (vi) test data preparation

  1. developers would typically use i, iv and vi; test team ii, iii and v
  2. developers would typically use i and iv; test team ii, iii, v and vi
  3. developers would typically use i, ii, iii and iv; test team v and vi
  4. developers would typically use ii, iv and vi; test team I, ii and v
Question 7 Multiple Choice (Single Answer)

The main focus of acceptance testing is:

  1. finding faults in the system
  2. ensuring that the system is acceptable to all users
  3. testing the system with other systems
  4. testing for a business perspective
Question 8 Multiple Choice (Single Answer)

Which of the following statements about the component testing standard is false:

  1. black box design techniques all have an associated measurement technique
  2. white box design techniques all have an associated measurement technique
  3. black box measurement techniques all have an associated test design technique
  4. white box measurement techniques all have an associated test design technique
Question 9 Multiple Choice (Single Answer)

Which of the following statements is NOT true:

  1. inspection is the most formal review process
  2. inspections should be led by a trained leader
  3. managers can perform inspections on management documents
  4. inspection is appropriate even when there are no written documents
Question 10 Multiple Choice (Single Answer)

A typical commercial test execution tool would be able to perform all of the following EXCEPT:

  1. generating expected outputs
  2. replaying inputs according to a programmed script
  3. comparison of expected outcomes with actual outcomes
  4. recording test inputs
Question 11 Multiple Choice (Single Answer)

The difference between re-testing and regression testing is

  1. re-testing is running a test again; regression testing looks for unexpected side
  2. re-testing looks for unexpected side effects; regression testing is repeating
  3. re-testing is done after faults are fixed; regression testing is done earlier
  4. re-testing uses different environments, regression testing uses the same
Question 12 Multiple Choice (Single Answer)

Expected results are:

  1. only important in system testing
  2. only used in component testing
  3. most useful when specified in advance
  4. derived from the code
Question 13 Multiple Choice (Single Answer)

Test managers should not:

  1. report on deviations from the project plan
  2. sign the system off for release
  3. re-allocate resource to meet original plans
  4. raise incidents on faults that they have found
Question 14 Multiple Choice (Single Answer)

Unreachable code would best be found using:

  1. a dynamic analysis tool
  2. a debugging tool
  3. a test management tool
  4. a configuration management tool
Question 15 Multiple Choice (Single Answer)

What information need not be included in a test incident report:

  1. how to fix the fault
  2. how to reproduce the fault
  3. test environment details
  4. severity, priority
Question 16 Multiple Choice (Single Answer)

Which expression best matches the following characteristics or review processes: 1. led by author 2. undocumented 3. no management participation 4. led by a trained moderator or leader 5. uses entry exit criteria s) inspection t) peer review u) informal review v) walkthrough

  1. s = 4, t = 3, u = 2 and 5, v = 1
  2. s = 4 and 5, t = 3, u = 2, v = 1
  3. s = 1 and 5, t = 3, u = 2, v = 4
  4. s = 5, t = 4, u = 3, v = 1 and 2
Question 17 Multiple Choice (Single Answer)

Which of the following is NOT part of system testing:

  1. performance, load and stress testing
  2. requirements-based testing
  3. usability testing
  4. top-down integration testing
Question 18 Multiple Choice (Single Answer)

What statement about expected outcomes is FALSE:

  1. expected outcomes are defined by the software’s behaviour
  2. expected outcomes are derived from a specification, not from the code
  3. expected outcomes include outputs to a screen and changes to files and
  4. expected outcomes should be predicted before a test is run
Question 19 Multiple Choice (Single Answer)

The standard that gives definitions of testing terms is:

  1. ISO/IEC 12207
  2. BS7925-1
  3. BS7925-2
  4. ANSI/IEEE 829
Question 20 Multiple Choice (Single Answer)

The cost of fixing a fault:

  1. Is not important
  2. Increases as we move the product towards live use
  3. Decreases as we move the product towards live use
  4. Is more expensive if found in requirements than functional design