講解:COMP201命斧、Java田晚、software、JavaJava|R

COMP201 Assignment 11 DetailsModule COMP201Weighting 20% of module gradeNEW Deadline 12 noon, Tuesday 12th November 2019Purpose of Assignment To assess student ability to analyse, generate, and document user requirements;to assess student ability to create a software product that is compliant with user requirements.Learning Outcomes Assessed: The following learning outcomes are assessed, as per the modulespecification:LO 2: Understand the need to design systems that fully meet the requirements of the intendedusers including functional and non functional elements;LO 4: Be fully aware of the principles and practice of an O-O approach to the design and developmentof computer systems;LO 5: Be able to apply these principles in practice;LO 6: Produce O-O requirements and design documentation in UML which demonstrates thefeatures of good design such as loose coupling and high cohesion;2 BriefA Credit Union operates in a similar way to a commercial bank, though with a community-basedoutlook, holding members’ savings, and loaning money to other members. Membership is normallyrestricted to residents of a particular community, or members of a particular profession, and capitalis normally held for loans to members, as opposed to being invested for profit.Consider the following scenario:The Rutherford Village Credit Union was established in 1932, and to this day continues to use apaper-based system for book keeping tasks and account management. One day each week, from afunction room in the village community center, the clerk facilitates the operation of the credit union.It has comissioned you to create a prototype system that models a back-end server, which will facilitatethe actions of Persons upon the Accounts. It is hoped that this will pave the way for automation ofsome tasks in the future, thus helping the credit union to expand.The Credit Union has two types of Person: a Clerk and a Customer. The Credit Union has two typesof Account: a Saving account, and a Loan account, each of which can be opened (with a non-zerobalance) and closed.A saving account can be opened with a non-zero positive amount of money. A loan can be openedwith a non-zero negative amount of money, which represents the balance as the customer’s debt tothe credit union.The requirements for the Saving account are:? Accept a Payment, which increases the balance by the relevant amount? Allow a Withdrawal, which decreases the balance by the relevant amount1? Withdraw all funds upon closure? Only allow a balance which is 0 or greater.The requirements for a Loan account are:? Accept a Payment, which increases the balance by the relevant amount? Only allow a balance which is 0 or lower? Allow an interest rate to be applied to the balance, which decreases the balance by the relevantamount? Only allow closure when the balance is 0.A Clerk shall be able to do the following:? open a saving account on behalf of a customer, taking the cash opening funds from the customer? close a saving account, giving the customer their balance in cash.? open a loan on behalf of a customer, provided the amount is no more than £5000, no more than5% of total capital held by the credit union, and the credit union has enough capital to loan themoney. They give the customer the cash.? Apply a weekly interest rate COMP201代寫国葬、Java程序設計調(diào)試肉瓦、代做softwarof 0.01% on all outstanding loan balances in the credit union.A Customer shall be able to do the following:? Withdraw money from their savings account? Pay money into their savings account? Pay money towards the outstanding balance on their loan account2.1 AssumptionsYou are make the following assumptions about the scenario:? The Credit Union is small. On days where the Credit Union clerk is in the office, they will runthe system on a single laptop computer.? This is a prototype system; the full implementation would have a user-friendly front-end, andwould also be linked to a database to hold all information with persistence.Task 1 (35%) Produce UML Use-Case Diagrams and Use-Case descriptions for the describedsystem. You shall consider only human actors for this task. You can split your answer intomultiple diagrams, if needed.For drawing the UML diagrams, you can use software or hand draw them neatly on plain paper, andscan them in. Please be aware that if they can not be read due to bad handwriting, bad quality scan,etc.... then the mark will be 0 for that diagram.Task 2 (5%) Identify 5 functional requirements of the described system.Task 3 (10%) Identify 5 non-functional requirements of the described system, using the descriptionof the scenario. You shall propose a mechanism and criteria that make these non-functionalrequirements verifiable, i.e. Describe a technique that can objectively test them.2Task 4 (40%) You have been given a partial implementation of the prototype system, in the Javalanguage. Complete this implementation, so that it compiles on a department computer andsatisfies the requirements. Look for ”//Todo:” in order to find areas of the source files that requirecompletion. You may use the CreditUnionUser.java file to test your program, ensuring it meets therequirements. Use of the instanceOf() operator is permitted. Your submitted code should be welllaid out and well commented, following good practise conventions.Task 5 (10%) Create a UML Sequence Diagram for the application and opening of a Loan. Useyour knowledge of the system obtained over this assignment to correctly identify the objects you mustconsider. For drawing the sequence diagrams, you can use software or hand draw them neatly onplain paper, and scan them in. Please be aware that if they can not be read due to bad handwriting,bad quality scan, etc.... then the mark will be 0 for that diagram.3 DeliverablesYou are required to deliver the following items:1. PDF Format Document containing the diagrams and written answers for Tasks 1,2,3, and 5. Itshould have your Name, University Username, and Student ID at the top.2. Java Source code files (*.java files) for the answer to Task 4. You should submit all source filesthat are required, even if you have not edited them from the original version. Source files shouldcontain your Name, University Username, and Student ID at the top, in the comment blockspace provided.4 SubmissionYou are to submit a zip file (studentID.zip, where studentID is your numerical 9-digit studentID number, found on your Student ID card) electronically via SAM, no later than the deadline statedin Section 1. This zip file should contain that which is detailed in Section 3.You can access the SAM submission system at the following URL: https://sam.csc.liv.ac.uk/3轉(zhuǎn)自:http://www.3daixie.com/contents/11/3444.html

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市胃惜,隨后出現(xiàn)的幾起案子泞莉,更是在濱河造成了極大的恐慌,老刑警劉巖船殉,帶你破解...
    沈念sama閱讀 207,113評論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件鲫趁,死亡現(xiàn)場離奇詭異,居然都是意外死亡利虫,警方通過查閱死者的電腦和手機挨厚,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,644評論 2 381
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來糠惫,“玉大人疫剃,你說我怎么就攤上這事∨鸱恚” “怎么了巢价?”我有些...
    開封第一講書人閱讀 153,340評論 0 344
  • 文/不壞的土叔 我叫張陵,是天一觀的道長固阁。 經(jīng)常有香客問我壤躲,道長,這世上最難降的妖魔是什么备燃? 我笑而不...
    開封第一講書人閱讀 55,449評論 1 279
  • 正文 為了忘掉前任碉克,我火速辦了婚禮,結(jié)果婚禮上并齐,老公的妹妹穿的比我還像新娘漏麦。我一直安慰自己,他們只是感情好况褪,可當我...
    茶點故事閱讀 64,445評論 5 374
  • 文/花漫 我一把揭開白布撕贞。 她就那樣靜靜地躺著,像睡著了一般窝剖。 火紅的嫁衣襯著肌膚如雪麻掸。 梳的紋絲不亂的頭發(fā)上酥夭,一...
    開封第一講書人閱讀 49,166評論 1 284
  • 那天赐纱,我揣著相機與錄音脊奋,去河邊找鬼。 笑死疙描,一個胖子當著我的面吹牛诚隙,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播起胰,決...
    沈念sama閱讀 38,442評論 3 401
  • 文/蒼蘭香墨 我猛地睜開眼久又,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了效五?” 一聲冷哼從身側(cè)響起地消,我...
    開封第一講書人閱讀 37,105評論 0 261
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎畏妖,沒想到半個月后脉执,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 43,601評論 1 300
  • 正文 獨居荒郊野嶺守林人離奇死亡戒劫,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 36,066評論 2 325
  • 正文 我和宋清朗相戀三年半夷,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片迅细。...
    茶點故事閱讀 38,161評論 1 334
  • 序言:一個原本活蹦亂跳的男人離奇死亡巫橄,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出茵典,到底是詐尸還是另有隱情湘换,我是刑警寧澤,帶...
    沈念sama閱讀 33,792評論 4 323
  • 正文 年R本政府宣布统阿,位于F島的核電站枚尼,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏砂吞。R本人自食惡果不足惜署恍,卻給世界環(huán)境...
    茶點故事閱讀 39,351評論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望蜻直。 院中可真熱鬧盯质,春花似錦、人聲如沸概而。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,352評論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽赎瑰。三九已至王悍,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間餐曼,已是汗流浹背压储。 一陣腳步聲響...
    開封第一講書人閱讀 31,584評論 1 261
  • 我被黑心中介騙來泰國打工鲜漩, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人集惋。 一個月前我還...
    沈念sama閱讀 45,618評論 2 355
  • 正文 我出身青樓孕似,卻偏偏與公主長得像,于是被迫代替她去往敵國和親刮刑。 傳聞我的和親對象是個殘疾皇子喉祭,可洞房花燭夜當晚...
    茶點故事閱讀 42,916評論 2 344

推薦閱讀更多精彩內(nèi)容