




免费预览已结束,剩余15页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
I. Introductiona. System reference We assumed both Marias Computer co. and potential customers. 1. For a customer who wants to buy computer. . Screen set to 640 * 480 and 256 color (If not, causes text to be obscured by side margin by our model.) . 28.8k or 56k modems (This can spare graphics and make color reduction.) . Netscape 2.0 over or MS Explore 3.0 over (This can supports Java script.) 2. Second, for Maria computer co . VB basic or Ms Access . MS window 95 or NT . Personal web server b. Overall description . Managing the web server . Controlling the database interactively . Real time executionc. Software project constraintsII. Information Descriptiona. Information content representation See App.1 .customer:customer_id, customer_name, etc . .product:product_id, product_name, brand, etc. .payment:order_number, payment pattern, shipping & handling, etc. b. Information flow representation1. Data flow see App.2event start = customer = selection_product = selection_pay,delivery = final_decision =endIII. Functional Description a. Functional partitioning This on-line shopping system is partitioned into three functions: processing user ID, selecting computer-related products, and choosing payment & shipping patterns. b. Functional description See App.3 1. Restrictions / limitation Since time is very limited, the first product does not included a report, which can be handed in the supervisor, so that this on-line store can be operated more systematically. Those customers can not receive our shopping news monthly. Now the on-line order is limited in the North America since the mailing fees would be very high if we sell products to other countries. We will improve it in the future.This on-line store can only be useful for USD and Canadian Dollars.Since the order of mainframe is very limited, now we do not keep kinds of products in our product inventory. 2. Processing narrative In “processing user ID” function, since this system is only available for some one who is in North America, this function can not process the address which is out of USA and Canada.In “selecting computer products” function, mainframe will not available and not every brand included. 3. Design constraints The customer can only cancel the order before “selecting payment & shipping pattern” function. Once the customers input the credit card numbers or other payments pattern, they can not drop the order. We will provide verification before they input the payments pattern so that they will know the order can not be dropped. But if the customer is not satisfied with the products, we have the full-refund policy.Any customer who wants to order products, he or she must have user ID. Selected ProductInformation 4. Supporting diagramsCustomerOn-line Shopping systemProductsc. Control Description See App.4 1. Control specification . When the products ordered by a customer is out-of-stock, display “ It is out-of-stock now” . When the customer inputs other countrys address, display “ It is only available within North America”. . When the customer cancel the order or do not want to enter this web page further, go back. 2. Design constraints Customer will not be allowed to drop the order after he or she had selected payment and mailing patterns.IV. Behavioral DescriptionThere are 3 levels of State Diagram.a. State Diagram Level 1 See App.5 We have 4 states such as Reading User Input, Select Computer Component, Check User ID and Choosing Payment Pattern. Each state has an external event that causes the system to change state. From Reading User Input State, there are two options that customer can select. First, when customer selects shopping button on screen, the shopping page (Select Computer Components page) will be activated. From Select Computer Components stage, if customer selects item that he wants to buy or exit the program, the stage “Choosing Payment Pattern” will be activated. After he selects payment pattern, the software will invoke input screen again for waiting customer input. The second option is to create customer profile in database. After creating customer profile, customer can select computer that he wants to buy or exit program.b. State Diagram Level 2 See App.6 1. For Selecting Computer ProductsWe have 3 states: Reading User Input, Selecting Computer Products & Brands and Calculating Expense. Each state has an external event that causes the system to change state. From Reading User Input, when customer wants to buy a product, the software will invoke the shopping page. After the customer selects product & brand that he wants to buy, the software will invoke calculation expense of the product. 2. For Processing Customer ID & Display InvoiceWe have 4 states: Reading User Input, Check Customer ID, Creating Customer ID and Displaying Customer Information & Item Selected. Each state has an external event that causes the system to change state. From Reading User Input, when customer wants to buy something, he has to put customer ID. If he is not a member, the software will invoke Creating Customer ID page. If he is a member and he wants to display product that he chose in the past, the software will invoke Displaying Customer Information & Item Selected Page. 3. For Selecting Payment & Shipping PatternWe have 3 states: Reading User Input, Select Payment & Shipping Pattern and calculating total expense. Each state has an external event that causes the system to change state. Form Reading User Input, when customer selected products and brands already, he has to select payment and mail pattern to pay his products. After that, the software will invoke Total Amount Page that customer can understand how much he has to pay for the product. c. State Diagram Level 3 See App.7 1. For Display Customer IDWe have 4 states such as Reading User Input, Display Information, Update Information, and Customer checks order. Each state has an external event that causes the system to change state. From Reading User Input, when customer selects the product that he wants, before he submits the process, the confirmation page will show him to confirm the product that he selected. In this level, he can also select the button display ordered product that will show him about the list of product that he bought, total price and type of shipping. V. validation and CriteriaOne of the requirements in this software is interactive web site: which means ZEROMAINTENACE in web site and company database both. The customer ID is produced in database automatically and obtained when the customer wants to get it. And when the customer summit, the data is updated automatically. Testing for Marias on-line computer store Case testing: White box tests are done by Jin-Tak and NarumonPDL:1 Do until finish shopping2 Input product & brand3 If the quantity of product is null4 then display “out-of store” go back 25 else update cart store6 calculate sum of prices7 if products are not correct8 then go back 29 else input payment & mail pattern 110 if new customer11 then input customer information12 if the address is not in North America 213 then display “It is limited in North America” , go to 1814 else build customer-ID15 else input customer-ID 316 display customer information17 update order store 518 if continue shopping, go back 2 419 else end do 6Flow graph: 7 8 910111516121314171819V(G)=6E-N+2=6P+1=6Basis set:Path 1: 1 2 3 5 6 7 9 10 15 16 17 18 19Path 2: 1 2 3 4 2 3 5 6 7 9 10 15 16 17 18 19Path 3: 1 2 3 5 6 7 8 2 3 5 6 7 9 10 15 16 17 18 19Path 4: 1 2 3 5 6 7 9 10 11 12 14 17 18 19Path 5: 1 2 3 5 6 7 9 10 11 12 13 19Black Box Testing:For function “Selecting Computer Product”Does it calculate the sum of prices correctly?Does the cart store show the correct information?For function “Selecting payment & shipping pattern”If the products are not what customers want, can they go back shopping?For function “Purchase items”Can we identify the customer-ID correctly?Can we build customer-ID correctly?Does the “ Display customer information and items” show the information correctly? VI. Appendix1. A ER Diagram ER Diagram CompanyCustomerPayManageDeliveryBuyProducta. Dat object Type HierarchiesData Object Type HierarchiesHardwareExplorerOSApplicationDesktop1417MonitorComposedIBMHPCompaqLaptopInkjetLaserPrinterSoftwareComposedc. Data dictionary 1. Social Security NumberName : SSN#Aliases : noneWhere used/ how used : Search informationDescription : SSN# = Access number Access number = *any nine number string* 2. First NameName : first_nameAliases : noneWhere used/ how used : Search, add, delete and update customer databaseDescription : first_name = Access name Access name = *any name string*3. Last NameName : last_nameAliases : noneWhere used/ how used : Search, add, delete and update customer databaseDescription : last_name = Access name Access name = *any name string*4. Middle NameName : mid_nameAliases : noneWhere used/ how used : Search, add, delete and update customer databaseDescription : mid_name = Access name Access name = *any name string*5. AddressName : addressAliases : noneWhere used/ how used : Search, add, delete and update customer databaseDescription : address = address number + street name address number = *any number string* street name = *any street name string*6. CityName : cityAliases : noneWhere used/ how used : Search, add, delete and update customer databaseDescription : city = *any city name string* 7. ZipcodeName : zipcodeAliases : noneWhere used/ how used : Search, add, delete and update customer databaseDescription : zipcode = Access zipcode name Access zipcode name = *any five number string*8. Phone numberName : phone#Aliases : noneWhere used/ how used : Search, add, delete and update customer databaseDescription : phone# = long distance numberlong distance number = (1) + area code + local number local number = prefix number + access number prefix number = 795|799|874|877 access
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 超高精度导向设计-洞察及研究
- 工厂设备租赁协议
- 2025年床头末端装置项目合作计划书
- 企业采购可再生能源产品合作合同
- 2025上海市非全日制从业人员劳动合同模板
- 2025年上海市水果采购合同样本
- 安保人员培训课件
- 助理竞聘面试题目及答案
- 诗词诵读训练计划:高一语文阅读理解教学
- 司库奇尤单抗治疗银屑病专家共识(2024版)解读 4
- 2025年湖北省中考语文试卷真题(含标准答案)
- 2025-2030年中国反光运动服行业市场现状供需分析及投资评估规划分析研究报告
- 二级安全培训题库及答案
- 房东租房合同免责协议书
- 公路声屏障安装施工合同
- T/CECS 10400-2024固废基胶凝材料
- 劳动纪律管理培训
- 《文字之旅》教学课件-2024-2025学年苏少版(2024)初中美术七年级上册
- 《胰高糖素样肽-1受体激动剂联合胰岛素治疗2型糖尿病专家共识(2025版)》解读课件
- 精酿啤酒介绍
- 2023年护理质控工作总结
评论
0/150
提交评论