



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 江苏省苏州市葛江中学2026届九年级英语第一学期期末达标测试试题含解析
- 华山医院教学体系建设与实践
- 安徽省当涂县2026届九上化学期中考试模拟试题含解析
- 广联达教育培训
- 涉企收费迎检汇报
- 广东省深圳市南山区南山实验学校2026届九年级化学第一学期期中教学质量检测试题含解析
- 学院就业工作总结报告
- 组织部工作总结
- 江苏省无锡市南长实验中学2026届化学九上期中达标检测试题含解析
- 2026届广东省中学山市黄圃镇马新初级中学九年级化学第一学期期中质量检测试题含解析
- 2025年时事政治考试100题及答案
- 护理员安全培训内容课件
- 2025年全国中小学校党组织书记网络培训示范班在线考试题库及答案
- 2025全国农业(水产)行业职业技能大赛(水生物病害防治员)选拔赛试题库(含答案)
- 饮食营养与健康课件
- 地下车库系统环氧地坪施工组织设计
- 2022年浙江省公务员录用考试《申论》试卷及参考答案
- 医共体成员单位人力资源工作制度
- YY∕T 0953-2020 医用羧甲基壳聚糖(高清正版)
- 生物医学工程导论课件
- 宠物市场调研报告
评论
0/150
提交评论