首页 面向对象

面向对象

举报
开通vip

面向对象nullnullA gas station is to be set up for fully automated operation. Drivers swipe their banking card through a card reader that is connected to each gas pump, the card is verified by communication with a credit card company computer and a fuel limit is establ...

面向对象
nullnullA gas station is to be set up for fully automated operation. Drivers swipe their banking card through a card reader that is connected to each gas pump, the card is verified by communication with a credit card company computer and a fuel limit is established according to the available balance in the client’s account. The driver may then take the fuel required. When fuel delivery is completed and the pump hose is returned to its holder, the driver’s credit card account is debited with the cost of the fuel taken. The credit card is returned after being debited with the cost of the fuel taken. If the credit card is invalid, the pump returns it before fuel is dispended. A central control system can shut off any pump that ran out of gas or turn on/off all pumps at times defined by the user. It also collects information about all transactions and automatically shuts off all pumps and calls the fire department in case of fire (detected by heat sensors on each pump).nullA. Provide a use case diagram for the above problem description. NOTE: You have to use at least one <> and one <> relationship [10%] B. Propose a main scenario for the “dispense fuel” use case. NOTE: Your scenario has to reflect the interactions with all the actors connected to it. [10%] :B. Propose a main scenario for the “dispense fuel” use case. NOTE: Your scenario has to reflect the interactions with all the actors connected to it. [10%] :Answer : a main scenario as below A driver gets a pump hose and then takes the fuel required by using his credit card which has been verified by creit card company.nullC. Provide a sequence diagram representing the above “dispense fuel” scenario. [10%] nullD. Provide a class diagram for the above problem description. [10%]
本文档为【面向对象】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_859980
暂无简介~
格式:ppt
大小:90KB
软件:PowerPoint
页数:0
分类:
上传时间:2010-11-29
浏览量:54