What is a software 'Bug' as defined in the course handouts, and why is it considered highly challenging to eliminate entirely?
Ch 01: Software Quality Engineering Discipline
Comprehensive study of quality engineering foundations, producer/consumer roles, ISO 9126 quality attributes, formal differentiation between errors, faults, and failures, and defect prevention versus defect containment strategies.
279 Questions279 MCQs0 Short Questions0 Long Questions
SEMESTER PASS
CS611 - Software Quality Engineering Examination Practice
Timed practice exam simulation for CS611 - Software Quality Engineering.
Showing 171 β 180 of 279 Questions
Page 18 of 28
Explain the concept of a software 'Fault' as detailed in Module 01, Section R and S of the course handouts, outlining its relationship with human errors. Then, write a Python function 'calculate_addition_fault' that simulates the addition example from Section S (inputs: value1=5, value2=3) but with a mathematical sign fault, returning a dictionary indicating the expected output, actual output, and whether a fault-induced failure occurred.
Discuss the characteristics and definition of Off-the-Shelf (OTS) products as detailed in Module 01, Section E of the course handouts, and explain why 'one solution does not fit all'. Then, write a Python function 'analyze_ots_suitability' that accepts a dictionary of a candidate OTS plugin's characteristics (cost, fits_requirements_pct, vendor_support_level, and compatibility_score) and evaluates whether it is a suitable choice based on a predefined SQA threshold.
Explain the concept of 'Usability' under the ISO-9126 standard, and list the three qualities that stakeholders can conclude about a system based on this characteristic according to Section H. Then, write a Python class 'UsabilityAssessor' that takes an assessment score from individual users (values between 1.0 and 5.0) for learning, understanding, and using, and returns whether the interface meets the benchmark threshold for a 'User-Friendly' rating.
Explain the 'Efficiency' characteristic under the ISO-9126 standard, identifying the primary system resources it examines, as well as the dual scenarios of UI loading times described in Section I. Then, write a Python function 'evaluate_efficiency_ratio' that calculates a system's efficiency index based on execution time (seconds) and memory usage (megabytes) relative to target limits.
According to the software quality engineering discipline outlined in Module 01, discuss the relationship between 'Defect Injection,' 'Defect Reduction,' and 'Defect Containment' under tight project constraints. How do these processes compete, and how is 'fault tolerance' achieved?
Explain the key expectations and quality concerns of a software "Producer" as outlined in Module 01, Section D of the course handouts, contrasting them with the consumer's focus. Then, write a Python function 'evaluate_producer_metrics' that takes a dictionary of a software module's attributes (conforms_to_specs, is_modifiable, cyclomatic_complexity, and has_unit_tests) and returns a structural report evaluating whether the module meets a producer's standard quality expectations.
Explain the concept of 'Defect Containment' and how it differs from 'Defect Reduction' as detailed in Module 01, Sections W and X of the course handouts. Then, write a Python function 'simulate_containment_gate' that takes an initial defect count and applies a phase-to-phase containment factor (0.0 to 1.0) to model the leakage of defects to the next phase, returning a dictionary with the results.
Explain the concept of software 'Failure' according to Module 01, Section T of the course handouts, highlighting Laprie's specification-centric definition. Then, write a Python function 'evaluate_service_compliance' that checks whether a delivered service value matches an agreed specification value (allowing for a specified tolerance range), returning a dictionary that logs whether a 'system failure' occurred.
Explain the relationship between a software product's individual functions and its 'Functionality' quality characteristic under the ISO-9126 framework, referencing the Sales Order Processing System example from Section F. Then, write a Python function 'evaluate_functionality_coverage' that evaluates whether an implementation provides all required essential functions for a Sales Order System (sales, price, quantity, tax, shipping, and inventory) and returns the coverage percentage.