Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Tsting Given the following: Start outlook IF outlook appears THEN Send an email Close outlook End if How many test cases are needed for statement
Tsting
Given the following: Start "outlook" IF outlook appears THEN Send an email Close outlook End if How many test cases are needed for statement and branch coverage? Select one: O a 1 test for statement coverage, 2 for branch coverage b. 2 test for statement coverage. 2 for branch coverage O c. 1 test for statement coverage, 1 for branch coverage O d. 1 tests for statement coverage, 3 for branch coverage Clear my choice what is the McCabe cyclomatic complexity number for the following code public static double Sum(double result) { result = 5; double i = 1; while (i num2) num3=numi- num2; if (num2 > 10) num3 = num2 +10; else num3 = num2 +5; return num3; Select one: O a. 2 O b.5 C. 4 O d. 3 Oe. 1Step 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