51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 6080|回复: 6
打印 上一主题 下一主题

[讨论] 一道面试题的思考

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-8-6 22:02:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2008-8-6 22:03:02 | 只看该作者
大家说说有什么思路呢?
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2008-8-6 22:04:27 | 只看该作者
我不知道应该怎么答。反正我的答案人家说不对。
回复 支持 反对

使用道具 举报

该用户从未签到

4#
 楼主| 发表于 2008-8-11 08:42:09 | 只看该作者
顶一下。没有人回答吗?
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2008-8-14 09:48:35 | 只看该作者
.....没看明白都...
回复 支持 反对

使用道具 举报

该用户从未签到

6#
发表于 2009-3-14 22:40:19 | 只看该作者

Cost of Additional Transactions in percentage of membership cost

Cost of Additional Transactions in percentage of membership cost
怎么理解?
你当时计算bill用的什么公式?
回复 支持 反对

使用道具 举报

该用户从未签到

7#
发表于 2009-11-18 18:38:24 | 只看该作者

......

楼主后来会这道题了吗?有没有完整的答案啊
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-14 21:10 , Processed in 0.083077 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表