Question

White-box software testing techniques. Perform basis path testing to the average function. A.) Based on the...

White-box software testing techniques. Perform basis path testing to the average function.

A.) Based on the basis path testing, how many test cases should be applied to the average function? Why?

B.) What are these basis paths? Give a sample test input for each test case.

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Generate test cases for the following code by using Basic Path Testing. void sort(int a[ ],int...
Generate test cases for the following code by using Basic Path Testing. void sort(int a[ ],int N) {     int i,j,p,t;        for(i=0;i<N-1;i++)        {     p=i;               for(j=i+1;j<N;j++)                      if(a[j]>a[p]) p=j;               if(p!=i)               {     t=a[p];  a[p]=a[i];     a[i]=t;   }        } } a)       Draw CFG. b)       How many basic paths for the CFG? c)        List the basic paths. d)       Generate test cases from it.
Which of the following is least applicable in black box testing? A) Specification of the system...
Which of the following is least applicable in black box testing? A) Specification of the system B) Understand the environment in which the software will be deployed C) Source code D) Use cases Which of the following “quality dimensions” are applicable for WebApps: A) usability, performance, interoperability B) security, maintainability, navigability C) content, structure, function D) all of the above An objective of content testing is: A) to uncover syntactic errors (e.g., typos, grammar mistakes) in text-based documents, graphical representations,...
Coca-cola is testing a new processing line for filling 16-oz. bottles. They perform a test run...
Coca-cola is testing a new processing line for filling 16-oz. bottles. They perform a test run in which 100 cases, each containing 24 bottles, are completed. From this test-run they randomly select 6 cases and take measurements on 5 randomly selected bottles from each case. Results for each of the six cases are shown in the table below. Estimate the average number of ounces per bottle and provide an appropriate error bound for your estimate. Case Average Fill for the...
(Hypothesis Testing Questions) You perform the Hypothesis test, and you find the following information. What would...
(Hypothesis Testing Questions) You perform the Hypothesis test, and you find the following information. What would be your conclusion and why? A coffee shop relocates to Italy and wants to make sure that all lattes are consistent. They believe that each latte has an average of 4 oz of espresso. If this is not the case, they must increase or decrease the amount. A random sample of 25 lattes shows a mean of 4.6 oz of espresso and a standard...
AHW2) Hello I have an agile software development methodology that is proposed by the combining the...
AHW2) Hello I have an agile software development methodology that is proposed by the combining the two other agile development methodologies, my question is how can I draw its process model that describe it entirely(as drawing graphs). The description of the new proposed methodology is given below: 1. The new Agile methodology is "Feature and Test Driven Development". 2. Feature Driven Development (FDD) is an iterative and incremental Agile methods for developing software. This is client centric pragmatic Software process....
(a) Write an algorithm (use pseudo-code) to determine whether a function f ∶ Z100 → Z100...
(a) Write an algorithm (use pseudo-code) to determine whether a function f ∶ Z100 → Z100 is surjective. That is, supply a “Method” to go with Input: A function (array) f with f(i) ∈ Z100 for i = 0, 1, . . . , 99. Output: Boolean B. B=‘true’ if f is surjective, ‘false’ otherwise. Try to make your algorithm as efficient as possible. Do NOT include an implementation of your algorithm in a programming language. (b) How many comparisons...
BACKGROUND: According to the Educational Testing Service (ETS), the national average on the Graduate Record Examinations...
BACKGROUND: According to the Educational Testing Service (ETS), the national average on the Graduate Record Examinations (GRE), a standardized test that is an admissions requirement for most graduate schools in the United States, is 302.60 (with the verbal and quantitative subsections combined). Unfortunately, ETS does not provide a standard deviation for total GRE score (only standard deviations for the two subsections), so let’s just use a standard deviation of 12. PROBLEM (FICTIONAL): ETS has received number complaints from universities that...
SUBJECT : Quantitative Techniques (MBA) Question 1 The Inland Revenue Board says that the average income...
SUBJECT : Quantitative Techniques (MBA) Question 1 The Inland Revenue Board says that the average income in Taiping is RM15000. A sample of 45 people found that their mean income to be RM14300 with a standard deviation of RM2000. (a) Use a 5% significance level to check the claim. [18 marks] (b) Test the effect of using a 1% significance level. [8 marks] (c) If there is a difference in the two test results, explain the reason for the difference....
In this discussion, you will apply the statistical concepts and techniques covered in this week's reading...
In this discussion, you will apply the statistical concepts and techniques covered in this week's reading about hypothesis testing for the difference between two population proportions. In the previous week’s discussion, you studied a manufacturing process at a factory that produces ball bearings for automotive manufacturers. The factory wanted to estimate the average diameter of a particular type of ball bearing to ensure that it was being manufactured to the factory’s specifications. Recently, the factory began a new production line...
In this discussion, you will apply the statistical concepts and techniques covered in this week's reading...
In this discussion, you will apply the statistical concepts and techniques covered in this week's reading about hypothesis testing for the difference between two population proportions. In the previous week’s discussion, you studied a manufacturing process at a factory that produces ball bearings for automotive manufacturers. The factory wanted to estimate the average diameter of a particular type of ball bearing to ensure that it was being manufactured to the factory’s specifications. Recently, the factory began a new production line...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT