Sample questions
Question 1Easy
Usability testing checks:
- How many requests per second the server can handle
- Whether the code compiles without errors
- How secure the stored passwords are
- How easily real users can use the product
Answer: D. How easily real users can use the product
Explanation
Usability testing observes users completing tasks to find confusing designs.
Step-by-step solution
- Look at users.
- Ease of use.
- Usability.
Why the other options are wrong
- A. That's load testing.
- B. That's a build issue.
- C. That's security.
Question 2Easy
What is exploratory testing?
- Running only automated regression tests
- Reviewing the code without running it
- Learning, designing and running tests together, unscripted
- Testing the product after retirement
Answer: C. Learning, designing and running tests together, unscripted
Explanation
Testers use their knowledge to explore the application and design tests on the fly.
Step-by-step solution
- No fixed script.
- Learn while testing.
- Exploratory.
Why the other options are wrong
- A. That's automation.
- B. That's static review.
- D. Not meaningful.
Question 3Medium
In BDD, scenarios are commonly written in which format?
- If-Then-Else only
- Given-When-Then
- Input-Process-Output
- Plan-Do-Check-Act
Answer: B. Given-When-Then
Explanation
Given sets context, When states the action, Then states the expected outcome.
Step-by-step solution
- Context, action, outcome.
- Given When Then.
- BDD.
Why the other options are wrong
- A. Used in code, not BDD scenarios.
- C. A system model, not scenario format.
- D. That's a quality cycle.
Question 4Medium
Compatibility testing verifies:
- Only the speed of the database
- The software works across browsers and devices
- Compliance with the code style guide
- The work hours of the developers
Answer: B. The software works across browsers and devices
Explanation
It checks behaviour on supported combinations of platforms, browsers and versions.
Step-by-step solution
- Different platforms.
- Same behaviour.
- Compatibility.
Why the other options are wrong
- A. Not a compatibility topic.
- C. That's static analysis.
- D. Not relevant.
Question 5Medium
What is the key difference between smoke and sanity testing?
- Smoke is a broad, shallow build check; sanity is narrow and targeted
- Smoke is done after release and sanity is done before it
- Smoke uses automation only, sanity manual only
- Sanity covers the entire system in depth
Answer: A. Smoke is a broad, shallow build check; sanity is narrow and targeted
Explanation
Smoke verifies the build is stable enough to test; sanity verifies a specific fix or function works.
Step-by-step solution
- Smoke is wide.
- Sanity is narrow.
- Different focus.
Why the other options are wrong
- B. Both run before deeper testing.
- C. Either can be manual or automated.
- D. That describes full regression.
Question 6Medium
A user story's acceptance criteria are used to:
- Estimate the monthly hosting cost of the server
- Assign each tester a monthly salary
- Decide when a story is done and derive tests
- Rename the sprint to something catchy
Answer: C. Decide when a story is done and derive tests
Explanation
They define the conditions that must hold for the story to be accepted.
Step-by-step solution
- Conditions.
- Derive tests.
- Done.
Why the other options are wrong
- A. Cost estimation is done from sizing, not acceptance criteria.
- B. Pay is an HR matter.
- D. Sprint names are chosen by the team.
Question 7Medium
- Running the program with many different input values
- Load testing with many virtual users
- Beta testing by external real users
- Reviews and static analysis without running code
Answer: D. Reviews and static analysis without running code
Explanation
Static testing examines documents and code without running them, finding defects early.
Step-by-step solution
- No execution.
- Reviews.
- Static.
Why the other options are wrong
- A. Running code is dynamic testing.
- B. Load testing executes the system.
- C. Beta testing executes the product.
Question 8Medium
What is risk-based testing?
- Prioritising tests by failure likelihood and impact
- Testing only the low-risk features
- Skipping testing for the risky parts
- Testing in a purely random order
Answer: A. Prioritising tests by failure likelihood and impact
Explanation
Higher risk areas get more and earlier tests, since time is limited.
Step-by-step solution
- Likelihood.
- Impact.
- Priority.
Why the other options are wrong
- B. Risky areas need more attention.
- C. Risky parts get the most.
- D. Priority is not random.
Question 9Medium
Which test is performed after fixing a defect to check that nothing else broke?
- Alpha testing
- Exploratory testing
- Regression testing
- Usability testing
Answer: C. Regression testing
Explanation
Regression testing re-runs earlier tests to catch unintended side effects of changes.
Step-by-step solution
- Change made.
- Check old features.
- Regression.
Why the other options are wrong
- A. Alpha is acceptance-level.
- B. Exploratory is unscripted.
- D. Usability studies ease of use.
Question 10Hard
In a CI/CD pipeline, where should fast unit tests and slow end-to-end tests ideally run?
- End-to-end tests on every single keystroke
- Only unit tests are written and no end-to-end test is ever run
- All tests only just before a quarterly release
- Unit tests per commit; end-to-end tests less often
Answer: D. Unit tests per commit; end-to-end tests less often
Explanation
Following the test pyramid, fast tests give immediate feedback and slower tests run in later pipeline stages.
Step-by-step solution
- Fast first.
- Slow later.
- Pyramid.
Why the other options are wrong
- A. Too slow to run constantly.
- B. End-to-end tests still add value.
- C. Feedback would arrive too late.
Practise all 11 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 →