Software Testing Fundamentals

Test your knowledge of software testing concepts including integration testing, acceptance testing, reviews, static analysis, and test case design.

16 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is the best example of reliability failure for an application?

  1. Slow Response Time
  2. Excessive Memory Consumption
  3. Random Application termination
  4. Failure to encrypt data
Question 2 Multiple Choice (Single Answer)

A test case has which of the following elements?

  1. A test environment description and test instructions.
  2. A set of inputs, execution preconditions, and expected outcomes.
  3. A test plan, test inputs, and logging instructions.
  4. Execution instructions and a function description to determine correct outcome.
Question 3 Multiple Choice (Single Answer)

What is the purpose of regression testing?

  1. It enables us to reuse all our tests to improve ROI
  2. It can be used to replace acceptance testing.
  3. To reduce the amount of impact analysis we must do when modifying a system.
  4. To discover any defects introduced or uncovered as a result of a change
Question 4 Multiple Choice (Single Answer)

What is testing without executing the code?

  1. Non-functional testing.
  2. Structure-based testing (white box).
  3. Static testing.
  4. Functional testing (black box).
Question 5 Multiple Choice (Single Answer)

Which of the following is true of acceptance testing?

  1. A goal of acceptance testing is to stress-test the system.
  2. A goal of acceptance testing is to establish confidence in the system.
  3. Acceptance testing is performed by technical staff.
  4. Acceptance testing is only used to address functionality issues within the system
Question 6 Multiple Choice (Single Answer)

Which of the following is a good reason for a developer to use a Test Harness tool?

  1. To help the developer to compare differences between files and databases.
  2. To reduce the quantity of component tests needed to be run.
  3. To make it easier for developers to peer-test each other’s code.
  4. To simplify running unit tests when related components are not available yet.
Question 7 Multiple Choice (Single Answer)

What is the purpose of exhaustive testing?

  1. To decide if the system is ready for detailed and further testing.
  2. To determine how the existing system may be affected by changes.
  3. To make use of every possible input condition as a test case.
  4. To determine if a system can function correctly with invalid inputs.
Question 8 Multiple Choice (Single Answer)

Which of the following are the main stages of a formal review?

  1. Initiation, Preparation, Informal Review Meeting, Status, Rework, and Follow up.
  2. Planning, Preparation, Technical Review, Rework, and Closure.
  3. Preparation, Inspection, Rework, Closure, and Follow up.
  4. Planning, Kick off, Individual Preparation, Review Meeting, Rework, and Follow up.
Question 9 Multiple Choice (Single Answer)

A test case has which of the following elements?

  1. A test environment description and test instructions
  2. A set of inputs, execution preconditions, and expected outcomes
  3. A test plan, test inputs, and logging instructions.
  4. Execution instructions and a function description to determine correct outcome
Question 10 Multiple Choice (Single Answer)

Which of the following provides the test group with the ability to reference all documents and software items unambiguously?

  1. Agile testing methodology
  2. Effective use of tools
  3. Configuration management
  4. Requirements traceability matrix
Question 11 Multiple Choice (Single Answer)

Which of the following statements are TRUE for informal reviews? I. Easy to get started and have some benefit II. Have no or minimal formal process III. The process must be documented IV. May include “paired programming”

  1. I, II and IV
  2. I and III
  3. III and IV
  4. I, III and IV
Question 12 Multiple Choice (Single Answer)

Which of the following are good candidates for manual static testing?

  1. Requirement specifications, test plan, code, memory leaks
  2. Requirement specifications, test cases, user guides.
  3. Requirement specifications, user guides, performance
  4. Requirement specifications, website, code, use cases
Question 13 Multiple Choice (Single Answer)

Which of the following is a TRUE statement about the use of static analysis tools?

  1. Static analysis tools can change the code to reduce complexity.
  2. Static analysis tools are intended to support developers only
  3. Static analysis tools aid in understanding of code structure and dependencies
  4. Static analysis tools cannot be used to enforce coding standards.
Question 14 Multiple Choice (Single Answer)

How does testing contribute to software quality?

  1. Testing ensures that the system under test will not error out in a production environment
  2. Testing identifies defects which ensures a successful product will be released to market
  3. Testing increases the quality of a software system by avoiding defects in the system under test.
  4. Testing through verification and validation of functionality identifies defects in the system under test.
Question 15 Multiple Choice (Single Answer)

Which of the statements about reviews are correct? I. Reviews are useful because, through their use, defects can be found early, resulting in cost savings. II. Reviews are useful because they help management understand the comparative skills of different developers. III. Testers should not get involved in specification reviews because it can bias them unfavorably. IV. Many early defects are found in reviews, lengthening the time needed for the development life cycle

  1. I
  2. IV
  3. I and IV
  4. I and III
Question 16 Multiple Choice (Single Answer)

What is integration testing?

  1. Integration of automated software test suites with the application under test.
  2. Testing performed to expose faults in the interaction between components and systems.
  3. Testing to verify that a component is ready for integration with the rest of the system.
  4. Testing to verify that the test environment can be integrated with the product