Sotware Engineering

Software Engineering

 

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.

Hint:Only giving the name of the process model will not get any grade.

 

 

 

 

 

 

  1. 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.

 

 

 

 

 

 

 

 

  1. Please list three measurable non-functional requirements in this project.

Hint: Non-measurable non-functional requirements will not get any grade.

 

 

 

 

 

 

 

 

  1. Please draw one use case diagram for this project.

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

  1. 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.

Hint: Make sure it is consistent with your use case specification in Question 5.

 

 

 

 

 

 

 

 

 

 

 

 

 

  1. 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.

Hint: Only giving the name of the architectural style will not get any grade.

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

  1. 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.

Hint: you can paste screenshots when describing your example.

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

  1. 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.

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

  1. 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<length; i++)

{

sum += numbers [ i ];

}

mean = sum / (double) length;

varsum = 0;

for (inti = 0; i<length; 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.

  1. What are the test requirements for edge coverage?

 

 

 

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

 

 

 

 

  1. 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.

Hint: Not providing expected outputs will get 1 point deduction.Not matching test paths with their corresponding input/output will get 1 point deduction.

 

 

 

 

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

 

 

 

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

 

 

 

 

 

 

  1. 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.

Hint: Not providing expected outputs will get 2 points deduction. Not matching test paths with their corresponding input/output will get 2 points deduction.

 

 

 

 

 

Order from us and get better grades. We are the service you have been looking for.