Question
Q3(a) Differentiate testing and debugging processes. [6] (b) Al Nada furniture sales shop announces Eid offers for its customers for certain home appliances as follows:
Q3(a)Differentiate testing and debugging processes. [6]
(b) Al Nada furniture sales shop announces Eid offers for its customers for certain home appliances as follows:
10% discount for Sofas valued more than 210 OMR
15% discount for dining tables valued more than 200 OMR
5% discount for beds valued more than 100 OMR
20% Offer for bed room sets valued more than 1750 OMR
(i) Develop a flowchart to determine the net price of each item. [4]
(ii) Represent the flowchart developed in part (i) using flow graph. [4]
(iii) _____________________________________________________________________________[5].
(iv) Compute the cyclomatic complexity of the drawn flow graph. [1]
(v) Develop a test case that force execution of the paths in the basis set determined in part (iii). [5]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started