Answer questions a-g for the graph defined by the following sets: N = {1, 2, 3,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Answer questions a-g for the graph defined by the following sets: N = {1, 2, 3, 4, 5, 6, 7} ■ No = {1} ■ Nf = {7} E = {(1, 2), (1, 7), (2, 3), (2, 4), (3, 2), (4, 5), (4, 6), (5, 6), (6, 1)} Also consider the following (candidate) test paths: P₁ = [1, 2, 4, 5, 6, 1, 7] P2 = [1, 2, 3, 2, 4, 6, 1, 7] P3 = [1, 2, 3, 2, 4, 5, 6, 1, 7] Draw the graph. List the test requirements for Edge-Pair Coverage. (Hint: You should get 12 requirements of length 2.) Does the given set of test paths satisfy Edge-Pair Coverage? If not, state what is missing. (a) (b) (c) (d) Consider the simple path [3, 2, 4, 5, 6] and test path [1, 2, 3, 2, 4, 6, 1, 2, 4, 5, 6, 1, 7]. Does the test path tour the simple path directly? With a sidetrip? If so, write down the sidetrip. (e) List the test requirements for Node Coverage, Edge Coverage, and Prime Path Coverage on the graph. (f) List test paths from the given set that achieve Node Coverage but not Edge Coverage on the graph. (g) List test paths from the given set that achieve Edge Coverage but not Prime Path Coverage on the graph. Answer questions a-g for the graph defined by the following sets: N = {1, 2, 3, 4, 5, 6, 7} ■ No = {1} ■ Nf = {7} E = {(1, 2), (1, 7), (2, 3), (2, 4), (3, 2), (4, 5), (4, 6), (5, 6), (6, 1)} Also consider the following (candidate) test paths: P₁ = [1, 2, 4, 5, 6, 1, 7] P2 = [1, 2, 3, 2, 4, 6, 1, 7] P3 = [1, 2, 3, 2, 4, 5, 6, 1, 7] Draw the graph. List the test requirements for Edge-Pair Coverage. (Hint: You should get 12 requirements of length 2.) Does the given set of test paths satisfy Edge-Pair Coverage? If not, state what is missing. (a) (b) (c) (d) Consider the simple path [3, 2, 4, 5, 6] and test path [1, 2, 3, 2, 4, 6, 1, 2, 4, 5, 6, 1, 7]. Does the test path tour the simple path directly? With a sidetrip? If so, write down the sidetrip. (e) List the test requirements for Node Coverage, Edge Coverage, and Prime Path Coverage on the graph. (f) List test paths from the given set that achieve Node Coverage but not Edge Coverage on the graph. (g) List test paths from the given set that achieve Edge Coverage but not Prime Path Coverage on the graph.
Expert Answer:
Related Book For
Discrete and Combinatorial Mathematics An Applied Introduction
ISBN: 978-0201726343
5th edition
Authors: Ralph P. Grimaldi
Posted Date:
Students also viewed these programming questions
-
Using logarithmic differentiation, find the derivative of y = (cosx)x.
-
. A vertical pole that is 2 meters tall casts a shadow that is 1.5 meters long. Nearby, at the same time, another vertical pole casts a shadow that is 6.5 meters long. How tall is this pole? a. Make...
-
Use the information provided below to answer the following questions: R d = 50 CU d = 250 D = 500 Calculate the reserve ratio (?). Calculate the value of the parameter c (currency ratio). Calculate...
-
Whitmore Company issued $500,000 of 5-year, 8% bonds at 97 on January 1, 2020. The bonds pay interest annually. Instructions a. 1. Prepare the journal entry to record the issuance of the bonds. 2....
-
What are the risks associated with the corporate-level strategic alliance between Renault and Nissan? What have these firms done to mitigate these risks?
-
1. Describe at least four applications you use that provide location, time, and date information that can be tied to your identity. 2. Debate whether it is ethical for marketers to use metadata to...
-
What is a controlling resistance? How do you determine which resistance, if either, is controlling?
-
Suppose that Hannahs utility function is U H = 3 T + 4 C and that Joses utility function is U J = 4 T + 3 C , where T is pounds of tea per year and C is pounds of coffee per year. Suppose there are...
-
Jim developed a blood clot in a coronary artery. What is jims condition called?
-
Newlyweds Jamie Lee and Ross have had several milestones in the past year. They are newly married, recently purchased their first home, and now have twins on the way! Jamie Lee and Ross have to...
-
A block of mass 0.2 kg can slide over a frictionless horizontal surface. It is attached to a spring whose stiffness constant is k = 20 N/m. The block is pulled 38 cm and let go. a) What is its...
-
A kid drags his sled across the snow with a force of 150 N. Friction acts against the sled with a force of 25 N. If it takes the kids 372 seconds to drag the sled a distance of 150 meters, what is...
-
Assume that you have a long position in 50 1-month call option contracts . How do you hedge this long position in calls using 1-month puts? Should you long or short the puts? And how many put...
-
You worked hard to help Bob and Candi set up a qualified plan in January. They came to you today and said that, on September 30 th , Sam Sweet withdrew $2,000 from his Truffle Times qualified plan to...
-
The total electric flux from a cubical box of side. 13.0 cm is 1.85x10 Nm/C. What charge is enclosed by the box?
-
Kaylyn Company purchased an intangible asset for $ 4 5 0 , 0 0 0 on January 1 of Year 1 . On January 1 of Year 2 , the asset was evaluated to determine whether it was impaired. As of January 1 of...
-
Choose a topic you found to be difficult to understand. Research this topic and present your findings. Include a summary of the topic, why you found the topic to be difficult, and what you learned...
-
Write a declaration for each of the following: a. A line that extends from point (60, 100) to point (30, 90) b. A rectangle that is 20 pixels wide, 100 pixels high, and has its upper-left corner at...
-
Determine the number of palindromes of n, where all summands are even, for (a) n = 10; (b) n = 12; and (c) n even.
-
Determine the sequence generated by each of the following generating functions. (a) f(x) = (2x - 3)3 (b) f(x) = x4/(l - x) (c) f(x) = x3/(l - x2) (d) f(x) = 1/(1 + 3x) (e) f(x) = 1/(3 -x) (f) f(x) =...
-
Let G = (V, E) be the undirected connected "ladder graph" shown in Fig. 11.94. For n ¥ 0, let an denote the number of ways one can select n of the edges in G so that no two edges share a common...
-
Schenk, Inc., sells desk lamps and desks. The following information is from the June income statement. Schenks management is interested in knowing the number of lamps and desks it must sell to earn...
-
Ratliff Corporation produces lawn fertilizer spreaders. Ratliffs income statement shown has been prepared for August of the current year. Instructions: 1. Prepare Ratliffs August income statement...
-
Millard, Inc., sold 68,000 computer printers last year with the following results. Complete each of the following instructions independently of the others. Instructions: 1. Millard projects that it...
Study smarter with the SolutionInn App