QA Fundamentals Junior cheat sheet: interview answers

Every question of this level with its correct answer and explanation, on one page for a quick review before the interview.

  1. 1. What is the main purpose of software testing?

    Correct answer: To find defects and give information about quality and risk

    Testing reduces risk by finding problems and showing how the product behaves, so people can decide whether to release. It can show that defects exist, but it can never prove that there are none.

  2. 2. How do QA, QC and testing relate to each other?

    Correct answer: QA improves the process, QC checks the product, testing is part of QC

    Quality assurance is about preventing defects through good processes (reviews, standards, definitions of done). Quality control checks the product itself, and testing is the main QC activity.

  3. 3. What is the difference between an error, a defect and a failure?

    Correct answer: A person makes an error, it causes a defect in code, which can cause a failure

    A developer's mistake (error) leaves a defect (bug, fault) in the code or documentation. When that code runs under certain conditions, the system behaves wrongly: that is a failure. Not every defect leads to a failure.

  4. 4. Which statement matches the testing principle 'exhaustive testing is impossible'?

    Correct answer: You can't test every input and path, so you prioritize by risk

    Even a simple form with a few fields has more input combinations than anyone could run. Instead, testers use techniques and risk analysis to choose the tests that matter most.

  5. 5. What does the principle 'defects cluster together' mean?

    Correct answer: A few modules usually contain most of the defects

    Experience shows that complex or frequently changed areas hide most bugs, a bit like the Pareto principle. Testers use this to focus effort on risky modules.

  6. 6. What is the 'pesticide paradox' in testing?

    Correct answer: Running the same tests repeatedly stops finding new defects

    Tests that always pass keep the old bugs out but no longer discover new ones. Teams review and update tests, add new data and use exploratory testing to keep finding problems.

  7. 7. What does 'absence-of-errors fallacy' warn about?

    Correct answer: A bug-free product can still fail if it doesn't meet user needs

    Finding and fixing many defects does not guarantee success. If the system solves the wrong problem or is hard to use, it can be technically correct and still useless.

  8. 8. Why is early testing ('shift left') valuable?

    Correct answer: Defects found early in requirements are cheaper to fix

    A mistake caught while reviewing a requirement costs a conversation. The same mistake found after release can mean a hotfix, data repair and unhappy users.

  9. 9. What is verification?

    Correct answer: Checking that the product is built right, per its specification

    Verification asks 'are we building the product right?', for example by comparing behaviour with the requirements. Validation asks 'are we building the right product?' for the users.

  10. 10. What is validation?

    Correct answer: Checking that the product meets users' real needs

    Validation confirms the product is fit for its purpose in real use, often with users or stakeholders, for example in acceptance testing or usability sessions.

  11. 11. Which list shows the four classic test levels from smallest to largest?

    Correct answer: Component, integration, system, acceptance

    Component (unit) tests check single parts, integration tests check how they work together, system tests check the whole product, and acceptance tests check that it meets business and user needs.

  12. 12. What does a unit (component) test check?

    Correct answer: A small piece of code, such as a function, in isolation

    Unit tests are fast and pinpoint failures. Dependencies are often replaced with test doubles so that only the unit itself is checked.

  13. 13. What does integration testing focus on?

    Correct answer: Interfaces and interactions between components or systems

    Integration testing finds problems in how parts talk to each other: wrong data formats, missing fields, timeouts or mismatched expectations between a frontend and an API.

  14. 14. What is system testing?

    Correct answer: Testing the complete, integrated product against its requirements

    System testing looks at end-to-end behaviour of the whole product, both functional and non-functional, usually in an environment close to production.

  15. 15. What is user acceptance testing (UAT)?

    Correct answer: Users or business people confirm the product meets their needs

    UAT is usually the last check before release: real users or the customer try real scenarios and decide whether the product is acceptable for their work.

  16. 16. What is the difference between alpha and beta testing?

    Correct answer: Alpha is done in-house; beta by real users in their environment

    Alpha testing happens at the developer's site with internal staff or invited users. Beta testing gives the product to a wider group of real users before the general release.

  17. 17. What is functional testing?

    Correct answer: Testing what the system does against its functional requirements

    Functional testing checks features: can a user log in, does the cart calculate the total, is an error shown for an invalid email. It answers 'what' rather than 'how well'.

  18. 18. Which of these is non-functional testing?

    Correct answer: Performance, usability, security and compatibility testing

    Non-functional testing checks quality characteristics: how fast, how secure, how easy to use, how reliable. These often matter as much as the features themselves.

  19. 19. What is black-box testing?

    Correct answer: Testing based on requirements, without looking at the code

    Black-box testers treat the system as a box with inputs and outputs. Techniques like equivalence partitioning and boundary values are black-box techniques.

  20. 20. What is white-box testing?

    Correct answer: Testing based on the internal structure of the code

    White-box (structural) testing uses knowledge of the code to design tests, for example to make sure every branch is executed at least once.

  21. 21. What is grey-box testing?

    Correct answer: Black-box tests informed by partial knowledge of internals

    A grey-box tester might know the database schema or API structure and use it to design better black-box tests, for example checking records after an action in the UI.

  22. 22. What is a test case?

    Correct answer: Preconditions, steps, input data and the expected result

    A good test case is clear enough that another person can run it and get the same verdict. It links to the requirement it checks.

  23. 23. How does a checklist differ from a detailed test case?

    Correct answer: It lists what to check, without step-by-step steps

    Checklists are short and flexible and suit experienced testers or fast-changing products. Detailed test cases are better when steps must be repeatable or audited.

  24. 24. What is a test suite?

    Correct answer: A set of test cases grouped for a purpose

    Suites group tests, for example a smoke suite, a regression suite or a suite for one feature, so they can be run and reported together.

  25. 25. What is a test plan?

    Correct answer: A document describing scope, approach, resources and schedule

    A test plan answers what will be tested and what won't, how, by whom, with which environments and tools, and what the entry and exit criteria are.

  26. 26. What are exit criteria?

    Correct answer: Conditions that must be met to consider testing done

    Typical exit criteria: all planned tests run, no open critical defects, coverage targets met. They make 'are we done?' an objective decision.

  27. 27. What are entry criteria?

    Correct answer: Conditions that must be met before testing can start

    Examples: the build is deployed to the test environment, smoke tests pass, test data is ready. Starting without them wastes time on blocked tests.

  28. 28. Which fields does a good bug report contain?

    Correct answer: Title, steps to reproduce, expected vs actual result, environment

    A developer should be able to reproduce the bug from the report alone. Logs, screenshots, videos, build version and severity make it even more useful.

  29. 29. What makes a good bug report title?

    Correct answer: It summarizes what goes wrong, where and under which condition

    'Checkout: total ignores discount when cart has 2+ items' is searchable and clear. 'Checkout broken!!!' says nothing useful.

  30. 30. What is the difference between severity and priority?

    Correct answer: Severity is the impact; priority is how soon it should be fixed

    A typo in the company name on the home page has low severity but high priority. A crash in a rarely used admin report may be high severity but lower priority.

  31. 31. A crash happens in a feature used by one admin once a year. What is a fair assessment?

    Correct answer: High severity, but possibly low priority

    Severity reflects technical impact (a crash is serious). Priority depends on business context: how many users, how often, and whether there is a workaround.

  32. 32. Which is a typical bug life cycle?

    Correct answer: New → Assigned → Fixed → Retest → Closed or Reopened

    Statuses differ between tools and teams, but the idea is the same: a bug is reported, triaged, fixed, verified by testing and closed, or reopened if the fix doesn't work.

  33. 33. What is retesting (confirmation testing)?

    Correct answer: Running the failed test again to check that a fix works

    Retesting confirms one specific defect is fixed. Regression testing is broader: it checks that the change didn't break anything else.

  34. 34. What is regression testing?

    Correct answer: Re-checking existing features after changes to find new breakage

    Any change can break something that used to work. Regression suites are run often and are the best candidates for automation.

  35. 35. What is smoke testing?

    Correct answer: A quick check that the build's main functions work at all

    A smoke test answers 'is this build stable enough to test further?'. If login or the home page fails, there's no point running hundreds of other tests.

  36. 36. What is sanity testing usually understood as?

    Correct answer: A narrow check of a fixed bug or changed area

    Terms vary between teams, but sanity testing is commonly a quick, focused check that a specific change works, while smoke testing is a broad shallow check of the whole build.

  37. 37. What is exploratory testing?

    Correct answer: Simultaneous learning, test design and execution

    Exploratory testers use their knowledge and what they learn as they go to decide what to try next. It is structured (charters, time boxes, notes), not random.

  38. 38. What is ad hoc testing?

    Correct answer: Informal testing without planning or documentation

    Ad hoc testing can find bugs fast, but it's hard to repeat or measure. Exploratory testing adds structure: a goal, a time box and notes.

  39. 39. What is a positive test?

    Correct answer: A test with valid input that checks the expected behaviour

    Positive tests check the happy path. Negative tests check that invalid input is handled gracefully, with clear errors and no crashes.

  40. 40. Which is an example of a negative test for an age field (18 to 99)?

    Correct answer: Entering abc and checking for a clear validation error

    Negative tests use invalid data: letters, empty value, negative numbers, values outside the range. The system should reject them clearly without crashing or saving bad data.

  41. 41. What is equivalence partitioning?

    Correct answer: Dividing inputs into groups the system should treat the same way

    If ages 18 to 99 are valid, then 30 and 50 behave the same, so one value from each partition (below, inside, above) is enough instead of testing every number.

  42. 42. A field accepts 18 to 99. Which values does boundary value analysis focus on?

    Correct answer: 17, 18, 99, 100

    Bugs often hide at edges, for example > written instead of >=. Two-value boundary analysis tests each boundary and its nearest invalid neighbour.

  43. 43. Why are boundary values a good place to look for bugs?

    Correct answer: Off-by-one mistakes in comparisons are very common

    Writing < instead of <= or counting from 1 instead of 0 is easy. Tests at and just around the edges catch these mistakes cheaply.

  44. 44. What is a test environment?

    Correct answer: Hardware, software and data set up to run tests

    Environments (dev, test, staging) should be as close to production as practical. Many 'can't reproduce' bugs come from differences between environments.

  45. 45. Why should test data be prepared deliberately?

    Correct answer: Tests need known data to give repeatable, meaningful results

    Tests that depend on whatever is in the database become flaky. Prepared data covers edge cases (empty, long, special characters) and avoids leaking real personal data.

  46. 46. What is static testing?

    Correct answer: Examining code or requirements without running them

    Reviews, walkthroughs and static analysis tools find defects such as unclear requirements or unused variables before any code is executed.

  47. 47. What is dynamic testing?

    Correct answer: Testing by executing the software

    Most testing people think of is dynamic: run the code and compare actual results with expected ones. Static testing complements it by finding problems earlier.

  48. 48. Why do testers review requirements?

    Correct answer: Unclear or contradictory requirements cause defects later

    Asking 'how would I test this?' exposes vague words like 'fast' or 'user-friendly' and missing cases, which is the cheapest moment to fix them.

  49. 49. What does a requirements traceability matrix show?

    Correct answer: Which tests cover which requirements

    Traceability shows coverage gaps (requirements with no tests) and impact (which tests to rerun when a requirement changes).

  50. 50. What does the test pyramid suggest?

    Correct answer: Many fast unit tests, fewer integration tests, few UI end-to-end tests

    Lower-level tests are fast, stable and cheap. UI end-to-end tests are valuable but slow and fragile, so they cover only key user journeys.

  51. 51. Which tests are the best first candidates for automation?

    Correct answer: Stable, repetitive tests run often, like regression and smoke

    Automation pays off when a test is run many times. Exploratory and usability testing still need humans.

  52. 52. What is a flaky test?

    Correct answer: A test that passes and fails without any code change

    Flaky tests usually come from timing issues, shared state or unstable environments. They erode trust: people start ignoring real failures.

  53. 53. Which HTTP status code class means a client error?

    Correct answer: 4xx, for example 400 or 404

    4xx means the request was wrong (bad data, not found, no access), and 5xx means the server failed. Knowing which helps decide who should fix the problem.

  54. 54. An API returns 500 when you send an empty name. What does that suggest?

    Correct answer: The server didn't validate input and crashed instead of a 400

    Invalid input should get a 4xx response with a clear message. A 500 means an unhandled error on the server: a bug worth reporting.

  55. 55. What can the browser DevTools Network tab help a tester find?

    Correct answer: Failed requests, status codes, payloads and timings

    Attaching the failed request and response to a bug report often points developers straight to the cause: wrong data from the frontend or an error on the backend.

  56. 56. What is the client-server model?

    Correct answer: A client sends requests and a server processes them and responds

    Browsers and mobile apps are clients; they call servers over HTTP. Understanding this helps a tester tell whether a bug is in the UI or in the API.

  57. 57. Why do testers use tools like Postman?

    Correct answer: To send API requests and check responses without a UI

    API testing finds problems earlier and faster than UI testing, and works even before the UI exists. Postman also supports scripts and collections for repeatable checks.

  58. 58. What does usability testing evaluate?

    Correct answer: How easily real users can achieve their goals

    Testers watch users try tasks and note where they get confused. Even five users can reveal most serious usability problems.

  59. 59. What is compatibility testing?

    Correct answer: Checking the product across browsers, devices and OS versions

    A page can work in Chrome and break in Safari, or look fine on desktop and overflow on a small phone. Teams pick a support matrix based on real usage data.

  60. 60. What is localization testing?

    Correct answer: Checking translations, formats and layout for a target locale

    Testers check translations, dates, numbers, currencies, longer German words breaking layouts, and right-to-left languages such as Arabic.

  61. 61. Why is a 'works on my machine' reply not the end of a bug?

    Correct answer: Environment differences can cause the bug; they need investigating

    Different browsers, data, configuration or versions often explain the difference. Good reports include environment details so the cause can be found.

  62. 62. What should a tester do when a bug can't be reproduced reliably?

    Correct answer: Report it with all known details and how often it happens

    Intermittent bugs are often real (race conditions, timing). Logs, timestamps, frequency ('3 of 10 tries') and environment help developers track them down.

  63. 63. What is a test oracle?

    Correct answer: A source that tells you the expected result of a test

    Oracles can be requirements, a previous version, a calculation done by hand, or common sense. Without an oracle you can't tell a pass from a fail.

  64. 64. What does the V-model show?

    Correct answer: Each development phase has a matching test level

    Requirements map to acceptance testing, system design to system testing, architecture to integration testing and code to unit testing. Test planning starts early on each side.

  65. 65. How is testing organized in Agile teams?

    Correct answer: Continuously within each iteration, with testers in the team

    In Agile, testing happens alongside development. Testers work with developers and product owners on acceptance criteria and test every increment.

  66. 66. What are acceptance criteria in a user story?

    Correct answer: Conditions the story must meet to be accepted as done

    Clear acceptance criteria give testers ready-made test conditions and remove guesswork about what 'done' means.

  67. 67. What is the Definition of Done?

    Correct answer: A shared checklist every increment must meet, like review and tests

    It typically includes code review, tests written and passing, documentation updated. It stops 'done' from meaning different things to different people.

  68. 68. Which is an example of a security check a tester can do?

    Correct answer: Changing an ID in a URL to see someone else's data

    Accessing another user's order by editing /orders/123 to /orders/124 is a classic broken access control bug. Testers should check that the server refuses it.

  69. 69. What is performance testing?

    Correct answer: Checking speed, stability and resource use under load

    Performance testing includes load, stress, spike and endurance tests. It shows whether the system meets response time goals and where it breaks.

  70. 70. What is the difference between load and stress testing?

    Correct answer: Load tests expected traffic; stress tests beyond limits

    A load test checks the system under expected peak traffic. A stress test pushes past it to find the breaking point and see how the system fails and recovers.

  71. 71. What should a tester check about cookies when testing login?

    Correct answer: That the session cookie is set, then invalid after logout

    After logout the old session should not work. Testers also check flags like HttpOnly and Secure on session cookies.

  72. 72. What is crowd testing or beta feedback useful for?

    Correct answer: Real devices, networks and usage patterns you don't have

    A wide audience finds issues tied to rare devices, languages or habits. It complements, not replaces, the team's own testing.

  73. 73. Why should a tester think about edge cases like empty lists or very long text?

    Correct answer: Developers often handle the typical case and miss the extremes

    An empty cart, a 200-character name or a list with one item often breaks layouts or logic that worked for typical data.

  74. 74. What is the main value of a tester asking 'what could go wrong?' early?

    Correct answer: It reveals risks so the team can prevent or test for them

    Thinking about risks while a feature is designed (missing network, duplicate clicks, wrong permissions) is the cheapest way to avoid bugs.

  75. 75. Who is responsible for quality in a modern team?

    Correct answer: The whole team, with testers bringing testing expertise

    Developers write tests and review code, product owners define clear criteria, and testers lead on risk, test design and exploration. Quality isn't added at the end.