Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions

Question

big O examples

Answered: 1 week ago

Question

5. Describe how contexts affect listening

Answered: 1 week ago