




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、i. introductiona. system reference we assumed both maria's 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 a
2、nd 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 t
3、ime 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
4、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
5、 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
6、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 canadi
7、an 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
8、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
9、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 product
10、s, 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 o
11、ther 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.
12、 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
13、 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 s
14、tage “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
15、 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 custome
16、r 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 custo
17、mer 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 cre
18、ating 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 p
19、attern 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
20、 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 sy
21、stem 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 th
22、e 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 obta
23、ined 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 nul
24、l4 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
25、 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
26、 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 c
27、orrect 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
28、” show the information correctly? vi. appendix1. a er diagram er diagram companycustomerpaymanagedeliverybuyproducta. dat object type hierarchiesdata object type hierarchieshardwareexplorerosapplicationdesktop14'17'monitorcomposedibmhpcompaqlaptopinkjetlaserprintersoftwarecomposedc. data dic
29、tionary 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 databasedescriptio
30、n : 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
31、 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
32、 = *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
33、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|
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- T/CCAS 003-2018水泥企業(yè)社會責任評價指標體系
- T/CASME 1063-2023會議話筒語音拾取超融合系統(tǒng)主機技術規(guī)范
- T/CAOE 12-2018大洋多金屬硫化物資源勘查技術規(guī)范
- 德興銅礦面試題及答案
- 高校神考試題及答案
- 小兒克羅恩病的臨床護理
- 建筑公司年度安全教育培訓工作總結模版
- 小汗腺痣的臨床護理
- 關于教練薪資提成協(xié)議書
- 中通快遞運輸合同范本
- 2025年四川省成都市青羊區(qū)中考二診化學試題(原卷版+解析版)
- 預收貨款協(xié)議合同
- 北京開放大學2025年《企業(yè)統(tǒng)計》形考作業(yè)3答案
- 2025年大數(shù)據(jù)分析師職業(yè)技能測試卷:數(shù)據(jù)倉庫設計與數(shù)據(jù)建模實戰(zhàn)試題匯編
- 2025屆福州教育學院附屬中學高考語文四模試卷含解析
- 2025年南京市七下期中英語試卷 (試卷版)
- 國有企業(yè)雙重目標導向與雙軌治理機制的研究進展及前景展望
- 2025年山東省煙草專賣局(公司)高校畢業(yè)生招聘(208名)筆試參考題庫附帶答案詳解
- 浙江省寧波市2024學年第二學期高考與選考模擬考試化學試卷及答案(寧波二模)
- 國開電大軟件工程形考作業(yè)3參考答案 (二)
- 棋牌轉讓免責協(xié)議書
評論
0/150
提交評論