Requirements Definition: Hotel Reservation

Requirements Definition: Hotel Reservation

<p> Faculty of Information Technology Philadelphia University Department of Software Engineering Lecturer: Dr. Samer Odeh Hanna Examiner: Dr. Mohammad Taye</p><p>Software Testing (0721430) -Section 1 Tutorial 1 First Semester of academic year 2015-2016 Date: Dec., 15th 2015 </p><p>A car insurance company provides insurance cover for vehicles. When a customer applies for insurance, the agent requests the following information: 1. Vehicle type 2. Vehicle production year 3. Age of the driver 4. If the vehicle has made accidents last year or not Vehicle type could be: Car, Truck, Van or Motorcycle.</p><p>For Car, Truck, and Van:</p><p>If the production year >=2010 then the insurance = 150 JD, if the production year >=2008 and <2010 then the insurance is 120 JD otherwise the insurance is 100 JD.</p><p>If the age of the driver is >= 60 then 20 JD is added to the insurance price</p><p>If vehicle had made an accident last year then another 30 is added to the insurance price.</p><p>The system outputs the amount of insurance according to the following:</p><p>For Motorcycles, the insurance price is always 80 JD.</p><p>Suppose that the insurance company has a method that is used to compute the insurance price for a vehicle given the previous information. The name of this method is find_insurance; The psudocode of this method is public int find_insurance(String type, int year, int age, boolean accident) { if type is car or truck or van then { if year>=2010 then insurance = 150 else if year>=2008 then insurance=110 else insurance = 100 if age > 60 then insurance+=20 if accident then insurance+=30 } else insurance = 75 }</p><p>1. Boundary value analysis 2. Robustness testing 3. Worst case testing 4. Worst case robustness testing</p><p>1 5. Special value testing 6. Weak normal equivalent class testing 7. Strong normal equivalent class testing 8. Weak robust equivalent class testing 9. Strong robust equivalent class testing 10. Modify the code based on the testing results. </p><p>2</p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    2 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us