Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use the following program fragment for questions a-e below public static void fl (int x, int y) if (x 0) f40: else f50: public static
Use the following program fragment for questions a-e below public static void fl (int x, int y) if (x 0) f40: else f50: public static void f40 public static void f50 public static void f60 f60... f60)...^ Use the following test inputs t1 = fl (0,0) t3 fl (0, 1) 4 = fl (3, 2) . t5-fl (3, 4) a) Draw the call graph for this prooram fragment b) Give the path in the graph followed by each test c) Find a minimal test set that achieves Node Coverage d) Find a minimal test set that achieves Edge Coverage e) Give the prime paths in the oraph. Which prime path is not covered by any of the tests above
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