A farmer records the milk production of a herd of cows. Every cow has a unique...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A farmer records the milk production of a herd of cows. Every cow has a unique 3-digit identity code. Each cow can be milked twice a day, seven days a week. The volume of milk from each cow is recorded in litres correct to one decimal place (yield) every time the cow is milked. The size of the herd is fixed. At the end of the week the total and the average yield for each cow for that week is calculated. The farmer identifies the cow that has produced the most milk that week. The farmer also identifies any cows that have produced less than 12 litres of milk on four or more days that week. A program is required to record the yield for each cow every time it is milked, calculate the total weekly volume of milk for the herd and the average yield per cow in a week. The program must also identify the cow with the best yield that week and identify any cows with a yield of less than 12 litres of milk for four or more days that week. Design a suitable screen design for the given scenario (one screen to capture all the details) Write test scenarios to test above case including, a. Positive/Negative test scenarios b. c. Proper validation message 3. What are the entry and exit test criteria for the above scenario. 1. 2. Functional / Non functional test scenarios A farmer records the milk production of a herd of cows. Every cow has a unique 3-digit identity code. Each cow can be milked twice a day, seven days a week. The volume of milk from each cow is recorded in litres correct to one decimal place (yield) every time the cow is milked. The size of the herd is fixed. At the end of the week the total and the average yield for each cow for that week is calculated. The farmer identifies the cow that has produced the most milk that week. The farmer also identifies any cows that have produced less than 12 litres of milk on four or more days that week. A program is required to record the yield for each cow every time it is milked, calculate the total weekly volume of milk for the herd and the average yield per cow in a week. The program must also identify the cow with the best yield that week and identify any cows with a yield of less than 12 litres of milk for four or more days that week. Design a suitable screen design for the given scenario (one screen to capture all the details) Write test scenarios to test above case including, a. Positive/Negative test scenarios b. c. Proper validation message 3. What are the entry and exit test criteria for the above scenario. 1. 2. Functional / Non functional test scenarios
Expert Answer:
Answer rating: 100% (QA)
1 Screen Design image 2 Test Scenarios a Positive Negative test scenarios Test Scenario Expected Result Enter a valid cow ID and a valid yield The yield is recorded and the total and average yield for ... View the full answer
Related Book For
Introduction to Management Science A Modeling and Cases Studies Approach with Spreadsheets
ISBN: 978-0078024061
5th edition
Authors: Frederick S. Hillier, Mark S. Hillier
Posted Date:
Students also viewed these programming questions
-
You place 1,000 in a 4-year investment which makes no interest payments but yields 5.4% per annum compound. How much do you expect to receive at the end of 4 years?
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
The following information is computed from Fast Food Chains annual report for 2006. 2006 2005 Current assets $ 2,731,020 $ 2,364,916 Property and equipment, net 10,960,286 8,516,833 Intangible...
-
The equation x2 xy + y2 = 3 represents a rotated ellipse, that is, an ellipse whose axes are not parallel to the coordinate axes. Find the points at which this ellipse crosses the axis and show that...
-
Assume you pay the reduced amount of $4,405 for a corporate stock that has a market value of $5000. The stock pays an annual dividend of 4.5% of its market value. Since this is primarily a...
-
Use the forward equation to find the spot rate curve for the lattice constructed in Exercise 1. Data from Exercises 1 Construct a short rate lattice for periods (years) 0 through 9 with an initial...
-
1. Why would a $500,000 salary cap prompt personnel to leave for other banks? 2. Was the stripping of Lewiss chairmanship a significant move on the part of BoA shareholders? 3. How could John Thain...
-
Nash Inc., a greeting card company, had the following statements prepared as of December 31, 2025. Nash Inc. Comparative Balance Sheet As of December 31, 2025 and 2024 12/31/25 12/31/24 Cash $5,900...
-
Combining like terms in a quadratic Simplify the below expression. 6x^(2)+3-2x-5x^(2)-11x
-
Brighton Memorys stock is currently trading at $50 a share. A call option on the stock with a $35 strike price currently sells for $21. What is the exercise value of the call option? ($15.00) What is...
-
A bond currently sells for $1,250. It pays a $110 annual coupon and has a 20-year maturity, but it can be called in 5 years at $1,110. What are its YTM and its YTC? (8.38%, 6.85%) Is the bond likely...
-
Yegis Fine Phones has a current stock price of $30. You need to find the value of a call option with a strike price of $32 that expires in 3 months. Use the binomial model with one period until...
-
A bond currently sells for $850. It has an 8-year maturity, an annual coupon of $80, and a par value of $1,000. What is its yield to maturity? (10.90%) What is its current yield? (9.41%)
-
Lett Incorporateds stock price is now $50, but it is expected either to rise by a factor of 1.5 or to fall by a factor of 0.7 by the end of the year. There is a call option on Letts stock with a...
-
( ) 1. What is one disadvantage of an S-R flip-flop? a. It has no enable input. b. It has an invalid state. c. It has no clock input. d. It has only a single output ( ) 2. If both inputs of a gated...
-
In the busy port of Chennai, India, the number of containers loaded onto ships during a 15-week period is as follows: 1. Develop a linear trend equation to forecast container loadings. 2. Using the...
-
Read the referenced article that fully describes the management science study summarized in the application vignette presented in Section 1.3. Summarize the five major reasons given for why...
-
Formulate and solve a spreadsheet model for the maximum flow problem shown at the top of the next column, where node A is the source, node F is the sink, and the arc capacities are the numbers in...
-
The Hammaker Company's newest product has had the following sales during its first five months: 5, 17, 29, 41, 39. The sales manager now wants a forecast of sales in the next month a. Use the...
-
Suppose that in September 2013 a company takes a long position in a contract on May 2014 crude oil futures. It closes out its position in March 2014. The futures price (per barrel) is \($88.30\) when...
-
Explain how the control variate technique is implemented.
-
A company wishes to hedge its exposure to a new fuel whose price changes have a 0.6 correlation with gasoline futures price changes. The company will lose $1 million for each 1 cent increase in the...
Study smarter with the SolutionInn App