ImageVerifierCode 换一换
格式:DOCX , 页数:12 ,大小:152.49KB ,
资源ID:11962890      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/11962890.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(《软件工程》期中试题解答.docx)为本站会员(b****5)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

《软件工程》期中试题解答.docx

1、软件工程期中试题解答软件工程期中试题一、选择题:1. The waterfall model of software development is also known as the ( ) A A. Classical life cycle model B. Fountain model C. Spiral model D. Chaos model2. The incremental model of software development is ( ) B A. A reasonable approach when requirements are well defined. B. A

2、good approach when a working core product is required quickly. C. The best approach to use for projects with large development teams. D. A revolutionary model that is not used for commercial products.3. COCOMO II is an example of a suite of modern empirical estimation models that require sizing info

3、rmation expressed as ( ) DA. function points B. lines of code C. application points D. any of the above4. An effective risk management plan will need to address which of the following issues ( ) DA. risk avoidance B. risk monitoring C. contingency planning D. all of the above5. The relationships sho

4、wn in a data model must be classified to show their ( ) C A. Width and depth B. Directionality and reliability C. cardinality and modality D. probability and risk6. The data dictionary contains descriptions of each software ( ) B A. configuration item B. data object C. diagram D. notation7. The stat

5、e transition diagram ( ) A A. indicates system reactions to external events B. depicts relationships between data objects C. depicts functions that transform the data flow D. indicates how data are transformed by the system 8. Which of the following is not an area of concern in the design model ( )

6、DA. architecture B. data C. interfaces D. project scope9. A program design language (PDL) is often a ( ) A A. combination of programming constructs and narrative text B. legitimate programming language in its own right C. machine readable software development language D. useful way to represent soft

7、ware architecture10. What types of errors are missed by black-box testing and can be uncovered by white-box testing ( ) BA. behavioral errors B. subtle logic errors C. performance errors D. input error11. To achieve high modularity of software components you need C A. high coupling and high cohesion

8、 B. high coupling and low cohesion C. low coupling and high cohesion D. low coupling and low cohesion12. Which of the following is not an objective for building an analysis model C A. define set of software requirements B. describe customer requirements C. develop an abbreviated solution for the pro

9、blem D. establish basis for software design13下图所示的软件模块结构图,该软件的宽度为( )。 DA1 B3 C5 D6 14面向对象的软件工程中,识别主类主要靠( )。 AA经验 B技巧 C启发式规则 D面向对象分析理论15用例图是( )。 DA系统特定行为的描述B系统行为之间交互的描述C系统和外部实体交互的描述D系统特定行为和外部实体以及和其他行为交互的描述二、简答题:1What are the differences between generic software product development and custom software

10、 development A:The essential difference is that in generic software product development, the specification is owned by the product developer. For custom product development, the specification is owned by the customer. Of course, there may be differences in development processes but this is not neces

11、sarily the case.2What are the four important attributes which all software products should have A:For important attributes are maintainability, dependability, efficiency and usability.3A software architecture describes a high-level design view of a software system. What are the advantages of explici

12、tly describing the architecture independently from the implementation参考答案(不够准确):The architecture may have to be designed before specifications are written to provide a means of structuring the specification and developing different sub-system specifications concurrently, to allow manufacture of hard

13、ware by sub-contractors and to provide a model for system costing.4Explain why it is important to produce an overall description of a system architecture at an early stage in the system specification process. A:An overall architectural description should be produced to identify sub-systems making up

14、 the system. Once these have been identified, they may be specified in parallel with other systems and the interfaces between sub-systems defined.5Requirements should state what a system should do, without stating how it should do it. Why is this distinction useful6Define black box and white box tes

15、ting. What are the advantages of each approach Why are both necessary7Full path coverage testing requires that every possible path through the code be tested at least once. Why is full path coverage testing desirable For the code fragment above, how many test cases would be needed for full path cove

16、rage Why might full path coverage be impossible to achieve for some programs8Why is software maintenance difficult Why is it necessary9If you want develop an interactive system that allows railway passengers to find train times from terminals installed in stations, which generic software process mod

17、el that more suitable to management the development process And why A:Interactive timetable System with a complex user interface but which must be stable and reliable. Should be based on throw-away prototyping to find requirements then either incremental development or waterfall model.10Describe fou

18、r types of non-functional requirements that may be placed on a system. Give examples of each of these types of requirement.A:There are many possibilities here. Some suggestions are shown in Figure .Figure Non-functional requirementsNon-functionalrequirementDescriptionDescriptionPerformancePerformanc

19、e requirements setout limits to the performanceexpected of the system. Thesemay be expressed in differentways depending on the type ofsystem . number oftransactions processed persecond, response time to userrequests, etc.The system must process at least 150transactions per second.The maximum respons

20、e time for any userrequest should be 2 seconds.ImplementationDefines specific standards ormethods which must be used inthe development process for thesystemThe system design must be developed usingan object-oriented approach based on theUML process.The system must be implemented in C+,Version .Usabi

21、lityDefines requirements whichrelate to the usability of thesystem by end-users.All operations which are potentiallydestructive must include an undo facilitywhich allows users to reverse their action.(This is an example of a functionalrequirement which is associated with a nonfunctionalrequirement)A

22、ll operations which are potentiallydestructive must be highlighted in red in thesystem user interface.SafetySafety requirements areconcerned with the overall safeoperation of the systemThe system must be certified according toHealth and Safety Regulations XYZ 123.三、综合题1The following table shows the

23、estimated activity durations and pre-requisites for a project development. Activity Description Duration(weeks) Task Pre-requisites T1 Requirements Elicitation 4T2 Analysis & Design 3 1 T3 Install hardware 2 1 T4 Design Review 1 2 T5 Code & Unit Test 4 1,2,3,4 T6 Integration Test 2 5 T7 Porting Soft

24、ware 1 4,6 T8 Documentation 2 6,7 T9 Acceptance Test 3 5,6,7 T10 Install & Train 2 9 Draw a activity chart to determine the earliest week of completion, the activities which have some float or slack, and the activities on the critical path. Draw a bar chart showing the project schedule.2绘制打电话的状态转换图3

25、某校教务系统具备以下功能,输入用户ID号及口令后,经验证进入教务管理系统,可进行如下功能的处理:查询成绩:查询成绩以及从名次表中得到名次信息。学籍管理:根据学生总成绩排出名次信息。成绩处理:处理单科成绩并输入成绩表中。就以上系统功能画出0层,1层的DFD图。 教务系统0层DFD 图 教务系统1层DFD 图(身份验证处理框对应有一个用户信息的存储,名次表和学生成绩表应用存储的表示法)4一个自动化图书馆目录的软件系统要被开发。这个系统将要包含图书馆中所有图书的信息,要求该系统对图书管理员、借阅者和读者都可用。该系统应该支持目录浏览、查询,允许用户发送消息给图书管理员预订一本在借图书。识别出系统描述

26、中应考虑的基本视点,并用视点继承图(层次图)来描述它们之间的关系。 6版题A:The viewpoints are shown in Figure . Note that system management . thoseresponsible for installing and maintaining the computer system are a viewpoint aswell as library staff and library users. Library users have been separately identified asbrowsers and search

27、ers as these operations typically require different types of services.Figure Viewpoint hierarchy diagram5Develop an object model, including a class hierarchy diagram and an aggregation diagram showing the principal components of a personal computer system and its system software. A:There are many po

28、ssible organizations for the class hierarchy. I show a simple one in Figure with only two levels. A three-level hierarchy would also be OK but more than that would be too much. The aggregation diagram shows the part-of relationships between objects. This is shown in Figure . Obviously, further decom

29、position of the lowest level is possible.Figure Class hierarchy for a PCFig Aggregation diagram for a PC6Develop a sequence diagram showing the interactions involved when a student registers for a course in a university. Course may have limited enrolment, so the registration process must include che

30、cks that places are available. Assume that the student accesses an electronic course catalogue to find out about available courses. A:See Figure .Figure Sequence diagram of course registration7What is the fundamental difference between a fat-client and a thin-client approach to client-server systems

31、 development A:In a fat-client system, some of the application processing is carried out on the client whereas in a thin client system only the user interface is displayed on the client and all of the application processing is carried out on the server.8Using the UML graphical notation for object classes, design the following object classes identifying attributes and operations. Use your own experience to decide on the attributes and operations that should be associated with these objects: A printer for a

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1