Docsity

Software Tester Accredited Certification Program ASTC Practice Exam, Exams of Technology

Toggle sidebar
bg1
Software Tester Accredited Certification Program
ASTC Practice Exam
**Question 1.** Which of the following is a fundamental principle of software
testing that states it is impossible to test all possible inputs and execution paths?
A) Early testing saves time and money
B) Exhaustive testing is impossible
C) Defect clustering
D) Pesticide paradox
Answer: B
Explanation: The principle “Exhaustive testing is impossible” acknowledges that
due to the infinite number of input combinations and execution paths, testing
must be selective and risk‑based.
**Question 2.** In the context of testing goals, which activity primarily focuses on
preventing defects rather than finding them after they are introduced?
A) Debugging
B) Regression testing
C) Defect prevention
D) Confirmation testing
Answer: C
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Software Tester Accredited Certification Program ASTC Practice Exam and more Exams Technology in PDF only on Docsity!

ASTC Practice Exam

Question 1. Which of the following is a fundamental principle of software testing that states it is impossible to test all possible inputs and execution paths? A) Early testing saves time and money B) Exhaustive testing is impossible C) Defect clustering D) Pesticide paradox Answer: B Explanation: The principle “Exhaustive testing is impossible” acknowledges that due to the infinite number of input combinations and execution paths, testing must be selective and risk‑based. Question 2. In the context of testing goals, which activity primarily focuses on preventing defects rather than finding them after they are introduced? A) Debugging B) Regression testing C) Defect prevention D) Confirmation testing Answer: C

ASTC Practice Exam

Explanation: Defect prevention aims to avoid the introduction of defects through activities such as reviews, standards, and process improvements, unlike debugging which fixes found defects. Question 3. How does testing contribute to overall product quality? A) By guaranteeing zero defects in the final product B) By providing a measure of risk reduction and confidence in the software C) By eliminating the need for documentation D) By ensuring the product meets all market trends Answer: B Explanation: Testing reduces risk and provides confidence that the software meets its requirements, thereby improving perceived quality, though it cannot guarantee zero defects. Question 4. Which of the following correctly describes the relationship among error, fault, and failure? A) An error causes a fault, which leads to a failure when executed B) A fault causes an error, which leads to a failure when executed C) A failure causes an error, which leads to a fault when executed D) An error, fault, and failure are synonymous

ASTC Practice Exam

Answer: B Explanation: Integration testing validates the interaction between integrated components, ensuring correct data flow and interface behavior. Question 7. In a V‑model, which testing activity corresponds directly to the design phase? A) Unit testing B) Integration testing C) System testing D) Acceptance testing Answer: B Explanation: The V‑model pairs each development phase with a testing phase; the design phase is matched with integration testing. Question 8. Which of the following is NOT a typical objective of component (unit) testing? A) Verify individual functions work as specified B) Detect interface defects between modules C) Isolate defects to a specific code unit D) Ensure compliance with coding standards

ASTC Practice Exam

Answer: B Explanation: Detecting interface defects is the focus of integration testing, not component testing which isolates a single unit. Question 9. Which integration testing approach starts testing from the highest level modules and proceeds downwards? A) Bottom‑up B) Top‑down C) Big‑bang D) Sandwich Answer: B Explanation: Top‑down integration testing begins with the top-level modules and gradually integrates lower-level components. Question 10. In acceptance testing, which type is performed by the end‑users to verify that the system meets business needs? A) System testing B) Operational Acceptance Testing (OAT) C) User Acceptance Testing (UAT) D) Regression testing

ASTC Practice Exam

Answer: A Explanation: Stress testing pushes the system beyond its normal operational capacity to observe behavior under extreme load. Question 13. Confirmation testing is performed primarily to: A) Verify that a previously reported defect has been fixed B) Ensure new features do not break existing functionality C) Validate performance under peak load D) Check usability of the user interface Answer: A Explanation: Confirmation testing (also called retesting) confirms that a specific defect fix works as intended. Question 14. Which of the following is the main purpose of regression testing? A) To test new functionality only B) To verify that recent code changes have not introduced new defects C) To assess system performance under load D) To validate security compliance

ASTC Practice Exam

Answer: B Explanation: Regression testing ensures that modifications have not adversely affected existing, previously working features. Question 15. The primary objective of static testing is to: A) Execute the code and observe runtime behavior B) Detect defects early without running the software C) Measure system performance under load D) Validate user interface design Answer: B Explanation: Static testing examines work products (e.g., requirements, code) without execution to find defects early. Question 16. Which work product is least likely to benefit from static analysis tools? A) Source code B) Design diagrams C) Requirements specification D) Test execution logs

ASTC Practice Exam

Answer: B Explanation: The moderator (or facilitator) leads the inspection, schedules it, and ensures adherence to the process. Question 19. Which factor most significantly impacts the effectiveness of a peer review? A) The programming language used B) The number of reviewers present C) The reviewers’ expertise and training D) The size of the codebase Answer: C Explanation: Skilled and well‑trained reviewers are critical to identifying defects effectively during peer reviews. Question 20. Equivalence partitioning helps reduce the number of test cases by: A) Testing every possible input value B) Grouping inputs that are expected to behave similarly C) Focusing only on boundary values D) Randomly selecting test data

ASTC Practice Exam

Answer: B Explanation: By dividing inputs into equivalence classes, one test case per class can represent all members, reducing test count. Question 21. Which of the following is an example of a boundary value for the input range 1‑100? A) 0 B) 50 C) 101 D) 100 Answer: D Explanation: Boundary values are the edges of an equivalence class; 100 is the upper boundary of the valid range. Question 22. Decision table testing is especially useful when: A) The system has simple linear flow B) There are many combinations of input conditions affecting outcomes C) Only performance criteria need to be validated D) The user interface is graphical

ASTC Practice Exam

Answer: C Explanation: Statement coverage ensures each line of code (statement) runs at least once during testing. Question 25. Achieving 100% decision (branch) coverage guarantees that: A) All possible paths are exercised B) Every condition within a decision has been evaluated to both true and false C) All statements have been executed at least once D) No defects remain in the code Answer: B Explanation: Decision (branch) coverage requires that each branch of a decision statement (if‑else) is taken at least once, covering true and false outcomes. Question 26. Condition coverage (basic) differs from decision coverage in that it focuses on: A) Executing each statement at least once B) Evaluating each Boolean sub‑expression to both true and false, regardless of overall decision outcome C) Testing all possible execution paths D) Verifying performance metrics

ASTC Practice Exam

Answer: B Explanation: Condition coverage requires each atomic Boolean condition within a decision to be true and false, independent of the overall decision outcome. Question 27. Error guessing is most effective when the tester: A) Has no prior experience with the application domain B) Relies solely on formal test design techniques C) Uses knowledge of common programming mistakes and past defects D) Executes only automated scripts Answer: C Explanation: Error guessing leverages the tester’s experience and knowledge of typical fault patterns to anticipate likely defects. Question 28. Exploratory testing is characterized by: A) Strict adherence to pre‑written test scripts B) Simultaneous learning, test design, and execution without detailed upfront test cases C) Only testing non‑functional requirements D) Using only static analysis tools

ASTC Practice Exam

Answer: B Explanation: Risk‑based testing prioritizes test effort on areas with highest risk to the business or system. Question 31. The Wideband Delphi estimation technique primarily relies on: A) Historical defect counts B. 3‑point PERT formula C. Consensus among a group of experts after multiple rounds of anonymous estimates D. Automated effort calculators Answer: C Explanation: Wideband Delphi gathers estimates from experts, shares them anonymously, and iterates until consensus is reached. Question 32. In the PERT three‑point estimation formula (O + 4M + P)/6, what does “M” represent? A) Most likely effort B) Minimum effort C) Maximum effort D) Median effort

ASTC Practice Exam

Answer: A Explanation: “M” stands for the most likely estimate, weighted four times in the PERT calculation to reflect its higher probability. Question 33. Product risk is primarily concerned with: A) The stability of the test environment B) Potential failures that affect user satisfaction, security, or regulatory compliance C) The cost of test tools D) The number of test cases written Answer: B Explanation: Product risk evaluates the impact of possible product failures on business, security, performance, or compliance. Question 34. When prioritizing test cases, which criterion is most aligned with risk‑based testing? A) Test case execution time B) Number of steps in the test case C) The criticality of the functionality covered by the test case D) The alphabetical order of test case IDs

ASTC Practice Exam

Answer: B Explanation: Setting up a test environment involves preparing the physical and logical resources needed to execute tests. Question 37. Test data management must ensure that data used during testing is: A. Randomly generated without regard to privacy laws B. Realistic, relevant, and compliant with data protection regulations C. Only created by the developers themselves D. Stored permanently on production servers Answer: B Explanation: Test data should mimic production data while respecting privacy and security requirements. Question 38. Version control in testing helps to: A. Automatically generate test cases from requirements B. Ensure that the correct versions of test scripts, code, and documentation are used consistently C. Perform load testing on multiple servers D. Replace the need for test planning

ASTC Practice Exam

Answer: B Explanation: Version control tracks changes and maintains integrity of test artifacts across releases. Question 39. Which category of testing tools is primarily used to automate the execution of UI test scripts across browsers? A. Performance testing tools B. Test execution tools C. Test management tools D. Configuration management tools Answer: B Explanation: Test execution tools like Selenium automate the running of UI test scripts on various browsers. Question 40. JMeter is best classified as a: A. Test management tool B. Performance and load testing tool C. Static analysis tool D. Version control system