Software Testing Fundamentals

Covers essential software testing concepts including testing techniques, testing stages, verification and validation, black box and white box testing, and testing lifecycle.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the main difference between a walkthrough and an inspection?

  1. An inspection is lead by the author, whilst a walkthrough is lead by a trained moderator
  2. An inspection has a trained leader, whilst a walkthrough has no leader.
  3. A walkthrough is lead by the author, whilst an inspection is lead by a trained moderator
  4. Authors are not present during inspections, whilst they are during walkthroughs
Question 2 Multiple Choice (Single Answer)

Which one of the following describes the major benefit of verification early in the life cycle?

  1. It allows the identification of changes in user requirements
  2. It facilitates timely set up of the test environment.
  3. It reduces defect multiplication
  4. It allows testers to become involved early in the project.
Question 3 Multiple Choice (Single Answer)

Integration testing in the small:

  1. tests the individual components that have been developed.
  2. tests interactions between modules or subsystems
  3. only uses components that form part of the live system.
  4. tests interfaces to other systems.
Question 4 Multiple Choice (Single Answer)

Maintenance testing is:

  1. updating tests when the software has changed
  2. testing a released system that has been changed
  3. testing by users to ensure that the system meets a business need
  4. testing to maintain business advantage
Question 5 Multiple Choice (Single Answer)

We split testing into distinct stages primarily because:

  1. ) It is easier to manage testing in stages
  2. We can run different tests in different environments
  3. Each test stage has a different purpose.
  4. The more stages we have, the better the testing.
Question 6 Multiple Choice (Single Answer)

Error guessing:

  1. can only be used in component, integration and system testing.
  2. supplements formal test design techniques.
  3. is only performed in user acceptance testing.
  4. is not repeatable and should not be used.
Question 7 Multiple Choice (Single Answer)

Enough testing has been performed when:

  1. time runs out.
  2. no more faults are found.
  3. the users won’t find any serious faults.
  4. the required level of confidence has been achieved.
Question 8 Multiple Choice (Single Answer)

Which of the following is a form of functional testing?

  1. Usability testing
  2. Performance testing
  3. Boundary value analysis
  4. Security testing
Question 9 Multiple Choice (Single Answer)

Static analysis is best described as:

  1. the analysis of batch programs.
  2. the analysis of program code
  3. the reviewing of test plans.
  4. the use of black box testing
Question 10 Multiple Choice (Single Answer)

Beta testing is:

  1. performed by an Independent Test Team
  2. performed by customers at the software developer’s site
  3. performed by customers at their own site
  4. performed as early as possible in the lifecycle
Question 11 Multiple Choice (Single Answer)

Faults found by users are due to:

  1. Poor quality software
  2. bad luck
  3. Poor software and poor testing
  4. insufficient time for testing
Question 12 Multiple Choice (Single Answer)

Which of the following tools would you use to detect a memory leak?

  1. Coverage analysis
  2. Dynamic analysis
  3. State analysis
  4. Memory analysis
Question 13 Multiple Choice (Single Answer)

A failure is:

  1. found in the software; the result of an error
  2. an incorrect step, process or data definition in a computer program
  3. departure from specified behavior
  4. a human action that produces an incorrect result
Question 14 Multiple Choice (Single Answer)

What is the main difference between a walkthrough and an inspection?

  1. An inspection is lead by the author, whilst a walkthrough is lead by a trained moderator.
  2. An inspection has a trained leader, whilst a walkthrough has no leader
  3. A walkthrough is lead by the author, whilst an inspection is lead by a trained moderator
  4. Authors are not present during inspections, whilst they are during walkthroughs
Question 15 Multiple Choice (Single Answer)

Which of the following techniques is NOT a black box technique?

  1. state transition testing
  2. LCSAJ
  3. boundary value analysis
  4. syntax testing
Question 16 Multiple Choice (Single Answer)

Which one of the following describes the major benefit of verification early in the life cycle?

  1. ) It facilitates timely set up of the test environment
  2. It allows the identification of changes in user requirements.
  3. It reduces defect multiplication
  4. It allows testers to become involved early in the project
Question 17 Multiple Choice (Single Answer)

Which of the following is the best source of Expected Outcomes for User Acceptance Test scripts?

  1. Actual results
  2. Program specification
  3. User requirements
  4. System specification
Question 18 Multiple Choice (Single Answer)

Data flow analysis studies:

  1. possible communications bottlenecks in a program.
  2. the rate of change of data values as a program executes
  3. the use of data on paths through the code.
  4. the intrinsic complexity of the code
Question 19 Multiple Choice (Single Answer)

Which of the following requirements is testable?

  1. The system shall be user friendly.
  2. The safety-critical parts of the system shall contain 0 faults.
  3. The response time shall be less than one second for the specified design load.
  4. The system shall be built to be portable.
Question 20 Multiple Choice (Single Answer)

In prioritizing what to test, the most important objective is to:

  1. find as many faults as possible.
  2. test high risk areas.
  3. obtain good test coverage.
  4. test whatever is easiest to test