Ch 02: Cost of Software Quality

207 Questions207 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS611 - Software Quality Engineering Examination Practice

Timed practice exam simulation for CS611 - Software Quality Engineering.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 131 โ€“ 140 of 207 Questions
Page 14 of 21
Q131
๐Ÿ“ Short Q๐Ÿ“˜ CS611๐Ÿ“‘ Lec 2๐Ÿท๏ธ 02.1. Economics of Software Quality EngineeringMediumโญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the foundational chain of dependencies in Software Quality Engineering that links code execution to the ultimate goal of user satisfaction, as detailed in Module 02, Section A of the handouts. Then, write a Python function 'evaluate_satisfaction_chain' that simulates this chain by checking if code execution, behavioral requirements, features, and system behavior are fully compliant, returning whether the ultimate goal of user satisfaction is achieved.
Q132
๐Ÿ“ Short Q๐Ÿ“˜ CS611๐Ÿ“‘ Lec 2๐Ÿท๏ธ 02.12. Risk-Analysis ApproachMediumโญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the core mathematical equation of the Risk Analysis Approach as detailed in Module 02, Section J of the course handouts. Then, write a Python function 'calculate_risk_exposure' that takes a list of risks (each as a dictionary containing 'probability' as a float between 0.0 and 1.0 and 'potential_loss_usd' as a float), computes the Risk Exposure (RE) for each risk, and returns the total cumulative risk exposure, along with a warning flag if any individual risk exposure exceeds a given alert threshold.
Q133
๐Ÿ“ Short Q๐Ÿ“˜ CS611๐Ÿ“‘ Lec 2๐Ÿท๏ธ 02.12. Risk-Analysis ApproachMediumโญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain how the Risk Exposure (RE) metric is calculated under the Risk Analysis Approach as described in Module 02, Section J of the course handouts. Then, write a Python function 'calculate_risk_exposure' that calculates RE (RE = p * L) and returns whether the risk should be categorized as 'Low' (RE < 5000), 'Medium' (5000 <= RE = 20000).
Q134
๐Ÿ“ Short Q๐Ÿ“˜ CS611๐Ÿ“‘ Lec 2๐Ÿท๏ธ 02.6. Cost of missing RequirementsMediumโญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Using the Yahoo data breach case study described in Module 02, Section E, explain how late-reported database breaches impact corporate acquisitions. Then, write a Python function 'calculate_acquisition_price_drop' that takes an initial negotiated price, a list of security breaches (each containing the number of affected accounts and a boolean flag indicating if the breach was reported late), and returns the adjusted acquisition price, the total price drop, and whether a late-reporting penalty was applied.
Q135
๐Ÿ“ Short Q๐Ÿ“˜ CS611๐Ÿ“‘ Lec 2๐Ÿท๏ธ 02.13. Level of RisksMediumโญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the four criticality levels defined by the IEEE Standard for Software Verification and Validation as documented in Module 02 of the course handouts. Then, write a Python function 'classify_system_criticality' that evaluates system parameters (usage_frequency: 'continuous_24_7', 'continuous_interrupted', 'fixed_interruptions', or 'time_to_time'; environmental_damage: 'irreversible', 'reversible', 'property_only', or 'none'; human_risk: 'loss_of_life', 'serious_injury', 'minor_injury', or 'none') and returns the appropriate criticality level ('Level A', 'Level B', 'Level C', or 'Level D').
Q136
๐Ÿ“ Short Q๐Ÿ“˜ CS611๐Ÿ“‘ Lec 2๐Ÿท๏ธ 02.4. What are missing requirementsMediumโญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the concept of 'Missing Quality Requirements' and how allocating budget to non-functional attributes like database security compares with cosmetic user interface (UI) changes, as discussed in Module 02, Section D of the course handouts. Then, write a Python function 'check_missing_quality_requirements' that takes a boolean representing if a database firewall is present, and a quality score for UI design (from 0 to 100). The function should determine if a critical security risk exists (missing firewall) and return a diagnostic report indicating whether quality is compromised.
Q137
๐Ÿ“ Short Q๐Ÿ“˜ CS611๐Ÿ“‘ Lec 2๐Ÿท๏ธ 02.2. Function-Quality-Cost(FQC)Mediumโญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain the concept of the Function-Quality-Cost (FQC) tradeoff in a closed-budget project, outlining how functionality and quality behave as 'natural enemies.' Then, write a Python function 'calculate_fqc_split' that takes a fixed total budget, the number of features, the level of investment per feature (A), and the standard quality budget baseline. The function should allocate budget to functionality, determine the residual budget left for quality, calculate the resulting quality index, and return an alert if the quality index falls below a standard safe threshold of 80.0.
Q138
๐Ÿ“ Short Q๐Ÿ“˜ CS611๐Ÿ“‘ Lec 2๐Ÿท๏ธ 02.9. Indirect Cost of Missing Quality RequirementsMediumโญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Differentiate between the direct and indirect costs of missing software quality as defined by Eppler and Helfert, highlighting their visibility, timing, and examples from the handouts. Then, write a Python function 'classify_and_aggregate_sqa_costs' that takes a list of occurred failure impacts (each having a 'description', a 'category' which is either 'direct' or 'indirect', and 'cost_usd'), separates them, computes their totals, and flags whether the invisible indirect costs exceed the visible direct costs.
Q139
๐Ÿ“ Short Q๐Ÿ“˜ CS611๐Ÿ“‘ Lec 2๐Ÿท๏ธ 02.8. Direct Cost of missing Quality requirementsMediumโญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Explain how Eppler and Helfert classify the costs of missing quality, particularly detailing the nature of 'Direct Cost' and providing examples as stated in Module 02 of the course handouts. Then, write a Python function 'analyze_direct_costs' that takes a list of occurred incidents. Each incident is a dictionary containing its 'cost_type' (either 'financial_loss', 'physical_injury', 'reputation_loss', or 'trust_erosion') and 'magnitude' (a float value representing USD or severity scale). The function should filter and sum up ONLY the direct costs (financial loss and physical injury are direct, while reputation and trust are indirect) and return a summary of total direct losses, the count of direct incidents, and whether a critical high-loss warning is triggered (if direct losses exceed $10,000 USD).
Q140
๐Ÿ“ Short Q๐Ÿ“˜ CS611๐Ÿ“‘ Lec 2๐Ÿท๏ธ 02.3. Quality vs pre-defined budgetMediumโญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Under the Quality vs. Pre-defined Budget scenario (Module 02, Section C), explain how the quality budget is mathematically squeezed when a project's features are increased. Then, write a Python function 'simulate_budget_squeeze' that takes a total fixed budget, a number of features, and the development cost per feature, and returns the allocated development budget, the remaining quality budget, the quality percentage of the project, and whether a quality starvation warning is triggered (when the quality budget drops below 15% of the total budget).