华东交大软件体系结构作业.doc_第1页
华东交大软件体系结构作业.doc_第2页
华东交大软件体系结构作业.doc_第3页
华东交大软件体系结构作业.doc_第4页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Question # 1: Explain the concept of cohesion and coupling in software architecture and design. Please explain it with examples and diagrams.CohesioncouplingConceptCohesion from a functional point of view to measure the contact module, which describes the function within the module links.The coupling is between the various modules of the software structure of mutually connected a measure, the coupling strength depends on the complexity of the interface between modules, into, or to access a module point and the data through the interface.Classification(1) accidental cohesion. (2) logical cohesion.(3) within the poly (4) within a process polyethylene (5) communication poly (6) in order within the poly (7) Function cohesive(1) content coupled (2) common coupling (3) The external coupling (4) Control Coupling (5) marker coupling (6) Data coupling (7) A non-direct couplingQuestion # 2: Which architecture style is best suited for distributed software system? Explain it with examples and diagramsContrast mainstream B / S and C / S system, that the B / S is more suitable for distributed systemsB/SC/SData securityB / S structure of the software because of its data is stored centrally at the headquarters of the database server, the client does not save any business data and database connection information, without the need for any data synchronization, so these security problems will not exist naturallyC / S structure software must be installed in various multiple servers, and data synchronization between multiple servers, each data point, the data security affects the entire application data security, in terms of the large-scale application of the Group class C / S structure softwares security is unacceptable.B/SC/SData consistencyThe data is stored centrally, the client every business documents directly into the central database, there is no data consistency problemsServer must be synchronized daily after the headquarters before you can get the final data, the number of data can never be the same, can not be used in decision-makingReal-time dataB / S structure in real time to see all this happened business to facilitate rapid decision-making to avoid business losses.C / S structure impossible anywhere to see the occurrence of the current business situation, see are after the dataData traceabilityB / S structure of the data is stored centrally, so the Corporation can be directly traced back to the original business documents branches at all levels, that is to see the results of traceableThe intermediate report data simply upload at headquarters can not be found in the various branches of the original documentsService response timelinessB / S structure of the software is different, its applications are focused on the headquarters server, each application node does not have any program, a local update all application updates can be done fast service responseC / S structure software, you need to install the program on each use node, so, even if very small program defects need long time redeployment, re-deployment, in order to ensure the consistency of each version of the program, you must suspend all businessto be updatedNetwork applications limitB / S structure software can be applied to any network structure, particularly suitable for broadband can not reach the placeC / S structure software applies only to the LAN internal users or broadband usersQuestion # 3: How reusability in product line architecture is different fromordinary reusability? Explain.Answer: The feature writing requirement in natural language is the analyst describes the function and quality of software in natural language and record the requirement of user. It is specific and detail, but long-winded. The writing requirement in user case describe requirement of user by schema and table, such as relation schema, follow chart, data dictionary and so on. It is audio-visual, easy to exchange and the programmer easy to follow-up.Question # 4: Discuss the difference between writing requirements in NaturalLanguage and Use-Cases. Answer:In software architecture, reusability means that use a construction member of one product to simplify the research and development of other product. It includes the reusability of code, design result and analysis result. The ordinary reusability means the modification of same thing, and uses it frequently.Question # 5:ATM use case diagramPeform procedure:testCaseName:ATM cashDepositresume:The customer with the bank card (the bank or other line) extracted from ATM cash.actors:Client and ATMBasic flow:1. The customer insert bank card.2. ATM read card number (including bank identification and account), verify the effectiveness of the card.3. Customer input password.4. ATM verify account and password.5. ATM display including withdrawals, service function, the customer to choose to withdraw.6. Input withdrawal: customer input number is 100 yuan multiples of withdrawal.7. ATM inform bank host the account , password, withdrawals, the latest balance, and withdrawals success confirmation.8. ATM print and spit out the slip.9. ATM inventory and spit out the cash, record the withdraw success.10. ATM ask customer that whether to continue the customer service.11. Customers choose whether let ATM spit out bank card or return step 5.case endQuestion # 6:MiddlewareMiddleware is computer software that connects software components and applications. The software consists of a set of enabling services that allow multiple processes running on one or more machines to interact across a network. This technology evolved to provide for

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论