51Testing软件测试论坛

标题: 一道面试题的思考 [打印本页]

作者: Wheatlee    时间: 2008-8-6 22:02
标题: 一道面试题的思考
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
作者: Wheatlee    时间: 2008-8-6 22:03
大家说说有什么思路呢?
作者: Wheatlee    时间: 2008-8-6 22:04
我不知道应该怎么答。反正我的答案人家说不对。
作者: Wheatlee    时间: 2008-8-11 08:42
顶一下。没有人回答吗?
作者: dabeixiong    时间: 2008-8-14 09:48
.....没看明白都...
作者: EmilyKong    时间: 2009-3-14 22:40
标题: Cost of Additional Transactions in percentage of membership cost
Cost of Additional Transactions in percentage of membership cost
怎么理解?
你当时计算bill用的什么公式?
作者: TKHL    时间: 2009-11-18 18:38
标题: ......
楼主后来会这道题了吗?有没有完整的答案啊




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2