Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

run this program and do simple question

Consider the pseudo-code below for computing insurance premium.

(i) Draw the program graph

(ii) Compute the cyclomatic complexity

(iii) Derive a set of basis paths that can be used to test the program

(iv) Given that the baseRate is $500.00, create the test cases that will exercise all the branches for switch case C4 only. The test cases should show the inputs, the path taken and the expected output. [Hint: There should be only two test cases.]

below is the file of java run it

https://www.dropbox.com/s/5bygdk7ba3owf7d/Main.java?dl=0

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question