08春sa试题-业余班.doc

08春sa试题-业余班.doc

ID:18416820

大小:141.50 KB

页数:9页

时间:2018-09-17

08春sa试题-业余班.doc_第1页
08春sa试题-业余班.doc_第2页
08春sa试题-业余班.doc_第3页
08春sa试题-业余班.doc_第4页
08春sa试题-业余班.doc_第5页
资源描述:

《08春sa试题-业余班.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、试题:软件体系结构班号:姓名:一.Brieflyanswerthequestionsbelow(简单回答问题)(共:20分,每题4分).1.ConsidertheComputationalDrugDiscovery'sprojectinOxfordUniversity.ThisprojectutilizesmorethanonemillionPCstolookforacancercure.Theprojecteventuallywillanalyze3.5billionmoleculesforcancer-fightingpot

2、ential.Morethan50,000yearsofCPUpower(basedona1.5gigahertzchip)havebeenputtoworksofar.Now,ifyouarethedesignerofthissoftwaresystemtoallowsuchahugenumberofPC’stoparticipantinthejointeffortcomputing.考虑牛津大学的计算药物发现的项目。这个项目运用超过一百万台个人计算机寻找癌症治疗方案。项目最终将分析35亿个具有抗癌潜力的分子。超过50,000

3、年CPU能力(根据一块1.5千兆赫芯片)到目前为止被投入运算。现在,如果您是这个允许如此多的PC参与计算的软件系统的设计师。a)Whatsoftwarearchitectureyouwouldliketouse?Gridcomputing,clustercomputingorP2Parchitecture?那种软件体系结构你将使用?网格计算?还是P2P?b)Whatisthereasonforyoutousethisarchitecture?你选择这种体系结构的原因是什么?第9页(共9页)试题:软件体系结构班号:姓名:2.Spe

4、cifytheadvantagesanddisadvantagesofpipes-and-filtersarchitecture具体指出管道式过滤器软件体系结构的优点和缺点3.Object-orientedsoftwarearchitecturehaseliminatedsharedmemoryspace.Whatthismeans?Explainit.面向对象软件体系取消共享存储空间.这是什么意思?解释一下4.Pointoutthreetypicalapplicationsofthelayeredarchitecture.指出

5、层次软件体系结构的三个典型应用a)Application1b)Application2c)Application3第9页(共9页)试题:软件体系结构班号:姓名:2.Inthefollowingsituations,whatissuitableforusingbatchsequentialsoftwarearchitecture?在下列两种情形,哪种适合使用顺序批处理体系结构?a)Abankingsystemforbusinesstransactionsforabank,whichrequiresthatdatashouldbep

6、rocessedassoonasdatacome(real-time),forexample,deposit,withdraw,andcreditcardspending,thedatabaseshouldbeupdatedimmediatelyaftereachtransactions,一个需要适时操作的银行业务系统b)Forapopulationstatisticsystem,whichrequiresthatdatawillbecollectedperiodically,andthedatabaseshouldbeupda

7、tedateachweekendafterthedatahasbeenprocessedoutsidethedatabasebyusingaprogram.一个需要周期性更新的人口普查系统第9页(共9页)试题:软件体系结构班号:姓名:二.SomeDesignProblemsbyUsingDesignPatterns(Total:20分,每题10分)使用设计模式的设计问题1.Ifagameprogramisdesignedasthefollowing,wheretheclassesP1,P2,P3,P4,P5,andP6repre

8、sentdifferentpersonobjectsinagame.Eachperson’sactionwillcauseallotherpeople’saction.Theproblemisthattherearetoomanyinteractionsamon

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。