a) Draw a flow graph to represent the method Fun. Label the nodes (starting with A) and the outgoing edges of the decision boxes appropriately.
b)Identify the set P of paths in the flow graph for Fun and a set of test inputs that satisfy 100% for each of the following criteria. You are required to show trace tables for each set of inputs used to achieve the criteria. If 100% coverage cannot be obtained, explain why.
statement coverage
branch coverage
multiple condition coverage (MCC)
c)Compute the number of basis paths in the flow graph