标题: 小弟考试题,实在是不会,请达人帮帮忙,谢谢! [打印本页] 作者: LauStephen 时间: 2008-10-2 00:10 标题: 小弟考试题,实在是不会,请达人帮帮忙,谢谢! The VCD rental shop wants to automate the rental collection process. Following is the set of requirements for a VCD rental shop.
The VCD rental shop has three types of members, and every member can choose to stop their current member type
1. Permanent members
2. Seasonal Members
3. Temporary Members
1. Permanent Member - Permanent member are the one who are registered for life time (10 Years from the date of registration)
2. Seasonal Members - Seasonal Members are the one who are registered only for a shorter duration of time.
The season member period timings are further classified as follows
a. S1 - Seasonal member who is registered for a period of a year (valid for 1 year from the date of registration)
b. S2 - Seasonal member who is registered only for 6 months period (valid for 6 months from the date of registration)
c. S3 - Seasonal member who is registered only for 3 months period (valid for 3 months from the date of registration)
d. S4 - Seasonal member who is registered only for 1-month period (valid for 1 month from the date of registration)
3. Temporary members are the one whose names are added to the register temporarily
Similarly there are different types of VCD rented by VCD store
1. Movies – 20 Rs / Day
2. Documentaries – 20 Rs / Day
3. Games CDs – 50 Rs / Day
4. Sports (Foot ball/cricket matches) – 30 Rs / Day
The cost per transaction varies based on the type of CD rented and the type of customer who rented the CD and also the time period for which CD is rented. The details are detailed below
S.No. Customer Type Cost of membership in Rupees Free Transactions Allowed per month Cost of Additional Transactions in percentage of membership cost
1 Permanent 10,000 30 0.5%
2. Seasonal - S1 1200 12 1%
3. Seasonal –S2 600 7 2.5%
4. Seasonal – S3 300 7 5%
5 Seasonal - S4 100 7 15%
6. Temporary 15 1 --
*One transaction corresponds to renting of one VCD on per day basis
This information is used to prepare bills on monthly basis.
Comments:
• Write the possible high-level test scenarios for the test, and give detailed test cases with test data and expected results for 2 scenarios as following:
* Adding Members
* Bill calculating
• Please write down the concerns/confusions that you want to clarify
- Please make one appropriate assumption for each of your concerns/confusions and write them down before you give your test cases