Sample questions
Question 1Easy
Smoke testing is best described as:
- An in-depth test of all edge cases
- A quick check that the main functions of a build work
- A load test with thousands of users during every test cycle
- A review of the source code
Answer: B. A quick check that the main functions of a build work
Explanation
If the smoke test fails, the build is rejected for further testing.
Step-by-step solution
- Smoke testing is a quick check of a new build.
- It checks that the main functions work at a basic level.
- If the smoke test fails, the build is sent back before deeper testing.
- So the answer is option B.
Why the other options are wrong
- A. In-depth edge case testing is not a smoke test.
- C. A load test with thousands of users is performance testing.
- D. A review of source code is a static review, not smoke testing.
Tip: Smoke test: a quick build-health check on main functions before deeper testing.
Question 2Easy
Which testing is done by internal staff at the developer's site before the product goes to external users?
- Alpha testing
- Beta testing
- Unit testing
- Smoke testing
Answer: A. Alpha testing
Explanation
Alpha testing is internal acceptance-style testing; beta follows with real users in their environment.
Step-by-step solution
- Alpha comes first.
- It is in-house.
- Beta follows outside.
Why the other options are wrong
- B. Beta takes place at the user's own site.
- C. Unit testing is internal and code-level.
- D. Smoke checks basic stability.
Question 3Easy
Who typically performs User Acceptance Testing (UAT)?
- Only the developers who wrote the code
- Only the compiler
- Only the build engineer
- End users or customer representatives
Answer: D. End users or customer representatives
Explanation
UAT confirms the system is fit for business use.
Step-by-step solution
- User Acceptance Testing checks whether the system is fit for real business use.
- It is done by the people who will use the system.
- They are end users or customer representatives.
- So the answer is option D.
Why the other options are wrong
- A. Developers who wrote the code are not the ones who judge business fitness.
- B. A compiler cannot judge fitness for use.
- C. A build engineer handles builds, not acceptance.
Tip: UAT is run by the customer or real users to confirm business fitness.
Question 4Easy
Which type of testing checks that two modules exchange data correctly?
- Unit testing of single functions
- Load testing with many users
- Acceptance testing by the customer
- Integration testing
Answer: D. Integration testing
Explanation
Integration testing focuses on interfaces and data flow between modules.
Step-by-step solution
- Two modules.
- Data between them.
- Integration test.
Why the other options are wrong
- A. Unit tests isolate a single piece.
- B. Load testing studies behaviour under volume.
- C. Acceptance is for business sign-off.
Question 5Medium
Regression testing is done to:
- Check that changes have not broken existing functionality
- Test a feature for the first time on every build
- Measure response time
- Check spelling in the UI
Answer: A. Check that changes have not broken existing functionality
Explanation
It re-runs earlier tests after a change.
Step-by-step solution
- Regression testing is run after a change to a system.
- It checks that existing features still work.
- So it looks for side effects that a change may have caused.
- The answer is option A.
Why the other options are wrong
- B. Testing a feature for the first time is new feature testing, not regression.
- C. Measuring response time is performance testing.
- D. Checking spelling is a review or UI check, not the purpose of regression.
Tip: Regression testing answers: did this change break anything that worked before?
Question 6Medium
Alpha testing and beta testing differ in that:
- Alpha is done by customers, beta by developers
- Both are done only by developers
- Alpha is performance testing, beta is security testing for the whole project
- Alpha is done in-house, beta is done by real users at their own sites
Answer: D. Alpha is done in-house, beta is done by real users at their own sites
Explanation
Alpha takes place at the developer's site; beta is external pre-release testing.
Step-by-step solution
- Alpha testing is done in-house, at the developer's site.
- Beta testing is done by real users at their own sites, before release.
- So the two differ in who tests and where.
- The answer is option D.
Why the other options are wrong
- A. The two are reversed: alpha is in-house, and beta is done by customers.
- B. Beta testing is done by real users, not developers only.
- C. Alpha and beta are both general user-level tests, not performance or security.
Tip: Alpha: in-house, early. Beta: real users at their own sites, pre-release.
Question 7Medium
Which integration approach tests all modules combined at once?
- Top-down integration
- Bottom-up integration
- Big-bang integration
- Sandwich integration
Answer: C. Big-bang integration
Explanation
Big-bang combines everything together, which makes fault isolation hard.
Step-by-step solution
- Big-bang integration combines all modules at once and tests them together.
- Top-down and bottom-up integrate in stages, not all at once.
- Sandwich mixes top-down and bottom-up in layers.
- So the answer is option C, big-bang.
Why the other options are wrong
- A. Top-down integrates from the top module downwards, in stages.
- B. Bottom-up integrates from the lowest modules upwards, in stages.
- D. Sandwich mixes two directions and is staged, not all at once.
Tip: Big-bang integrates everything at once, which makes finding the faulty module hard.
Question 8Medium
Which testing validates the system against business needs, usually by users or customers before go-live?
- User acceptance testing
- Component testing by developers
- Integration testing of interfaces
- Static analysis of the source code
Answer: A. User acceptance testing
Explanation
UAT confirms the system is fit for the business purpose and ready to be accepted.
Step-by-step solution
- Customers check fitness.
- That is acceptance.
- UAT.
Why the other options are wrong
- B. Component testing is developer level.
- C. Integration targets interfaces.
- D. Static analysis does not run the code.
Question 9Medium
In bottom-up integration testing, which items are needed to test a low-level module before its callers exist?
- Stubs
- Drivers
- Mocks of the database only
- Beta users
Answer: B. Drivers
Explanation
A driver stands in for the missing caller. Stubs stand in for missing callee modules.
Step-by-step solution
- Caller is missing.
- A stand-in caller is a driver.
- Bottom-up uses drivers.
Why the other options are wrong
- A. Stubs replace called modules, as in top-down.
- C. The need here is a caller, not a database.
- D. Beta users are not test scaffolding.
Question 10Hard
Component A calls B, and B is not ready. A team writes a small fake B that returns fixed values so A can be tested. What is the fake called, and what testing order does it suggest?
- A driver; bottom-up integration
- A stub; bottom-up integration
- A stub; top-down integration
- A driver; top-down integration
Answer: C. A stub; top-down integration
Explanation
A fake that replaces a called module is a stub, and using stubs for lower modules is characteristic of top-down integration.
Step-by-step solution
- B is the called module.
- Fake called module is a stub.
- Stubs go with top-down.
Why the other options are wrong
- A. A driver calls the module under test, here B is missing.
- B. Stubs are used when going top-down, not bottom-up.
- D. Mixing driver and top-down is wrong on both.
Practise all 18 questions free
The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.
Open this topic in the app →