Software Testing Fundamentals
Test your knowledge of software testing concepts including integration testing, acceptance testing, reviews, static analysis, and test case design.
Questions
Which of the following is the best example of reliability failure for an application?
- Slow Response Time
- Excessive Memory Consumption
- Random Application termination
- Failure to encrypt data
A test case has which of the following elements?
- A test environment description and test instructions.
- A set of inputs, execution preconditions, and expected outcomes.
- A test plan, test inputs, and logging instructions.
- Execution instructions and a function description to determine correct outcome.
What is the purpose of regression testing?
- It enables us to reuse all our tests to improve ROI
- It can be used to replace acceptance testing.
- To reduce the amount of impact analysis we must do when modifying a system.
- To discover any defects introduced or uncovered as a result of a change
What is testing without executing the code?
- Non-functional testing.
- Structure-based testing (white box).
- Static testing.
- Functional testing (black box).
Which of the following is true of acceptance testing?
- A goal of acceptance testing is to stress-test the system.
- A goal of acceptance testing is to establish confidence in the system.
- Acceptance testing is performed by technical staff.
- Acceptance testing is only used to address functionality issues within the system
Which of the following is a good reason for a developer to use a Test Harness tool?
- To help the developer to compare differences between files and databases.
- To reduce the quantity of component tests needed to be run.
- To make it easier for developers to peer-test each other’s code.
- To simplify running unit tests when related components are not available yet.
What is the purpose of exhaustive testing?
- To decide if the system is ready for detailed and further testing.
- To determine how the existing system may be affected by changes.
- To make use of every possible input condition as a test case.
- To determine if a system can function correctly with invalid inputs.
Which of the following are the main stages of a formal review?
- Initiation, Preparation, Informal Review Meeting, Status, Rework, and Follow up.
- Planning, Preparation, Technical Review, Rework, and Closure.
- Preparation, Inspection, Rework, Closure, and Follow up.
- Planning, Kick off, Individual Preparation, Review Meeting, Rework, and Follow up.
A test case has which of the following elements?
- A test environment description and test instructions
- A set of inputs, execution preconditions, and expected outcomes
- A test plan, test inputs, and logging instructions.
- Execution instructions and a function description to determine correct outcome
Which of the following provides the test group with the ability to reference all documents and software items unambiguously?
- Agile testing methodology
- Effective use of tools
- Configuration management
- Requirements traceability matrix
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”
- I, II and IV
- I and III
- III and IV
- I, III and IV
Which of the following are good candidates for manual static testing?
- Requirement specifications, test plan, code, memory leaks
- Requirement specifications, test cases, user guides.
- Requirement specifications, user guides, performance
- Requirement specifications, website, code, use cases
Which of the following is a TRUE statement about the use of static analysis tools?
- Static analysis tools can change the code to reduce complexity.
- Static analysis tools are intended to support developers only
- Static analysis tools aid in understanding of code structure and dependencies
- Static analysis tools cannot be used to enforce coding standards.
How does testing contribute to software quality?
- Testing ensures that the system under test will not error out in a production environment
- Testing identifies defects which ensures a successful product will be released to market
- Testing increases the quality of a software system by avoiding defects in the system under test.
- Testing through verification and validation of functionality identifies defects in the system under test.
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
- I
- IV
- I and IV
- I and III
What is integration testing?
- Integration of automated software test suites with the application under test.
- Testing performed to expose faults in the interaction between components and systems.
- Testing to verify that a component is ready for integration with the rest of the system.
- Testing to verify that the test environment can be integrated with the product