According to Module 10, Section 10.5 of the course handouts, explain why 'Test Planning and Preparation' is considered one of the most important activities in the whole testing process, and list four key questions that guide testing strategy. Then, write a Python function that implements a check logic for these exit criteria.
Ch 10: Test Activities and Management
Comprehensive analysis of software test execution lifecycles, designing effective test cases, automated vs manual execution, test reporting dashboards, release documentation, and managing emergency patches.
180 Questions180 MCQs0 Short Questions0 Long Questions
SEMESTER PASS
CS611 - Software Quality Engineering Examination Practice
Timed practice exam simulation for CS611 - Software Quality Engineering.
Showing 81 โ 90 of 180 Questions
Page 9 of 18
Based on Section 10.10 (Example 1), list the ten standard fields included in the Test Case Template and explain the purpose of the Test Data and Expected Results fields in TU01. Write a Python function 'verify_credentials' that simulates the execution of TU01 by validating that a given user ID and password match the parameters 'guru99' and 'pass99' respectively.
Define a 'Test Case' based on Module 10, Section 10.7, and outline three best practices to follow when writing test cases. Then, write a Python function 'validate_test_case_fields' that verifies whether a test case dictionary contains all required fields (Scenario, Steps, Expected, ScenarioType).
Explain how individual step failures affect the overall status of a test case as demonstrated in Example 2 (TU02) of Module 10. Then, write a Python function 'evaluate_test_case_steps' that takes a list of step execution statuses (Boolean values) and returns the overall test case status ('Pass' or 'Fail') along with the index of the first failing step if any.
Explain the role and characteristics of System Level Testing as detailed in Section 10.24 of the course handouts. Discuss why it is performed by independent testers who have not contributed to development. Then, write a Python function 'verify_system_environment' that programmatically checks if a given system test configuration's OS, database, and network parameters exactly match the target production environment settings.
Explain the primary purpose of Unit Testing as presented in Section 10.14 of the course handouts, and write a simple Python function with a corresponding unit test to demonstrate how a developer isolates and verifies an algorithm.
Explain the operational differences between 'WishList' requests and 'Ripple Effect' bugs in post-production, including cost-bearing structures and the first step to proceed after receiving an end-user report, as detailed in Section 10.36. Then, write a Python function 'triage_post_production_issue' that automatically classifies an issue as a Bug, Ripple Effect, or WishList and assigns the cost-bearing party ('Vendor' or 'Client') accordingly.
Define 'Feature Level Testing' based on Section 10.21 of the course handouts, and list the seven underlying units that comprise the 'Booking of Hotel Room via Website' feature from Example 1. Then, write a Python function 'execute_booking_flow' that simulates the sequential execution of these units and returns False if any step fails.
Based on Module 10, Sections 10.19 and 10.20 of the course handouts, define the four severity levels of defects in Sanity Testing Reporting. Then, write a Python function 'categorize_defect' that automatically maps a numeric severity score (1 to 4) to its corresponding CMMI severity level ('Cosmetic', 'Medium', 'Major', 'Critical') and logs it.
Explain how a Test Dashboard tracks defects of different statuses separately for all features of a product, as described in Section 10.30 of the course handouts. Then, write a Python function 'get_feature_defect_counts' that takes a list of logged defects (each having 'feature' and 'status' keys) and returns a structured dictionary showing the count of each status ('Closed', 'Fixed', 'Hold', 'NotAFix', 'New') for each feature.