QA Interview Hub · Knowledge base · Quizzes · Українська
16 ISTQB CTFL 4.0 questions that come up in QA interviews, with short answers. Open the topic in the knowledge base for a deeper explanation.
A person makes an error for some reason, such as time pressure or complexity. The error produces a defect (a bug, a flaw) in a work product, code or a document. When the defect is executed, a failure may happen: the system does something wrong. Some defects show only under special conditions or never. The root cause is the fundamental reason behind the problem; it is found by analysis and removed so that similar errors do not recur.
Testing exposes failures (dynamic) or defects (static) and evaluates quality. Debugging finds the cause of a failure, analyzes and removes the defect: reproduction, diagnosis, fixing. Afterwards confirmation testing checks that the fix worked and regression testing that it broke nothing. After static testing there is nothing to reproduce or diagnose.
Testing is a product-oriented, corrective approach and a major form of quality control. QA is a process-oriented, preventive approach: it improves the development and testing processes, and everyone on the project is responsible for it. Both use test results: testing to fix defects, QA to judge how the processes perform.
Shift left means testing earlier in the lifecycle (reviewing specifications, tests before code, CI with component tests, static analysis) without neglecting later testing. TDD: a test, then code that passes it, then refactoring. ATDD: tests are derived from acceptance criteria before the matching part is developed. BDD: behavior is described in plain language, usually Given/When/Then, and the scenarios automatically become executable tests.
Levels: component testing (in isolation, usually developers), component integration (interfaces and interactions between them), system (behavior of the whole system), system integration (interfaces with external systems and services), acceptance (validation and readiness for deployment, ideally by users). Levels are told apart by test object, objectives, basis, defects and approach. Types: functional (“what”), non-functional (“how well”), black-box (by specification), white-box (by structure). All four types apply at every level.
Confirmation testing checks that the original defect is fixed. Regression testing checks that a change had no adverse effects elsewhere; its extent is set by impact analysis and its suites are good to automate. Maintenance testing is testing changes to a running system: modifications and hot fixes, upgrades or migrations of the environment, retirement (archiving, data restore). Its scope depends on how risky the change is and how large the system and the change are.
Static testing does not execute code and finds defects directly (reviews, static analysis). Dynamic testing runs the test object, causes a failure, and the defect is determined by analysing it. The approaches complement each other: some defects, such as unreachable code or contradictions in requirements, are found only statically.
Informal: no defined process, aim is anomalies. Walkthrough: author-led, varied objectives (education, consensus, ideas). Technical: technically qualified reviewers led by a moderator, aim is consensus and decisions. Inspection: most formal, full process, metrics, maximum anomalies; the author is neither leader nor scribe.
Equivalence partitioning: coverage items are partitions, invalid ones included; coverage = covered partitions / all partitions (Each Choice for several sets: every partition of every set at least once). Boundary values (ordered partitions only): 2-value takes a boundary and its closest neighbor in the adjacent partition, 3-value a boundary and both neighbors; 3-value is stricter. Decision tables: items are the columns with feasible combinations of conditions; “-” means irrelevant, N/A infeasible. State transitions: all states, valid transitions (0-switch) and all transitions, including attempts at invalid ones, each tried in a separate test to avoid defect masking.
Statement coverage = executed statements / all executable statements; it only guarantees that every statement was executed. Branch coverage = executed branches (unconditional and conditional: if outcomes, switch cases, loop exits) / all branches. Branch coverage subsumes statement coverage: 100% of branches means 100% of statements, but not vice versa; for example an if without else can have all statements covered and the false branch untested. Neither criterion guarantees finding data-dependent or path-specific defects, and white-box testing in general does not see missing requirements.
Error guessing: the tester anticipates errors and failures from experience (a fault attack works from a list of possible errors). Exploratory testing: tests are designed, executed and evaluated at once; the session-based form has a time box, a charter with objectives and a debriefing; it fits weak specifications and little time. Checklist-based testing: items phrased as separately checkable questions; the list is updated from defect analysis and not allowed to bloat. Collaboration-based approaches also aim at defect avoidance: stories with the 3 C’s and INVEST, acceptance criteria (scenario-oriented, rule-oriented), ATDD with positive tests first and tests that stay within the story.
Ratios: standard proportions from the organization’s past projects (development to test 3:1 with 600 person-days of development gives 200 for testing). Extrapolation: data from the current project, for example the average of the last three iterations. Wideband Delphi: iterative expert estimates made in isolation, with discussion of deviations until consensus (Planning Poker is a variant). Three-point: optimistic a, most likely m, pessimistic b; E = (a + 4m + b) / 6, error SD = (b − a) / 6. The first two are metrics-based, the last two expert-based. An estimate always carries error; large tasks are decomposed into smaller ones.
A risk has likelihood (between 0 and 1) and impact; together they give the risk level, a product in the quantitative approach. Project risks concern managing the project (delays, people, suppliers, inaccurate estimates) and hit schedule, budget or scope. Product risks concern software quality (wrong calculations, slow response, vulnerabilities) and hit users, revenue, reputation. Risk analysis = identification + assessment; control = mitigation + monitoring. The analysis result drives scope, techniques, coverage and order of testing; the approach based on it is risk-based testing.
Pyramid: the higher the layer, the slower, less isolated and coarser the tests, so fewer are needed; many small fast tests at the bottom, a few end-to-end tests at the top. It guides automation and allocation of effort. Quadrants (Brian Marick) group levels and test types along two axes: business or technology facing, supporting the team or critiquing the product. Q1: component and integration tests; Q2: functional tests, API, examples; Q3: exploratory, usability, user acceptance testing; Q4: smoke and non-functional tests.
Test management; static testing (reviews, static analysis); test design and implementation (test cases, data, procedures); test execution and coverage; non-functional testing (load and the like); DevOps (pipeline, build, CI/CD); collaboration; scalability and deployment standardization (virtual machines, containers). Anything that helps in testing is a tool: even a spreadsheet.
Benefits: less repetitive manual work, fewer simple human errors, more objective measures, easier access to statistics, faster feedback and more time for new tests. Risks: inflated expectations, inaccurate effort estimates, a tool where manual work is better, over-reliance, dependence on a vendor or an abandoned open-source tool, incompatibility with the platform or regulatory requirements. Merely buying a tool does not guarantee success.