What are the test requirements for edge coverage what are


Software Engineering Assignment

Background for Question 1-7: Kean University is planning on doing away with the parking permits used previously and moving towards a "pay as you go" system employing price elasticity (i.e., the parking price will change based on current demand for that particular parking garage at a particular time). In such a system, each parking space will be fitted with an RFID sensor to detect if the spot is being used and each parking garage will have a number of parking pass kiosk systems that will allow a user to purchase a ticket for a requested period of time. To determine the parking price, the kiosk will determine the current system usage (i.e., the demand for parking in all parking garages across campus as well as the kiosk's home garage) and utilize historical parking demand data for that time period. Users will be able to pay for their parking using a credit card or their KU Card.

Your company has won the contract and you will lead the entire project. Answer the following questions based on the background.

1. Which software process model would you use in this project? Please provide all the assumptions you use for making the decision, and please justify your answer.

2. Please list three functional requirements in this project. For each functional requirement you list, please identify whether it is functional user requirement, or functional system requirement.

3. List three measurable non-functional requirements in this project.

4. Draw one use case diagram for this project.

5. For the use case of "purchase a ticket for a period of time at kiosk", please provide use case specification using the below template

6. For the use case of "purchase a ticket for a period of time at kiosk", please draw one sequence diagram based on the use case specification.

7. Please describe what software architectural style you would use for this project. Please provide all the assumptions you use for making the decision, and please justify your answer.

8. In your own words, please describe open-closed principle. Devise an example that shows your understanding of the principle.

9. In user interface design, please provide three principles that can reduce the user's memory load. Devise a simple example that shows your understanding of the one of the three principles.

10. In your own words, please describe the software quality dilemma.

11. We have talked about one measure of software reliability is mean-time-between-failure (MTBF), where MTBF = MTTF + MTTR, and software availability is defined as Availability = [MTTF/(MTTF + MTTR)] x 100%. Please describe these two formulas in your own word.., and provide an actual example (with actual numbers of hours), to show your understanding of the two formulas.

12. In your own words,please describe unit, integration, and regressiontesting. (6 pts)Explain how they are related.

13. In your own words, please describe top-down and bottom-up integration testing. Devise a simple example that shows your understanding of both topics.

14. In your own words, please describeverification and validation, and discuss the differences between them.

15. Below is a small program that computes the standard deviation of an array.

publicstaticvoid computeSD (int [ ] numbers)
{
intlength = numbers.length;
doublevar, sd, mean, sum, varsum;
sum = 0;
for (inti = 0; i {
sum += numbers [ i ];
}
mean = sum / (double) length;
varsum = 0;
for (inti = 0; i {
varsum = varsum + ((numbers [ i ] - mean) * (numbers [ i ] - mean));
}
var = varsum / ( length - 1.0 );
sd = Math.sqrt ( var );
System.out.println ("standard deviation: " + sd);
}

Based on the program's control flow graph below, answer the following questions.

a. What are the test requirements for edge coverage?

b. List test path(s) that achieves the edge coverage.

c. Provide test inputs and expected outputs for each test path you list. If it is not possible to find the test input for certain test path, describe the reason.

d. What are the test requirements for edge-pair coverage?

e. List test paths that achieve the edge-pair coverage.

f. Provide test inputs and expected output for each test path you list. If it is not possible to find the test input for certain test path, describe the reason.

Attachment:- Software-Engineering-Assignment.rar

Request for Solution File

Ask an Expert for Answer!!
Software Engineering: What are the test requirements for edge coverage what are
Reference No:- TGS02555355

Expected delivery within 24 Hours