![數(shù)據(jù)庫管理系統(tǒng)概述英文版課件:3 project_第1頁](http://file4.renrendoc.com/view/67fcf2923ab1c8f25655740053da2673/67fcf2923ab1c8f25655740053da26731.gif)
![數(shù)據(jù)庫管理系統(tǒng)概述英文版課件:3 project_第2頁](http://file4.renrendoc.com/view/67fcf2923ab1c8f25655740053da2673/67fcf2923ab1c8f25655740053da26732.gif)
![數(shù)據(jù)庫管理系統(tǒng)概述英文版課件:3 project_第3頁](http://file4.renrendoc.com/view/67fcf2923ab1c8f25655740053da2673/67fcf2923ab1c8f25655740053da26733.gif)
![數(shù)據(jù)庫管理系統(tǒng)概述英文版課件:3 project_第4頁](http://file4.renrendoc.com/view/67fcf2923ab1c8f25655740053da2673/67fcf2923ab1c8f25655740053da26734.gif)
![數(shù)據(jù)庫管理系統(tǒng)概述英文版課件:3 project_第5頁](http://file4.renrendoc.com/view/67fcf2923ab1c8f25655740053da2673/67fcf2923ab1c8f25655740053da26735.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、COMP231 ProjectProject SpecificationPrepared by Raymond WongPresented by Raymond WongCOMP231 Project1OutlineProgramming DetailsDeadlineHand inWorkflowGrading PolicyStubsDemoProject TopicImportant PointSampleCOMP231 Project2Group Forming1 or 2 members per groupPlease send an email containing the foll
2、owing information of each member to our tutor, Grace, to form a group. student IDstudent nameemailCOMP231 Project31. Programming DetailsLanguage: Java (with JDBC)Java Version: Java SDK 6.0 (Version 1.6.0)Testing Platform: LinuxCOMP231 Project42. Deadline17 Sept, 2009 3:00pm28 Sept, 2009 3:00pm13 Oct
3、, 2009 3:00pm16 Nov, 2009 3:00pmPhase 1Phase 2Phase 3Phase 4COMP231 Project53. Hand inER Diagram (hard-copy)A suggested answer released after the deadlineDatabase Application (soft-copy)Insert data into DB Programming in Java and JDBCRelational schema and the Proof of 3rd normal form (hard-copy)A su
4、ggested answer released after the deadlineSample Data and Data Reader released after the deadlineSystem Interface with Stubs (i.e. Your Database Application with Stubs) (soft-copy)Programming in JavaPhase 1Phase 2Phase 3Phase 410%20%20%50%COMP231 Project64. WorkflowPhase 1 DeadlinePhase 1Phase 2Phas
5、e 3Phase 4Phase 2DeadlinePhase 3DeadlinePhase 4DeadlinetodayJava Program (Stubs)Relation and 3NFJava Program (Full)ERSuggested ER ReleasedSuggested Relation and 3NF ReleasedData Set and Data Reader Released No Late Submission is allowed for Phase 1 and Phase 3Late submission is allowed for Phase 2 a
6、nd Phase 4COMP231 Project75. Grading PolicyPhase 4The time for the insertion of DB should NOT be too slow Within 10 seconds is OK.More than 10 seconds insertion may lead to mark deduction!Same for query from the database Possible Reason: In JDBC, some students call the method of “Opening Connection”
7、 (i.e. getConnection) many timesThe method “getConnection” should be called once.50%COMP231 Project86. StubsER Diagram (hard-copy)A suggested answer released after the deadlineDatabase Application (soft-copy)Insert data into DB Programming in Java and JDBCRelational schema and the Proof of 3rd norma
8、l form (hard-copy)A suggested answer released after the deadlineSample Data and Data Reader released after the deadlineSystem Interface with Stubs (i.e. Your Database Application with Stubs) (soft-copy)Programming in JavaPhase 1Phase 2Phase 3Phase 410%20%20%50%COMP231 Project96. StubsTop-down design
9、 in software engineering cyclePropertyCan be executedDoes something to tell you that it can be executed successfullyDoesnt (yet) do the details of what you really want it to doHas the structure of how you want it doneCOMP231 Project106. StubsNeed to refine at the end of the software engineering cycl
10、eIn this project,No JDBC is required in Phase 2No Data Reading Part is required in Phase 2Advantages:Implement the system interface in the early stageFocus on the Java implementation in Phase 2Focus on the REAL implementation (JDBC) in Phase 4Allow the new learners to write simple Java programsCOMP2
11、31 Project116. Stubs - Arithmetic OperationsArithmetic OperationsAdditionSubtractionMultiplicationDivisionCOMP231 Project126. Stubs - Arithmetic OperationsArithmetic OperationsAddition/ to add two numbers, no1 and no2public int addition(int no1, int no2)/ temporarily, we always return 12 return 12;C
12、OMP231 Project136. Stubs - Arithmetic OperationsArithmetic OperationsSubtraction/ to subtract number no1 from number no2public int subtraction(int no1, int no2)/ temporarily, we always return 13 return 13;COMP231 Project146. Stubs - Arithmetic OperationsArithmetic OperationsMultiplication/ to multip
13、ly number no1 by number no2public int multiplication(int no1, int no2)/ temporarily, we always return 14 return 14;COMP231 Project156. Stubs - Arithmetic OperationsArithmetic OperationsDivision/ to divide number no1 by number no2public int division(int no1, int no2)/ temporarily, we always return 15
14、 return 15;COMP231 Project166. Stubs - Arithmetic OperationsArithmetic OperationsInterface / to display the arithmetic menupublic static void main(String args)/ here, we need to implement for the flow/ display the menu/ allow the user to choose one of the functions in the menu/ check the input and c
15、all the correspondence functionCOMP231 Project176. Stubs - BankBankCustomer Interface Bank Interface Display Balance Display Record Address Update Given an account no,display the balanceGiven an account no,display the transaction recordsGiven an account no and the address (to be updated), update the
16、 address of the customer who has that accountCOMP231 Project186. Stubs - BankBankCustomer Interface Display Balance Given an account no,display the balance/ to display the balance of the account with account nopublic void displayBalance(String accountNo)/ temporarily, we always display 1000System.ou
17、t.println(“Balance:”+1000); return;COMP231 Project196. Stubs - BankBankCustomer Interface / to display the transaction recordspublic void displayRecord(String accountNo)/ temporarily, we always display two records/ Record 1System.out.println(“Date:”+”2009-09-12”);System.out.println(“Debit:”+350);/ R
18、ecord 2System.out.println(“Date:”+”2009-09-13”);System.out.println(“Debit:”+350);return;Display Record Given an account no,display the transaction recordsCOMP231 Project206. Stubs - BankBankBook Interface / to update the address of the customer who has that accountpublic void addressUpdate(String ac
19、countNo, String address)/ temporarily, we do nothing except prompting a messageSystem.out.println(“The update is successful!”);return;Address UpdateGiven an account no and the address (to be updated), update the address of the customer who has that accountCOMP231 Project216. Stubs - BankBankInterfac
20、e / to display the bank interfacepublic static void main(String args)/ here, we need to implement for the flow/ display the menu/ allow the user to choose one of the functions in the menu/ check the input and call the correspondence functionCombineCOMP231 Project227. DemoDuration: about 20 minsExecu
21、te on two kinds of data setsProvided data setAnother unseen data setCOMP231 Project237. DemoEach group can use at most one coupon regardless of the total number of members in the group.Each coupon can be used for one checking stepPlease bring the coupon to the demonstration.COMP231 Project248. Proje
22、ct TopicAn ordering system for a supermarket All the information on items, customers and purchase information are stored and accessed onlineCOMP231 Project258. Project TopicItemIIDItem NameUnit PriceNo of Units AvailableCOMP231 Project268. Project TopicCustomerCustomer IDCustomer NameDelivery Addres
23、sCredit Card NoCOMP231 Project278. Project TopicOrderOrder IDCustomer IDOrder DateItems OrderedChargeDelivery Status (Y/N)COMP231 Project289. Important PointE.g. Partial Match or Exact MatchInput: “ABC%”, Partial Match: “ABC Milk” may be the outputInput: “%ABC%”, “%ABC” or “ABC%”Exact match: “ABC”CO
24、MP231 Project2910. SampleER Diagram (hard-copy)A suggested answer released after the deadlineDatabase Application (soft-copy)Insert data into DB Programming in Java and JDBCRelational schema and the Proof of 3rd normal form (hard-copy)A suggested answer released after the deadlineSample Data and Dat
25、a Reader released after the deadlineSystem Interface with Stubs (i.e. Your Database Application with Stubs) (soft-copy)Programming in JavaPhase 1Phase 2Phase 3Phase 410%20%20%50%COMP231 Project3010. SamplePhase 1 and Phase 3ER-diagram, Relation and proof of the 3rd normal formE.g. Student takes a co
26、urseStudentStudent ID UniqueStudent NameCourseCourse ID UniqueCourse NameStudentStudent IDStudent NameCourseCourse IDCourse NameCOMP231 Project3110. SampleE.g. Student takes a courseStudentStudent IDStudent NameCourseCourse IDCourse NameTakeAssumption:Each student takes at least one courseEach course is taken by at least one studentSchemaStudentCourseTake(Student ID, Student Name)(Course ID, Course Name)(Student ID, Course ID)Phase 1 and Phase 3ER-diagram, Relation and proof of the 3rd normal formCOMP231 Project3210. SampleE.g. Student takes a courseAssump
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 小學(xué)生營養(yǎng)餐飯?zhí)霉ぷ魅藛T聘用合同范本
- 人員派遣租賃協(xié)議書范本
- 咖啡機(jī)租賃合同范本
- 混凝土班組勞務(wù)合同范本
- 寵物寵物寄養(yǎng)服務(wù)協(xié)議書范本
- 白酒代理協(xié)議書范本
- 二零二五年度法院調(diào)解協(xié)議書撤銷案件財(cái)產(chǎn)分割執(zhí)行合同
- 店中店合作合同范本
- 二零二五年度汽車維修保養(yǎng)抵押貸款服務(wù)協(xié)議
- 二零二五年度企業(yè)市場拓展顧問聘用協(xié)議
- 魏寧海超買超賣指標(biāo)公式
- 防洪防汛安全知識(shí)教育課件
- (正式版)FZ∕T 80014-2024 潔凈室服裝 通 用技術(shù)規(guī)范
- 新起點(diǎn)英語二年級(jí)下冊(cè)全冊(cè)教案
- 【幼兒園戶外體育活動(dòng)材料投放的現(xiàn)狀調(diào)查報(bào)告(定量論文)8700字】
- 剪映專業(yè)版:PC端短視頻制作(全彩慕課版) 課件 第3章 短視頻剪輯快速入門
- 湖南省長沙市開福區(qū)青竹湖湘一外國語學(xué)校2023-2024學(xué)年九年級(jí)下學(xué)期一模歷史試題
- 帶狀皰疹與帶狀皰疹后遺神經(jīng)痛(HZ與PHN)
- 漢密爾頓抑郁和焦慮量表
- 風(fēng)電場事故案例分析
- 前列腺癌的診斷與治療
評(píng)論
0/150
提交評(píng)論