Free ISTQB Foundation Questions and Answers — Questions and Answers
Question 1: Which of the following instruments would be used in the regression test automation process?
- Comparator of output
- Capture/Playback (Correct answer)
- Data examiner
- Tester of boundaries
Correct answer: Capture/Playback
Capture/Playback tools are fundamental for regression test automation. They record user interactions with an application (capture) and then can automatically replay those interactions (playback) to verify that previously working functionalities still operate correctly after changes. This process is crucial for efficiently re-running tests to detect regressions without manual effort.
Question 2: This is not the proper form of logic coverage:
- Pole Coverage (Correct answer)
- Coverage of Statements
- Coverage of Path
- Coverage of Conditions
Correct answer: Pole Coverage
Logic coverage, a type of white-box testing, focuses on covering different aspects of a program's decision logic. Statement Coverage, Path Coverage, and Condition Coverage are all standard and recognized forms of logic coverage in software testing, aiming to ensure different parts of the code's logic are executed. 'Pole Coverage' is not a recognized or proper term within the standard classifications of logic coverage.
Question 3: Which of the following does not appear on the ISO 9126 Standard's list of quality characteristics?
- Functionality
- Maintainability
- Usable
- Supportability (Correct answer)
Correct answer: Supportability
The ISO 9126 standard (now superseded by ISO 25010) defines a set of quality characteristics for software products. Functionality, Maintainability, and Usability (Usable) are all primary characteristics listed in ISO 9126. 'Supportability,' while a desirable aspect of software, is typically considered a sub-characteristic of Maintainability or a broader operational concern, but not one of the six main quality characteristics at the top level of the ISO 9126 standard.
Question 4: Programmers must create a _________ that calls the process to be tested and passes its test data in order to test a function.
- None of the following
- A proxy
- Driver (Correct answer)
- Stub
Correct answer: Driver
In software testing, particularly during unit or integration testing, a 'driver' is a component created to call the module or function being tested and provide it with necessary test data. It acts as a temporary main program that simulates the environment in which the module will eventually operate, allowing the isolated testing of specific functions. A 'stub,' conversely, is used to simulate modules called by the module under test.
Question 5: Testing boundary values:
- Test the boundaries of the input and output equivalency classes above, below, and on. (Correct answer)
- The white box testing approach makes advantage of it.
- It is equivalent to tests of equivalency partitioning.
- Tests various input scenario combinations
Correct answer: Test the boundaries of the input and output equivalency classes above, below, and on.
Boundary value testing is a black-box testing technique that specifically focuses on testing the extreme ends or 'boundaries' of input and output ranges. It involves selecting test cases at, just above, and just below the valid boundary values of equivalence partitions, as these points are statistically more likely to reveal defects than values in the middle of a range. This approach is distinct from equivalence partitioning itself, though often used in conjunction with it.
Question 6: Select the most accurate meaning of quality:
- No flaws
- First and foremost, quality
- Function as intended
- Conformance to the specifications (Correct answer)
Correct answer: Conformance to the specifications
In software testing, quality is formally defined as the degree to which a system, component, or process meets its specified requirements. This means that a product is considered high quality if it consistently conforms to its documented design and functional specifications. While desirable outcomes like 'no flaws' are related, conformance to specifications provides a measurable and testable benchmark for quality.
Question 7: The definition of fault masking is:
- hiding a flaw from a tester
- one mistake condition concealing another (Correct answer)
- constructing a test scenario that conceals a bug
- concealing a flaw in a development
Correct answer: one mistake condition concealing another
Fault masking occurs when one defect in the software prevents the detection of another underlying defect. This means that a test designed to expose a specific flaw might fail to do so because a different, more prominent fault is triggered first, obscuring the intended target. Consequently, fixing the visible fault might reveal a previously hidden one, requiring further testing.
Question 8: One of the main causes of developers' challenges in testing their work is:
- Absence of objectivity (Correct answer)
- Insufficient instruction
- Absence of technical records
- Absence of developer test tools available in the market
Correct answer: Absence of objectivity
Developers often face challenges in effectively testing their own work primarily due to a lack of objectivity. Their intimate familiarity with the code's intended design and functionality can lead them to unconsciously overlook their own errors or make assumptions that an independent tester would question. An unbiased perspective is crucial for uncovering defects that the original developer might miss.
Question 9: When may the software development process begin to include testing?
- Once the software specifications are accepted (Correct answer)
- When unit testing is ready for the first code module
- After the design is finished
- After the code is finished
Correct answer: Once the software specifications are accepted
Testing should ideally begin as early as possible in the software development lifecycle, a principle known as 'Shift Left.' Once software specifications are accepted and finalized, test planning and test case design can commence, even before any code is written. This early engagement helps identify ambiguities, inconsistencies, or missing requirements, which are significantly cheaper to fix at this stage than later in the development process.
Question 10: A moderator in a review meeting is someone who:
- bridges interpersonal conflicts (Correct answer)
- captures meeting minutes
- creates the papers that need to be examined
- Answers phone calls
Correct answer: bridges interpersonal conflicts
In a formal review meeting, such as a peer review or inspection, the moderator's primary role is to facilitate the session and ensure it remains productive and focused. This includes managing time, guiding discussions, and crucially, mediating any interpersonal conflicts or disagreements that may arise among participants. Their goal is to maintain a constructive environment for effective defect detection.
Question 11: What forms the basis of acceptance test cases?
- Table of decisions
- Create
- Requirements (Correct answer)
- Code
Correct answer: Requirements
Acceptance test cases are designed to verify that the system meets the business needs and user expectations, ensuring it is fit for purpose. Therefore, these tests are directly derived from the user requirements or business requirements specification. They confirm that the software delivers the functionality originally requested by stakeholders and is acceptable for deployment.
Which of the following instruments would be used in the regression test automation process?