Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Below is a graph, which is defined by the sets of nodes. nitial nodes. final nodes. edges, and defs and uses. The graph also contains

image text in transcribed

Below is a graph, which is defined by the sets of nodes. nitial nodes. final nodes. edges, and defs and uses. The graph also contains a collection of test paths. Answer the following questions about the graph Graph II. N-1, 2, 3, 4, 5, 6] Nf 16) def(x)1,3) use(x- (3,6) II Assume the use of x in 3 precedes the def Test Paths 12= [1, 2, 3, 4, 5, 2, 3, 5, 2.6] 13= [1, 2, 3, 5, 2, 3, 4, 5, 2.6] 14 1, 2, 3. 5, 2, 6] a) Draw the graph b) List all of the du-paths with respect to x ote: Include all du-paths, even those that are subpaths of some other du-path) For each test path, determine which du-paths that test path tours. For this part of the exercise, you should consider both direct touring and sidetrips (Hint: A table is a convenient format for describing this relationship) c) 1st a minimal test set that satisfies all-defs coverage with respect to x. (Direct tours only.) Use the given test paths e) List a minimal test set that satisfies al-uses coverage with respect to x (Direct tours only.) Use the given test paths ist a minimal test set that satisfies all-du-paths coverage with respect tox (Direct tours only.) Use the given test paths

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

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

4. Ignore small differences between scores.

Answered: 1 week ago