Docsity

H181 34 Systems Development: Testing Software ExamMastery, Exams of Technology

Partial preview of the text

Download H181 34 Systems Development: Testing Software ExamMastery and more Exams Technology in PDF only on Docsity!

H181 34 Systems

Development: Testing

Software

Question 1. A briefing addresses Use Case Testing before moving to State Transition Testing. Which paired description fits that arrangement?

A. First: User Acceptance Testing (UAT), operational acceptance, alpha/beta testing, and regulatory compliance verification. Second: state transition diagrams, state tables, transition coverage, and testing invalid state sequences. B. First: state transition diagrams, state tables, transition coverage, and testing invalid state sequences. Second: deriving test scenarios from user interactions, actor behaviors, and end-to-end business workflows. C. First: deriving test scenarios from user interactions, actor behaviors, and end-to-end business workflows. Second: state transition diagrams, state tables, transition coverage, and testing invalid state sequences. D. First: deriving test scenarios from user interactions, actor behaviors, and end-to-end business workflows. Second: prioritizing test cases based on business impact, failure probability, and resource constraints.

Correct Answer: C

Full Explanation: The first concern is linked to deriving test scenarios from user interactions, actor behaviors, and end-to-end business workflows; the second is linked to state transition diagrams, state tables, transition coverage, and testing invalid state sequences. Keeping those assignments separate answers both parts of the task. Swapping the responses, or replacing one with a different responsibility, leaves one part incorrectly matched.

Question 2. A briefing must prepare someone to deal with Seven fundamental testing principles. Which content is most directly relevant?

A. top-down, bottom-up, big-bang, and incremental integration strategies; interface defect identification B. testing shows presence of defects, exhaustive testing is impossible, early testing, defect clustering, pesticide paradox, testing is context-dependent, absence-of-errors fallacy C. multiple condition coverage, and path testing methodologies D. functional, non-functional (usability, performance, security), and end-to-end system verification

Correct Answer: B

Full Explanation: Seven fundamental testing principles (testing shows presence of defects, exhaustive testing is impossible, early testing, defect clustering, pesticide paradox, testing is context-dependent, absence-of-errors fallacy). The relevant response retains that connection between the concern and the work to be demonstrated. The other responses address different aspects of practice.

Question 5. Which consideration should be examined alongside early testing when addressing Fundamental Principles of Software Testing and Quality Assurance?

A. absence-of-errors fallacy B. handling complex business rules C. creating cause-effect decision tables D. logic combinations

Correct Answer: A

Full Explanation: Early testing and absence-of-errors fallacy are considered together in Fundamental Principles of Software Testing and Quality Assurance. Their shared focus is Seven fundamental testing principles (testing shows presence of defects, exhaustive testing is impossible, early testing, defect clustering, pesticide paradox, testing is context-dependent, absence-of-errors fallacy). The pairing preserves the relationship between the elements of that task.

Question 6. Which consideration should be examined alongside bottom-up when addressing Levels of Testing and Integration Strategies?

A. SDLC B. identifying valid and invalid partitions and selecting test data C. big-bang D. Objectives of software testing

Correct Answer: C

Full Explanation: Bottom-up and big-bang are considered together in Levels of Testing and Integration Strategies. Their shared focus is Integration Testing: top-down, bottom-up, big-bang, and incremental integration strategies; interface defect identification. The pairing preserves the relationship between the elements of that task.

Question 7. Which two-part explanation correctly locates benefits of reviewing work products before dynamic execution and end-to-end system verification?

A. First: Test Automation and Test Management Tools; second: Levels of Testing and Integration Strategies B. First: Static Testing Techniques and Reviews; second: Levels of Testing and Integration Strategies C. First: Static Testing Techniques and Reviews; second: Test Automation and Test Management Tools D. First: Levels of Testing and Integration Strategies; second: Static Testing Techniques and Reviews

Correct Answer: B

Full Explanation: The first task, benefits of reviewing work products before dynamic execution, belongs with Static Testing Techniques and Reviews; the second, end-to-end system verification, belongs with Levels of Testing and Integration Strategies. The first area includes Principles of static testing, early defect detection, and benefits of reviewing work products before dynamic execution. The second addresses System Testing: functional, non-functional (usability, performance, security), and end-to-end system verification. These distinct associations determine the allocation.

Question 8. A focused assessment of Test Automation and Test Management Tools considers ROI. Which companion consideration belongs to the same combined task?

A. selecting automation tools B. early defect detection C. Principles of static testing D. benefits of reviewing work products before dynamic execution

Correct Answer: A

Full Explanation: ROI and selecting automation tools are considered together in Test Automation and Test Management Tools. Their shared focus is Criteria for test automation, selecting automation tools, script maintenance overhead, and return on investment (ROI) analysis. The pairing preserves the relationship between the elements of that task.

Question 10. Three records are arranged under Risk-based testing; Decision Table Testing; and Architecture of automated test frameworks. Which set of entries keeps each record correctly categorized?

A. First: data-driven, keyword-driven, and behavior-driven development (BDD) frameworks. Second: creating cause-effect decision tables, logic combinations, and handling complex business rules. Third: prioritizing test cases based on business impact, failure probability, and resource constraints. B. First: creating cause-effect decision tables, logic combinations, and handling complex business rules. Second: prioritizing test cases based on business impact, failure probability, and resource constraints. Third: data-driven, keyword-driven, and behavior-driven development (BDD) frameworks. C. First: prioritizing test cases based on business impact, failure probability, and resource constraints. Second: creating cause-effect decision tables, logic combinations, and handling complex business rules. Third: data-driven, keyword-driven, and behavior-driven development (BDD) frameworks. D. First: prioritizing test cases based on business impact, failure probability, and resource constraints. Second: data-driven, keyword-driven, and behavior-driven development (BDD) frameworks. Third: creating cause-effect decision tables, logic combinations, and handling complex business rules.

Correct Answer: C

Full Explanation: The correct arrangement retains three distinct connections: Risk-based testing with prioritizing test cases based on business impact, failure probability, and resource constraints; Decision Table Testing with creating cause-effect decision tables, logic combinations, and handling complex business rules; and Architecture of automated test frameworks with data-driven, keyword-driven, and behavior-driven development (BDD) frameworks. Each alternative places at least two details under the wrong concerns.

Question 11. A topic statement must connect Risk-based testing with the associated detail. Which connection is accurate?

A. selecting automation tools, script maintenance overhead, and return on investment (ROI) analysis B. testing two-value and three-value boundary conditions for single and multiple numeric/alphanumeric domains C. determining independent code paths, and assessing structural test thoroughness D. prioritizing test cases based on business impact, failure probability, and resource constraints

Correct Answer: D

Full Explanation: Risk-based testing, prioritizing test cases based on business impact, failure probability, and resource constraints. The relevant response retains that connection between the concern and the work to be demonstrated. The other responses address different aspects of practice.

Question 12. A team is separating work on Statement testing and statement coverage metrics for software source code and isolating modules. Which arrangement maintains the correct focus of each?

A. First: Dynamic Testing: White-Box (Structure-Based) Techniques; second: Levels of Testing and Integration Strategies B. First: Dynamic Testing: White-Box (Structure-Based) Techniques; second: Fundamental Principles of Software Testing and Quality Assurance C. First: Fundamental Principles of Software Testing and Quality Assurance; second: Levels of Testing and Integration Strategies D. First: Levels of Testing and Integration Strategies; second: Dynamic Testing: White-Box (Structure-Based) Techniques

Correct Answer: A

Full Explanation: The first task, Statement testing and statement coverage metrics for software source code, belongs with Dynamic Testing: White-Box (Structure-Based) Techniques; the second, isolating modules, belongs with Levels of Testing and Integration Strategies. The first area includes Statement testing and statement coverage metrics for software source code. The second addresses Component (Unit) Testing: isolating modules, driver/stub development, and automated unit testing frameworks (e.g., JUnit, NUnit). These distinct associations determine the allocation.

Question 14. Two evidence labels need verification: Utilization of defect tracking and test management software for bug reporting, severity/priority classification, and lifecycle tracking and Decision/Branch testing. Which matched pair would pass that check?

A. First: Jira, TestRail. Second: Statement testing and statement coverage metrics for software source code. B. First: software reliability models, and cost of quality metrics. Second: Decision/Branch testing and branch coverage measurement in control flow graphs. C. First: Jira, TestRail. Second: Decision/Branch testing and branch coverage measurement in control flow graphs. D. First: Decision/Branch testing and branch coverage measurement in control flow graphs. Second: Jira, TestRail.

Correct Answer: C

Full Explanation: The first concern is linked to Jira, TestRail; the second is linked to Decision/Branch testing and branch coverage measurement in control flow graphs. Keeping those assignments separate answers both parts of the task. Swapping the responses, or replacing one with a different responsibility, leaves one part incorrectly matched.

Question 15. A candidate must explain bottom-up. Which area should their response address most directly?

A. Levels of Testing and Integration Strategies B. Fundamental Principles of Software Testing and Quality Assurance C. Static Testing Techniques and Reviews D. Test Automation and Test Management Tools

Correct Answer: A

Full Explanation: Bottom-up forms part of Levels of Testing and Integration Strategies. The relevant work brings together Integration Testing: top-down, bottom-up, big-bang, and incremental integration strategies; interface defect identification. Keeping this association clear distinguishes the purpose of this activity from other responsibilities.

Question 16. For work concerning Testing Life Cycle and Test Management, an assessor needs evidence that someone can work out the proposed form or arrangement of the result. Which record would most directly meet that request?

A. A proposed form or arrangement for the intended result. B. A proposal to check performance deliberately at a later stage. C. Results from a deliberate performance check. D. A proposal to work out the proposed arrangement at a later stage.

Correct Answer: A

Full Explanation: Design addresses the proposed form or arrangement. Test instead concerns performance demonstrated by a test. Both may be relevant to the overall work, but the stated need is to work out the proposed form or arrangement of the result. Completed work is supported by a record of the relevant activity, rather than a proposal to do it later.

Question 17. Which comparison gives Seven fundamental testing principles and test implementation their appropriate professional contexts?

A. First: Fundamental Principles of Software Testing and Quality Assurance; second: Testing Life Cycle and Test Management B. First: Testing Life Cycle and Test Management; second: Fundamental Principles of Software Testing and Quality Assurance C. First: Fundamental Principles of Software Testing and Quality Assurance; second: Dynamic Testing: Black-Box (Specification-Based) Techniques D. First: Dynamic Testing: Black-Box (Specification-Based) Techniques; second: Testing Life Cycle and Test Management

Correct Answer: A

Full Explanation: The first task, Seven fundamental testing principles, belongs with Fundamental Principles of Software Testing and Quality Assurance; the second, test implementation, belongs with Testing Life Cycle and Test Management. The first area includes Seven fundamental testing principles (testing shows presence of defects, exhaustive testing is impossible, early testing, defect clustering, pesticide paradox, testing is context-dependent, absence-of-errors fallacy). The second addresses The Fundamental Test Process: test planning, test monitoring and control, test analysis, test design, test implementation, test execution, and test completion. These distinct associations determine the allocation.

Question 20. In reviewing professional responsibilities, how should logic combinations and performance be allocated?

A. First: Dynamic Testing: Black-Box (Specification-Based) Techniques; second: Levels of Testing and Integration Strategies B. First: Dynamic Testing: Black-Box (Specification-Based) Techniques; second: Test Automation and Test Management Tools C. First: Test Automation and Test Management Tools; second: Levels of Testing and Integration Strategies D. First: Levels of Testing and Integration Strategies; second: Dynamic Testing: Black-Box (Specification-Based) Techniques

Correct Answer: A

Full Explanation: The first task, logic combinations, belongs with Dynamic Testing: Black-Box (Specification-Based) Techniques; the second, performance, belongs with Levels of Testing and Integration Strategies. The first area includes Decision Table Testing: creating cause-effect decision tables, logic combinations, and handling complex business rules. The second addresses System Testing: functional, non-functional (usability, performance, security), and end-to-end system verification. These distinct associations determine the allocation.

Question 21. A reviewer groups BDD with a directly related consideration under Test Automation and Test Management Tools. Which grouping is appropriate?

A. benefits of reviewing work products before dynamic execution B. early defect detection C. keyword-driven D. Principles of static testing

Correct Answer: C

Full Explanation: BDD and keyword-driven are considered together in Test Automation and Test Management Tools. Their shared focus is Architecture of automated test frameworks: data-driven, keyword-driven, and behavior-driven development (BDD) frameworks. The pairing preserves the relationship between the elements of that task.

Question 22. Which pairing assigns prioritizing test cases based on business impact and incremental integration strategies to their most directly associated areas?

A. First: Levels of Testing and Integration Strategies; second: Testing Life Cycle and Test Management B. First: Test Automation and Test Management Tools; second: Levels of Testing and Integration Strategies C. First: Testing Life Cycle and Test Management; second: Test Automation and Test Management Tools D. First: Testing Life Cycle and Test Management; second: Levels of Testing and Integration Strategies

Correct Answer: D

Full Explanation: The first task, prioritizing test cases based on business impact, belongs with Testing Life Cycle and Test Management; the second, incremental integration strategies, belongs with Levels of Testing and Integration Strategies. The first area includes Risk-based testing, prioritizing test cases based on business impact, failure probability, and resource constraints. The second addresses Integration Testing: top-down, bottom-up, big-bang, and incremental integration strategies; interface defect identification. These distinct associations determine the allocation.

Question 23. A focused assessment of Static Testing Techniques and Reviews considers security vulnerabilities. Which companion consideration belongs to the same combined task?

A. NUnit B. Unit C. code complexity metrics D. JUnit

Correct Answer: C

Full Explanation: Security vulnerabilities and code complexity metrics are considered together in Static Testing Techniques and Reviews. Their shared focus is Static code analysis tools, detecting syntax anomalies, security vulnerabilities, code complexity metrics, and adherence to coding standards. The pairing preserves the relationship between the elements of that task.

Question 26. Which classification keeps work on test strategies distinct from work on keyword-driven?

A. First: Testing Life Cycle and Test Management; second: Static Testing Techniques and Reviews B. First: Test Automation and Test Management Tools; second: Testing Life Cycle and Test Management C. First: Testing Life Cycle and Test Management; second: Test Automation and Test Management Tools D. First: Static Testing Techniques and Reviews; second: Test Automation and Test Management Tools

Correct Answer: C

Full Explanation: The first task, test strategies, belongs with Testing Life Cycle and Test Management; the second, keyword-driven, belongs with Test Automation and Test Management Tools. The first area includes Creation of test plans, test strategies, test scenarios, test cases, and traceability matrices linking requirements to test scripts. The second addresses Architecture of automated test frameworks: data-driven, keyword-driven, and behavior-driven development (BDD) frameworks. These distinct associations determine the allocation.

Question 27. A supervisor receives two records for Dynamic Testing: Black-Box (Specification-Based) Techniques: the first contains a reasoned choice of a suitable option; the second contains results from a deliberate performance check. Which pair of activity labels should be applied, in that order?

A. Test; Test. B. Selecting; Test. C. Selecting; Selecting. D. Test; Selecting.

Correct Answer: B

Full Explanation: Selecting is concerned with suitability for the task, while test concerns performance demonstrated by a test. The two records demonstrate different activities; one does not automatically establish the other.

Question 28. For Dynamic Testing: White-Box (Structure-Based) Techniques, a task sheet is being edited. The required focus is performance demonstrated by a test. Which instruction expresses that focus most directly?

A. Make an evidence-based judgement. B. Check performance deliberately. C. Make an evidence-based judgement, treating performance demonstrated by a test as its only focus. D. Check performance deliberately, treating a judgement supported by relevant evidence as its only focus.

Correct Answer: B

Full Explanation: Test addresses performance demonstrated by a test. Assessing instead concerns a judgement supported by relevant evidence. Both may be relevant to the overall work, but the stated need is to check performance through a deliberate test rather than assume it. A useful instruction states the relevant action directly instead of substituting discussion of a different action.

Question 31. Two tasks concern test scenarios and security vulnerabilities. Which division of responsibility is appropriate?

A. First: Testing Life Cycle and Test Management; second: Static Testing Techniques and Reviews B. First: Static Testing Techniques and Reviews; second: Testing Life Cycle and Test Management C. First: Testing Life Cycle and Test Management; second: Dynamic Testing: White-Box (Structure-Based) Techniques D. First: Dynamic Testing: White-Box (Structure-Based) Techniques; second: Static Testing Techniques and Reviews

Correct Answer: A

Full Explanation: The first task, test scenarios, belongs with Testing Life Cycle and Test Management; the second, security vulnerabilities, belongs with Static Testing Techniques and Reviews. The first area includes Creation of test plans, test strategies, test scenarios, test cases, and traceability matrices linking requirements to test scripts. The second addresses Static code analysis tools, detecting syntax anomalies, security vulnerabilities, code complexity metrics, and adherence to coding standards. These distinct associations determine the allocation.

Question 32. Three records are arranged under Objectives of software testing; Statement testing; and Decision/Branch testing. Which set of entries keeps each record correctly categorized?

A. First: verification versus validation, and the role of testing in the software development life cycle (SDLC). Second: Statement testing and statement coverage metrics for software source code. Third: Decision/Branch testing and branch coverage measurement in control flow graphs. B. First: Decision/Branch testing and branch coverage measurement in control flow graphs. Second: Statement testing and statement coverage metrics for software source code. Third: verification versus validation, and the role of testing in the software development life cycle (SDLC). C. First: Statement testing and statement coverage metrics for software source code. Second: verification versus validation, and the role of testing in the software development life cycle (SDLC). Third: Decision/Branch testing and branch coverage measurement in control flow graphs. D. First: verification versus validation, and the role of testing in the software development life cycle (SDLC). Second: Decision/Branch testing and branch coverage measurement in control flow graphs. Third: Statement testing and statement coverage metrics for software source code.

Correct Answer: A

Full Explanation: The correct arrangement retains three distinct connections: Objectives of software testing with verification versus validation, and the role of testing in the software development life cycle (SDLC); Statement testing with Statement testing and statement coverage metrics for software source code; and Decision/Branch testing with Decision/Branch testing and branch coverage measurement in control flow graphs. Each alternative places at least two details under the wrong concerns.

Question 33. For Testing Life Cycle and Test Management, a record of test is being used to claim that monitoring has also been completed. Which additional evidence would directly support that second claim?

A. A proposal to check performance deliberately later. B. A proposal to track state or progress later. C. Observations of state or progress collected over time. D. Results from a deliberate performance check.

Correct Answer: C

Full Explanation: Test is concerned with performance demonstrated by a test, while monitoring concerns change in state or progress over time. The two records demonstrate different activities; one does not automatically establish the other. Evidence of change in state or progress over time is needed to support the separate claim about monitoring.