Docsity

Software Quality Assurance Certifications Practice Exam, Exams of Technology

Toggle sidebar
bg1
Software Quality Assurance Certifications
Practice Exam
**Question 1.** Which of the following best defines the difference between product quality
and process quality?
A) Product quality measures conformance to specifications, while process quality measures
efficiency of development.
B) Product quality focuses on user satisfaction, whereas process quality focuses on cost
reduction.
C) Product quality is about defect density, while process quality is about defect removal
efficiency.
D) Product quality is measured after release, while process quality is measured during testing.
Answer: A
Explanation: Product quality assesses the final product’s attributes (functionality, reliability, etc.)
against its specifications. Process quality evaluates how well the development process adheres
to standards and efficiency goals.
**Question 2.** In the context of SQA, which statement correctly distinguishes SQA from
Software Quality Control (SQC)?
A) SQA is reactive, while SQC is proactive.
B) SQA focuses on preventing defects, whereas SQC focuses on detecting defects.
C) SQA deals only with documentation, while SQC deals with code.
D) SQA is performed by developers, while SQC is performed by testers.
Answer: B
Explanation: SQA involves activities to prevent defects (process definition, audits), while SQC
(testing) is the activity of detecting defects in the product.
**Question 3.** Which of the seven testing principles states that testing can never prove that
software is defect‑free?
A) Exhaustive testing is impossible.
B) Testing shows the presence of defects, not their absence.
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

Partial preview of the text

Download Software Quality Assurance Certifications Practice Exam and more Exams Technology in PDF only on Docsity!

Practice Exam

Question 1. Which of the following best defines the difference between product quality and process quality? A) Product quality measures conformance to specifications, while process quality measures efficiency of development. B) Product quality focuses on user satisfaction, whereas process quality focuses on cost reduction. C) Product quality is about defect density, while process quality is about defect removal efficiency. D) Product quality is measured after release, while process quality is measured during testing. Answer: A Explanation: Product quality assesses the final product’s attributes (functionality, reliability, etc.) against its specifications. Process quality evaluates how well the development process adheres to standards and efficiency goals. Question 2. In the context of SQA, which statement correctly distinguishes SQA from Software Quality Control (SQC)? A) SQA is reactive, while SQC is proactive. B) SQA focuses on preventing defects, whereas SQC focuses on detecting defects. C) SQA deals only with documentation, while SQC deals with code. D) SQA is performed by developers, while SQC is performed by testers. Answer: B Explanation: SQA involves activities to prevent defects (process definition, audits), while SQC (testing) is the activity of detecting defects in the product. Question 3. Which of the seven testing principles states that testing can never prove that software is defect‑free? A) Exhaustive testing is impossible. B) Testing shows the presence of defects, not their absence.

Practice Exam

C) Pesticide paradox. D) Defect clustering. Answer: B Explanation: This principle emphasizes that testing can only reveal the existence of defects; it cannot guarantee that no defects remain. Question 4. According to ISO/IEC 25010, which characteristic is NOT part of product quality? A) Functional suitability. B) Performance efficiency. C) Process compliance. D) Security. Answer: C Explanation: ISO/IEC 25010 defines product quality attributes; “process compliance” is a process quality aspect, not a product characteristic. Question 5. Which model is primarily focused on continuous process improvement through defined maturity levels? A) ISO 9001. B) CMMI. C) Six Sigma. D) TMMi. Answer: B Explanation: CMMI (Capability Maturity Model Integration) defines maturity levels for process improvement.

Practice Exam

Explanation: Preventing defects early avoids costly rework and fixes later in the lifecycle, yielding significant cost savings. Question 9. In the Waterfall SDLC model, when is testing typically performed? A) During requirements gathering. B) After the design phase and before deployment. C) Concurrently with coding. D) Throughout all phases. Answer: B Explanation: Waterfall follows a sequential approach; testing follows implementation and precedes deployment. Question 10. Which Agile ceremony is primarily responsible for defining the Definition of Done (DoD)? A) Sprint Planning. B) Daily Stand‑up. C) Sprint Review. D) Sprint Retrospective. Answer: A Explanation: During Sprint Planning, the team agrees on the DoD that each backlog item must satisfy to be considered complete. Question 11. Shift‑Left testing primarily emphasizes testing at which stage? A) After production release. B) During system testing. C) Early in the development lifecycle, such as unit testing.

Practice Exam

D) During performance testing. Answer: C Explanation: Shift‑Left moves testing activities earlier (e.g., unit tests, static analysis) to detect defects sooner. Question 12. Continuous Integration (CI) most directly supports which testing activity? A) Manual exploratory testing. B) Automated regression testing on every code check‑in. C) User acceptance testing. D) Security penetration testing. Answer: B Explanation: CI pipelines trigger automated test suites (including regression) each time code is committed. Question 13. Which test level focuses on verifying the interaction between integrated modules? A) Unit testing. B) Integration testing. C) System testing. D) Acceptance testing. Answer: B Explanation: Integration testing validates interfaces and data flow between combined components. Question 14. In a top‑down integration testing approach, which component is tested first? A) The lowest‑level modules.

Practice Exam

Question 17. Which functional testing type focuses on verifying that the system conforms to legal regulations? A) Security testing. B) Compliance testing. C) Interoperability testing. D) Usability testing. Answer: B Explanation: Compliance testing ensures adherence to standards, laws, and regulations. Question 18. Load testing is a subset of which broader testing category? A) Functional testing. B) Performance testing. C) Security testing. D) Compatibility testing. Answer: B Explanation: Load testing measures system behavior under expected user load, a type of performance testing. Question 19. Which security testing technique attempts to exploit vulnerabilities to determine impact? A) Static code analysis. B) Threat modeling. C) Penetration testing. D) Fuzz testing. Answer: C Explanation: Penetration testing simulates attacks to uncover exploitable weaknesses.

Practice Exam

Question 20. Accessibility testing primarily ensures compliance with which set of guidelines? A) ISO 27001. B) WCAG (Web Content Accessibility Guidelines). C) OWASP Top Ten. D) ITIL. Answer: B Explanation: WCAG defines criteria for making web content accessible to people with disabilities. Question 21. Confirmation testing is also known as: A) Regression testing. B) Re‑testing. C) Smoke testing. D) Sanity testing. Answer: B Explanation: Confirmation (or re‑testing) verifies that a specific defect has been fixed. Question 22. Risk‑based regression testing primarily selects test cases based on: A) Execution time. B) Test case priority. C) Likelihood and impact of failure. D) Tester preference. Answer: C

Practice Exam

Answer: B Explanation: Comparing defect density before and after review indicates how many defects were caught early. Question 26. The Plan‑Do‑Check‑Act (PDCA) cycle is primarily used for: A. Test case design. B. Process improvement. C. Defect classification. D. Test environment setup. Answer: B Explanation: PDCA provides a structured approach for continuous improvement of processes, including quality processes. Question 27. DMAIC is a methodology associated with which quality framework? A. ISO 9001. B. Six Sigma. C. CMMI. D. TMMi. Answer: B Explanation: DMAIC (Define, Measure, Analyze, Improve, Control) is the core problem‑solving process in Six Sigma. Question 28. Root Cause Analysis (RCA) often employs which technique to identify underlying problems? A. Fishbone (Ishikawa) diagram. B. Test coverage matrix.

Practice Exam

C. Decision table. D. Boundary value analysis. Answer: A Explanation: The fishbone diagram visualizes potential causes of a problem, facilitating RCA. Question 29. Equivalence Partitioning helps reduce the number of test cases by: A. Testing only the valid equivalence class. B. Grouping inputs that are expected to behave similarly and selecting one representative from each group. C. Testing all boundary values. D. Using random inputs. Answer: B Explanation: Inputs are divided into equivalence classes; one test case per class is sufficient to represent the entire group. Question 30. Which of the following is a boundary condition for an input field that accepts integers from 1 to 100 inclusive? A. 0, 1, 100, 101. B. - 1, 0, 101, 102. C. 1, 50, 100. D. 0, 50, 101. Answer: A Explanation: Values just outside (0, 101) and on the limits (1, 100) represent boundary cases. Question 31. Decision table testing is most suitable for: A. Simple arithmetic functions.

Practice Exam

A. Every possible branch is executed. B. Every line of source code is executed at least once. C. All logical conditions are evaluated both true and false. D. All combinations of inputs are tested. Answer: B Explanation: Statement (or line) coverage ensures each executable statement runs at least once. Question 35. Decision (branch) coverage guarantees that: A. Every statement is executed. B. Every possible outcome of each decision point (if/else) is executed at least once. C. All condition combinations are tested. D. All loops execute zero, one, and many times. Answer: B Explanation: Branch coverage focuses on each true/false outcome of control structures. Question 36. Multiple condition coverage requires testing: A. Each condition in a decision independently. B. All possible combinations of conditions in a decision. C. Only the true path of each condition. D. At least one true and one false outcome per condition. Answer: B Explanation: Multiple condition coverage (also called condition‑combination coverage) tests every possible combination of condition outcomes. Question 37. Error guessing relies on:

Practice Exam

A. Formal specifications. B. Tester experience and intuition to anticipate likely defect sites. C. Random input generation. D. Automated script execution. Answer: B Explanation: Error guessing uses the tester’s knowledge of common error patterns to design test cases. Question 38. Exploratory testing is characterized by: A. Pre‑written test scripts only. B. Simultaneous learning, test design, and execution without extensive documentation. C. Strict adherence to test plans. D. Automated test generation. Answer: B Explanation: Exploratory testing blends investigation and testing on the fly, emphasizing adaptability. Question 39. A test plan should NOT typically contain: A. Test objectives. B. Detailed code implementation. C. Entry and exit criteria. D. Resource allocation. Answer: B Explanation: The test plan outlines strategy and resources, not the actual code.

Practice Exam

Question 43. Test coverage tools that measure which lines of code have been executed are called: A. Static analysis tools. B. Code coverage tools. C. Performance profilers. D. Defect tracking systems. Answer: B Explanation: Code coverage tools instrument code to record which statements/branches were exercised during testing. Question 44. Configuration management in testing primarily ensures: A. Test data is generated randomly. B. All test environments use the same hardware. C. Versions of testware and the system under test are tracked and controlled. D. Testers have access to source code. Answer: C Explanation: Configuration management maintains version control and traceability of test artifacts. Question 45. Which field is NOT mandatory in a well‑structured defect report? A. Defect ID. B. Steps to reproduce. C. Tester’s personal email. D. Severity. Answer: C

Practice Exam

Explanation: Personal contact information is unnecessary; the other fields are essential for defect handling. Question 46. A Test Summary Report typically includes: A. Detailed test case steps. B. Evaluation against exit criteria and overall quality assessment. C. Source code listings. D. Project budget breakdown. Answer: B Explanation: The summary report provides a high‑level view of test outcomes, exit criteria status, and quality conclusions. Question 47. Selenium is primarily used for: A. Performance testing. B. Security scanning. C. Web UI test automation. D. Test management. Answer: C Explanation: Selenium automates browsers for functional UI testing of web applications. Question 48. Which of the following is a key advantage of using a test management tool like Jira? A. Automatic code generation. B. Centralized tracking of test cases, executions, and defects. C. Real‑time performance monitoring. D. Static code analysis.

Practice Exam

C. Defects only appear during performance testing. D. Defects are randomly scattered. Answer: B Explanation: Defect clustering observes that a few components contain the majority of defects. Question 52. In ISO/IEC 15504 (SPICE), the “Capability Level 3” indicates: A. Performed. B. Managed. C. Defined. D. Optimizing. Answer: C Explanation: Level 3 (Defined) means processes are documented, standardized, and integrated into the organization’s standard processes. Question 53. Which of the following is NOT a typical non‑functional testing type? A. Load testing. B. Usability testing. C. Functional testing. D. Compatibility testing. Answer: C Explanation: Functional testing verifies what the system does; the others assess how the system behaves. Question 54. A “smoke test” is best described as: A. A comprehensive regression suite.

Practice Exam

B. A quick set of basic tests to verify that the build is stable enough for further testing. C. Testing of security vulnerabilities. D. Performance testing under maximum load. Answer: B Explanation: Smoke testing checks critical functionality to confirm that the system is testable. Question 55. Which of the following is the primary purpose of a “sanity test”? A. Verify that a specific bug fix works. B. Ensure that a new build is stable for detailed testing. C. Measure response times under load. D. Validate data migration. Answer: B Explanation: Sanity testing is a narrow regression test to confirm that the major functions work after minor changes. Question 56. In a data‑driven test automation framework, test data is typically stored in: A. Hard‑coded within scripts. B. External sources such as Excel, CSV, or databases. C. The source code repository. D. The test execution log. Answer: B Explanation: Data‑driven frameworks separate test logic from test data, using external files for inputs. Question 57. Which of the following is a common metric for measuring defect detection effectiveness?