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.
Questions
What is the main difference between a walkthrough and an inspection?
- An inspection is lead by the author, whilst a walkthrough is lead by a trained moderator
- An inspection has a trained leader, whilst a walkthrough has no leader.
- A walkthrough is lead by the author, whilst an inspection is lead by a trained moderator
- Authors are not present during inspections, whilst they are during walkthroughs
Which one of the following describes the major benefit of verification early in the life cycle?
- It allows the identification of changes in user requirements
- It facilitates timely set up of the test environment.
- It reduces defect multiplication
- It allows testers to become involved early in the project.
Integration testing in the small:
- tests the individual components that have been developed.
- tests interactions between modules or subsystems
- only uses components that form part of the live system.
- tests interfaces to other systems.
Maintenance testing is:
- updating tests when the software has changed
- testing a released system that has been changed
- testing by users to ensure that the system meets a business need
- testing to maintain business advantage
We split testing into distinct stages primarily because:
- ) It is easier to manage testing in stages
- We can run different tests in different environments
- Each test stage has a different purpose.
- The more stages we have, the better the testing.
Error guessing:
- can only be used in component, integration and system testing.
- supplements formal test design techniques.
- is only performed in user acceptance testing.
- is not repeatable and should not be used.
Enough testing has been performed when:
- time runs out.
- no more faults are found.
- the users won’t find any serious faults.
- the required level of confidence has been achieved.
Which of the following is a form of functional testing?
- Usability testing
- Performance testing
- Boundary value analysis
- Security testing
Static analysis is best described as:
- the analysis of batch programs.
- the analysis of program code
- the reviewing of test plans.
- the use of black box testing
Beta testing is:
- performed by an Independent Test Team
- performed by customers at the software developer’s site
- performed by customers at their own site
- performed as early as possible in the lifecycle
Faults found by users are due to:
- Poor quality software
- bad luck
- Poor software and poor testing
- insufficient time for testing
Which of the following tools would you use to detect a memory leak?
- Coverage analysis
- Dynamic analysis
- State analysis
- Memory analysis
A failure is:
- found in the software; the result of an error
- an incorrect step, process or data definition in a computer program
- departure from specified behavior
- a human action that produces an incorrect result
What is the main difference between a walkthrough and an inspection?
- An inspection is lead by the author, whilst a walkthrough is lead by a trained moderator.
- An inspection has a trained leader, whilst a walkthrough has no leader
- A walkthrough is lead by the author, whilst an inspection is lead by a trained moderator
- Authors are not present during inspections, whilst they are during walkthroughs
Which of the following techniques is NOT a black box technique?
- state transition testing
- LCSAJ
- boundary value analysis
- syntax testing
Which one of the following describes the major benefit of verification early in the life cycle?
- ) It facilitates timely set up of the test environment
- It allows the identification of changes in user requirements.
- It reduces defect multiplication
- It allows testers to become involved early in the project
Which of the following is the best source of Expected Outcomes for User Acceptance Test scripts?
- Actual results
- Program specification
- User requirements
- System specification
Data flow analysis studies:
- possible communications bottlenecks in a program.
- the rate of change of data values as a program executes
- the use of data on paths through the code.
- the intrinsic complexity of the code
Which of the following requirements is testable?
- The system shall be user friendly.
- The safety-critical parts of the system shall contain 0 faults.
- The response time shall be less than one second for the specified design load.
- The system shall be built to be portable.
In prioritizing what to test, the most important objective is to:
- find as many faults as possible.
- test high risk areas.
- obtain good test coverage.
- test whatever is easiest to test