




















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















































































Question 1. Which principle states that testing cannot show the absence of defects, only their presence? A) Early testing principle B) Pesticide paradox C) Defect clustering principle D) Absence‑of‑errors fallacy Answer: D Explanation: The absence‑of‑errors fallacy incorrectly assumes that if no defects are found, the software is error‑free; testing can only reveal existing defects. Question 2. In which development model are test activities planned in parallel with design activities, and each phase is completed before the next begins? A) V‑Model B) Agile Scrum C) Iterative‑Incremental model D) Spiral model Answer: A Explanation: The V‑Model maps each development phase to a corresponding testing phase, emphasizing parallel planning and execution. Question 3. Which test level focuses on verifying the interaction between two or more integrated components? A) Unit testing B) System testing C) Integration testing D) Acceptance testing
Answer: C Explanation: Integration testing validates the interfaces and data flow between combined modules. Question 4. Which of the following is a non‑functional test type? A) Decision table testing B) Boundary value analysis C) Performance testing D) Use‑case testing Answer: C Explanation: Performance testing evaluates quality attributes such as speed and scalability, not functional behavior. Question 5. What is the primary purpose of a static analysis tool? A) Execute test cases automatically B) Identify code defects without running the program C) Measure system response times D) Validate user requirements against specifications Answer: B Explanation: Static analysis examines source code or documents to find defects without execution. Question 6. Which role in a formal inspection is responsible for recording defects and decisions? A) Moderator B) Author C) Scribe
B) Repeating the same tests will eventually miss new defects C) Defects tend to cluster in certain modules D) Testing must be performed at every development stage Answer: B Explanation: Overusing the same test cases makes them ineffective; test suites must be refreshed to uncover new defects. Question 10. Which metric is most suitable for measuring the effectiveness of defect detection? A) Test case execution time B) Defect density C) Requirement volatility D) Code coverage percentage Answer: B Explanation: Defect density (defects per size unit) reflects how many defects were found relative to the product size. Question 11. In Agile Scrum, which artifact contains the acceptance criteria for a user story? A) Product backlog B) Sprint backlog C) Definition of Done D) Burndown chart Answer: C Explanation: The Definition of Done (or acceptance criteria) specifies the conditions a story must meet to be considered complete.
Question 12. Which of the following best describes “error guessing”? A) Using statistical methods to predict defect locations B) Applying experience to anticipate likely defects C) Randomly selecting test cases D) Deriving test cases from formal specifications Answer: B Explanation: Error guessing leverages tester intuition and past experience to anticipate where bugs may exist. Question 13. What is the main objective of test closure activities? A) Execute remaining test cases B) Document lessons learned and archive testware C) Identify new defects in production D) Perform regression testing on the final build Answer: B Explanation: Test closure involves finalizing documentation, evaluating test completion, and preserving test assets for future use. Question 14. Which of the following is NOT a characteristic of a good defect report? A) Clear summary B) Steps to reproduce C) Subjective severity assessment without evidence D) Expected vs. actual results Answer: C
D) Condition coverage Answer: C Explanation: Decision (or branch) coverage ensures each decision outcome (true/false) is exercised. Question 18. What is the primary benefit of using a test management tool? A) Automatic generation of source code B) Centralized tracking of test cases, execution, and defects C) Real‑time performance monitoring of production systems D) Eliminating the need for manual testing Answer: B Explanation: Test management tools provide a single repository for planning, executing, and reporting on testing activities. Question 19. Which risk type concerns the likelihood of a delayed delivery due to insufficient test resources? A) Product risk B) Project risk C) Operational risk D) Technical risk Answer: B Explanation: Project risks relate to schedule, resources, and management issues that can affect delivery. Question 20. Which of the following statements best describes “regression testing”? A) Testing new functionality only
B) Re‑executing previously passed tests to ensure unchanged behavior C) Testing performance under load D) Validating user acceptance criteria Answer: B Explanation: Regression testing checks that recent changes have not adversely impacted existing functionality. Question 21. In the context of test planning, what does “scope” define? A) The number of testers assigned to a project B) The set of features and activities to be tested C) The timeline for each test case execution D) The budget allocated for test tools Answer: B Explanation: Scope outlines which functionalities, interfaces, and types of testing will be included in the test effort. Question 22. Which of the following is an example of a functional test case? A) Verify that the login page loads within 2 seconds B) Check that the system encrypts passwords using SHA‑ 256 C) Confirm that a user can successfully submit a purchase order D) Measure memory usage while processing a large file Answer: C Explanation: Functional testing validates that the system performs a specific business function—in this case, order submission.
Explanation: Testability reflects how readily a product can be tested, including defect isolation and reproducibility. Question 26. In a formal inspection, who is responsible for ensuring that the inspection process follows the defined standards? A) Author B) Moderator C) Reviewer D) Scribe Answer: B Explanation: The moderator (or chair) facilitates the meeting, enforces procedures, and ensures compliance with inspection standards. Question 27. Which of the following is a characteristic of “early testing”? A) Testing is performed after system integration B) Test design begins after coding is complete C) Defects are identified when they are cheaper to fix D) Test execution is delayed until release candidate builds are available Answer: C Explanation: Early testing aims to detect defects soon after they are introduced, reducing correction costs. Question 28. What is the main purpose of a “test harness” in automated testing? A) Store test data for manual execution B) Provide a framework to execute test scripts and collect results
C) Generate requirements documents automatically D) Replace the need for a test environment Answer: B Explanation: A test harness supplies the infrastructure (drivers, stubs, logging) needed to run automated tests. Question 29. Which of the following best describes “alpha testing”? A) Conducted by end users in a production environment B) Performed by the development team before release to customers C) Executed after beta testing to verify final defects D) A form of performance testing under peak load Answer: B Explanation: Alpha testing is an internal acceptance test performed by the developer’s team prior to external release. Question 30. Which test design technique focuses on creating test cases from the system’s use‑case specifications? A) Decision table testing B) Use‑case testing C) Boundary value analysis D) Statement testing Answer: B Explanation: Use‑case testing derives test scenarios directly from documented use cases, ensuring coverage of functional flows.
Explanation: Risk‑based testing ranks tests by the probability of failure and the severity of its effect on the business. Question 34. Which of the following is a typical output of a static code review? A) Performance benchmark results B) List of coding standard violations C) Automated test scripts D) User acceptance test plan Answer: B Explanation: Static code reviews identify violations of coding standards, potential bugs, and maintainability issues without execution. Question 35. Which coverage metric is the most stringent, requiring execution of all possible paths through a program? A) Statement coverage B) Branch coverage C) Condition coverage D) Path coverage Answer: D Explanation: Path coverage demands that every possible execution path be traversed, making it the most exhaustive metric. Question 36. What is the primary difference between “verification” and “validation”? A) Verification checks if the product meets user needs; validation checks if it meets specifications B) Verification is performed after release; validation is performed before coding
C) Verification ensures the product is built correctly; validation ensures the right product is built D) Verification is a type of performance testing; validation is a type of security testing Answer: C Explanation: Verification confirms that the system complies with specifications, while validation confirms that it fulfills intended use. Question 37. Which of the following best describes a “test oracle”? A) A tool that automatically generates test cases B) A mechanism for determining expected test outcomes C) A database of known defects D) A reporting format for test results Answer: B Explanation: A test oracle provides the expected result for a given test input, enabling pass/fail determination. Question 38. In a Scrum sprint, when should regression testing be performed? A) Only at the end of the project B) Continuously throughout the sprint as new code is integrated C) After the sprint review meeting D) During the sprint planning session Answer: B Explanation: Continuous regression testing ensures that new increments do not break existing functionality during the sprint. Question 39. Which of the following is an example of a “change‑related” test type?
Question 42. In the context of test metrics, what does “defect leakage” measure? A) Number of defects found in production relative to those found in testing B) Percentage of test cases that failed C) Time taken to fix a defect D) Ratio of high‑severity defects to low‑severity defects Answer: A Explanation: Defect leakage quantifies defects that escape the test phase and appear in the released product. Question 43. Which review type typically involves the author presenting the material to a group without a formal defect recording process? A) Inspection B) Walkthrough C) Technical review D) Formal review Answer: B Explanation: Walkthroughs are informal presentations where the author leads participants through the work, focusing on understanding rather than defect logging. Question 44. Which of the following best defines “test case prioritization”? A) Ordering test cases based on alphabetical order B) Executing test cases that are easiest to automate first C) Running test cases that have the highest risk or business impact before others D) Selecting test cases randomly to avoid bias
Answer: C Explanation: Prioritization aims to execute the most critical tests early, maximizing risk mitigation. Question 45. What is the main purpose of a “test environment”? A) Store test documentation B) Provide a controlled setting that mimics production for executing tests C) Generate test data automatically D) Replace the need for manual testing Answer: B Explanation: A test environment replicates hardware, software, and network configurations to ensure reliable test execution. Question 46. Which of the following statements about “exploratory testing” is true? A) It follows a pre‑written test script strictly B) Test design and execution occur simultaneously, relying on tester creativity C. It requires automated tools for all test steps D) It is only applicable to non‑functional testing Answer: B Explanation: Exploratory testing is an unscripted approach where testers design and run tests on the fly, using their expertise. Question 47. In a decision table, what does a “rule” represent? A) A single condition B) A column that specifies a particular combination of conditions and actions
A) Selecting test inputs from the middle of equivalence classes B) Testing at the edges of input domains where errors are most likely C) Creating test cases based on decision tables D. Using random data to discover defects Answer: B Explanation: Boundary value analysis focuses on values at, just below, and just above the limits of input ranges. Question 51. Which type of testing would be most appropriate to verify that a web application complies with GDPR data‑privacy requirements? A) Performance testing B) Security testing C) Usability testing D) Compatibility testing Answer: B Explanation: Security testing evaluates confidentiality, integrity, and compliance with privacy regulations like GDPR. Question 52. In the test process, which activity follows “test implementation and execution”? A) Test planning and control B) Test closure activities C) Test evaluation (exit criteria) and reporting D) Test analysis and design Answer: C Explanation: After executing tests, results are evaluated against exit criteria, and reports are generated.
Question 53. Which of the following is a primary benefit of using a test automation framework? A) Eliminates the need for manual testing entirely B) Provides reusable components and standard conventions for building automated tests C) Guarantees 100% defect detection D) Reduces the need for test data Answer: B Explanation: Frameworks promote reusability, consistency, and maintainability of automated test scripts. Question 54. Which of the following best illustrates “defect clustering” in a real project? A) Defects are equally distributed across all modules B) 70% of defects are found in 20% of the modules C) Every module contains exactly one defect D) Defects appear only after system deployment Answer: B Explanation: Defect clustering indicates a disproportionate concentration of defects in a few high‑risk components. Question 55. What does “test harness” typically include? A) A set of test data files only B) Test drivers, stubs, and a test execution engine C) Production code and database schemas D) User manuals and help files