软件工程习题汇锦教程文件_第1页
软件工程习题汇锦教程文件_第2页
软件工程习题汇锦教程文件_第3页
软件工程习题汇锦教程文件_第4页
软件工程习题汇锦教程文件_第5页
已阅读5页,还剩18页未读 继续免费阅读

下载本文档

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

文档简介

1、精品文档软件工程习题汇锦一、单项选择题 提示:在每小题列出的四个备选项中只有一个是符合题目要求的,请将其代码填写在下表中。错选、多选或 未选均无分。1. ()If a system is being developed where the customers are not sure of what theywant, the requirements are often poorly defined. Which of the following would be an appropriate process model for this type of development?(A)pro

2、totyping(B)waterfall(C)V-model(D)spiral2. ()The project team developing a new system is experienced in the domain.Although the new project is fairly large, it is not expected to vary much from applications that have been developed by this team in the past. Which process model would be appropriate fo

3、r this type of development?(A)prototyping(B)waterfall(C)V-model(D)spiral3. ()Which of the items listed below is not one of the software engineering layers?A)ProcessB)ManufacturingC)MethodsD)Tools4. ()Which of these are the 5 generic software engineering framework activities?(A)communication, plannin

4、g, modeling, construction, deployment(B)communication, risk management, measurement, production, reviewing(C)analysis, designing, programming, debugging, maintenance(D)analysis, planning, designing, programming, testing5. ()The incremental model of software development is(A)A reasonable approach whe

5、n requirements are well defined.(B)A 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.6. ()Which of these is not one of the phase names defined by the

6、Unified Processmodel for software development?(A)Inception phase(B)Elaboration phase(C)Construction phase(D)Validation phase7. ()The things that make requirements elicitation difficult are problems of(A)scope(B)understanding(C)volatility(D)all of the above8. ()The result of the requirements engineer

7、ing elaboration task is an analysismodel that defines which of the following problem domain(s)?(A)information(B)functional(C)behavioral(D) all of the above9. ()Which of following is not a UML diagram used creating a system analysismodel?(A)activity diagram(B)class diagram(C)dataflow diagram(D)state

8、diagram10. ()Which of these is not an element of an object-oriented analysis model?(A)Behavioral elements(B)Class-based elements(C)Data elements(D)Scenario-based elements11. ()The entity relationship diagram(A)depicts relationships between data objects(B)depicts functions that transform the data flo

9、w(C)indicates how data are transformed by the system(D)indicates system reactions to external events12. ()Which of the following are areas of concern in the design model?(A)architecture(B)data(C)interfaces(D)a, b and c13. ()Which of these are characteristics of a good design?(A)exhibits strong coupl

10、ing between its modules(B)implements all requirements in the analysis model(C)provides a complete picture of the software(D)both b and c14. ()A generalized description of a collection of similar objects is a(A)class(B)instance(C)subclass(D)super class15. ()The component-based development model is(A)

11、Only appropriate for computer hardware design.(B)Not able to support the development of reusable components.(C)Works best when object technologies are available for support.(D)Not cost effective by known quantifiable software metrics.16. What is the goal of software engineering?(A)The production of

12、fault-free software that satisfies the user's needs and that is delivered on time and within budget(B)The developme nt of software that con forms (遵循) to intern ati onal sta ndards(C)The replacement of hand coding by automatic programming(D)The application of engineering techniques to software d

13、evelopment17. The items listed below are the software engineering layers?A)ProcessB) Manufacturing C) MethodsD) ToolsE) all of the above F) a ,c and d18. Which of these are the 5 generic software engineering framework activities?A)Communication, planning, modeling, construction, deploymentB)Communic

14、ation, risk management, measurement, production, reviewingC) Analysis, designing, programming, debugging, maintenanceD) Analysis, planning, designing, programming, testing19. Which of these terms are not level names in the Capability Maturity Integration Model (CMMI)?A) Performed B) DefinedC) Quanti

15、tatively ManagedD) ManagedF) Repeated G)Both c and f20. The spiral model of software developmentA) Ends with the delivery of the software productB) is more chaotic thanthe incremental modelC) Includes project risks evaluation during each iterationD) All of the above21. The main difference between wa

16、terfall model and evolutionary model is inA. different activitiesB. different project sizeC. different project management mannerD. different way of activity organization22. Which of these can be a part of software requirement specification?A) A set of models B)a written document C) a set of tables E

17、) Both a and bF) all of the above23. The best way to conduct a requirements validation review is toA) examine the system model for errorsB) have the customer look over the requirementsC) send them to the design team and see if they have any concernsD) use a checklist of questions to examine each req

18、uirementE) Both b and d24. Which of the following lists are used to describe a usease?A) an oven (椭圆 ) B) template-based usecase descriptionC) Activity diagram E) all of the above F) Both b and c25. UML notations that can be used to model the hardware and software elements of a system areA) Activity

19、 diagramsB) Class diagrams C) Deployment diagramsD) Use-case diagrams E)A,B, and CF ) All of the above26. Which of the following items is not an element of a class definition?A) Class attribution B) Class nameC) Class responsibilities D) Class operations27. UML state diagrams are useful in represent

20、ing which analysis model elements?A) Behavioral elements B) Class-based elementsC) Flow-based elements D) Scenario-based elements28. Which of these are characteristics of a good design?A) exhibits strong coupling between its modulesB) implements all requirements in the analysis modelC) includes test

21、 cases for all componentsD) provides a complete picture of the softwareE) All of the aboveF) both b and d29. Generalization relationship can be described asA) “ is a part of relati”onshipB) “ is a kind of “ relationshipC) “ is related“ relationshipD) both b and c30. Polymorphism can be described as?

22、A) one interface encapsulates different implementationsB) Inheritance C) Information placing D) Generalization31. Which of the following lists can be used to describe program logic:A) PDL B) nature language C) program chartD) Activity diagram E) all of the above F) a, c and d32. Which of the followi

23、ng is not of the four principles used to guide component-level design?A) Dependency Inversion PrincipleB) Abstract PrincipleC) In terface Segregatio n份离)Prin cipleD) Open-Closed PrincipleE) Encapsulation Principle33. Which model depicts (描述)the profile of the end users of a computer system?A) design

24、 model B) implementation modelC) user model D) user's model34. What is the normal order of activities in which traditional software testing is organized?A) integration testing, unit testing, system testing, validation testingB) validation testing, unit testing, integration testing, system testin

25、gC) unit testing, integration testing, validation testing, system testingD) system testing, validation testing, integration testing, unit testing35. Which of the following statements characterize a successful software testing:A) no error to be found in the softwareB) find the errors detected before

26、in the softwareC) find the errors never detected before in the softwareD) both a and c36. Which of the items listed below is not one of the software engineering layers?A) ProcessB) Production C)Methods D)Tools37. Which of these are the 5 generic software engineering framework activities?A) Communica

27、tion, planning, modeling, construction, deploymentB) Communication, risk management, measurement, production, reviewingC) Analysis, designing, programming, debugging, maintenanceD) Analysis, planning, designing, programming, testing38. What is the goal of software engineering?(A) The production of f

28、ault-free software that satisfies the user's needs and that is delivered on time and within budget(B) The development of software that conforms to international standards(C) The replacement of hand coding by automatic programming(D) The application of engineering techniques to software productio

29、n39. Which of these terms are level names in the Capability Maturity Integration Model?A) Performed B) Defined C) ReusedD) Optimized E) Both a and d F) A, B and D40. The spiral model of software development (C)A) Ends with the delivery of the software productB) Is more chaotic (糟糕)tha n the in creme

30、 ntal modelC) Includes project risks evaluation during each iteration D) All of the above41. The main difference between waterfall model and evolutionary model is inA. different activitiesB. different project sizeC. different project management mannerD. different way of activity organization42. What

31、 are the four framework activities found in the Extreme Programming (XP) process model?A) analysis, design, coding, testing B) planning, analysis, design, codingC) planning, analysis, coding, testing D) planning, design, coding, testing43. The best way to conduct a requirements validation review is

32、toA) examine the system model for errorsB) have the customer look over therequirementsC) send them to the design team and see if they have any concernsD) use a checklist of questions to examine each requirementE) Both b and d44. The result of the requirements engineering elaboration task is an analy

33、sis model that defines which of the following problem domain(s)?A) Information B) functional C) behavioral D) all of the aboveE) Both a and b45. UML notations that can be used to model the hardware and software elements of a system areActivity diagrams B) Class diagrams C) Deployment diagrams Use-ca

34、se diagrams E)A,B, and CF ) All of the above46. Which of the following items does not appear on a CRC card?class collaborators B)class name C)attributions and operations D)class responsibilities47. UML class diagrams are useful in representing which analysis model elements? A) Behavioral elementsB)

35、Class-based elementsC) Flow-based elements D) Scenario-based elements48. Which of these are characteristics of a good design? exhibits strong coupling between its modules implements all requirements in the analysis model includes test cases for all components provides a complete picture of the softw

36、are All of the above both b and d49. A successful application of transform or transaction mapping to create an architecturaldesig n is suppleme nted (补充)byentity relationship diagrammodule interface descriptionsprocessing narratives (描述)for each moduletest case for each moduleBoth b and c50. In comp

37、onent-level design "persistent data sources" refer toA) Component libraries B) Databases C) FilesD) All of the above E) Both b and c51. Which of the following principles are the four principles used to guide component-level design?A) Dependency Inversion PrincipleB) Reduce Complexity Princ

38、ipleC) Interface Segregation PrincipleD) Open-Closed PrincipleF) a,c and d52. Which model depicts the profile of the end users of a computer system?A) design model B) implementation modelC) user model D) user's model53. Which of these framework activities is not normally associated with the user

39、 interface design processes?A) cost estimationB) interface constructionC) interface validationD) user and task analysis54. What is the normal order of activities in which traditional software testing is organized?A) integration testing, unit testing, system testing, validation testingB) validation t

40、esting, unit testing, integration testing, system testingC) unit testing, integration testing, validation testing, system testingD) system testing, validation testing, integration testing, unit testing55. Which of the following strategic issues needs to be addressed (解决) in a successfulsoftware test

41、ing process?A) conduct formal technical reviews prior to testingB) specify requirements in a quantifiable mannerC) use independent test teamsD) wait till code is written prior to writing the test planE) Both a and b二、判断题提示:正确标T,错误标F,将其结果填写在下表中。1. () Showing your customer a mockup(实体模型)of the Ul(用户界面

42、)is one good way to get feedback while gathering requirements.2. () Functional testing tests against the specification.3. () Cohesion refers to elements in the same module, whereas coupling refers to elements in different modules.4. ()When designing tests, if partitions are chosen perfectly, there i

43、s no point to testing boundary values near the edges of the partition.5. () The V model is an important design pattern.6. () Software is a product and can be manufactured using the same technologies used for other engineering artifacts.7. () Change cannot be easily accommodated in most software syst

44、ems, unless the system was designed with change in mind.8. () lt is generally accepted that one cannot have weak software processes and create high quality end products.9. () Frameworks and design patterns are the same thing as far as designers are concerned.10()Attributes cannot be defined for a cl

45、ass until design has been completed.11. ( ) In general software only succeeds if its behavior is consistent with the objectives of its designers.12. ( ) The goal of software testing is to find all error in software prior to delivery to customer13. ( ) Software development model is a framework of pro

46、cess, activity and task14. ( ) We can modify the reused classes to add some new attributes and operations to meet our new requirements and don'wtorry about any side effects.三、名词解释题 提示:解释每小题所给名词的含义,若解释正确则给分,若解释错误则无分,若解释不准确或不全面,则酌 情扣分。1Design Patterns2. Requirements Engineering3. Software Engineer

47、ing4. Functional Independence5. UML(Unified Modeling Language)6. Class7. Abstaction8. Information hiding9. Separation of Concerns10. Software architecture11. Modularity12. Functional Independence13. Refinement14. Aspects15. Refactoring 16.Object-Oriented Design Concepts 17.Design Classes 18.Componen

48、t 19.Software testing 20.Prototyping model21.The Waterfall Model22.Incremental Models23. The Spiral Model24. White-Box Testing25. Black-Box Testing26. Equivalence Partitioning27. Boundary Value Analysis28. Basis Path Testing29. The Open-Closed Principle(OCP)30. The Liskov Substitution Principle(LSP)

49、31. Dependency Inversion Principle(DIP)32. The Interface Segregation Princiole(ISP)33. Data-centered architectures34. Data-flow architectures35. Call and return architectures36.Object-oriented architectures37. Layered architectures38. High cohesion39. Low coupling40. Software Process四、对照关联题Please ma

50、tch each lifecycle model with its definition, by drawing a line connecting them.(a) coding-and-fixing(a) assess risks at each step; do most critical action first(b) evolutionaryPrototyping(b) build an initial small requirement spec, code it, then“ evolve ” the spec and code as needed(c) spiral(c) bu

51、ild initial requirement specs for several releases, then design-and-code each in sequence(d) staged delivery(e) waterfall(d) standard phases (requirements, design, code, test) in order(e) write some code, debug it, repeat (i.e. ad-hoc)五、简答题1 There are four types (levels) of testing. What are they? W

52、hich one primarily would use Use-Cases to drive the test cases?2 What type of UML diagram is used to describe a specific scenario of a use case?3. Describe the 5 generic software engineering framework activities.4. Describe the Manifesto for Agile Software Development.5. Provide one example of softw

53、are project that would be amenable to the prototyping model. Be specific.6. Why are incremental process models considered by many to be the best approach to software development in a modern context?7. Describe the differences between software construction and software deployment.8. Descriptions of s

54、oftware testing has to go through several stages, each stage with what documentation related.9. List the four design models required for a complete specification of a software design and the role of each.10. What process adaptations are required if the prototype will evolve into a deliverable system

55、 or product?11. Draw a picture of design Pyramid for WebApps.六、问答题1 The later a problem is found in the software development process, the harder it is to fix(定位). Explain why, in one sentence.2 What are at least three differences between the analysis model and the design model of a software product?

56、3. What is the fundamental difference between the structured analysis and object-oriented strategies for requirements analysis?4. Describe the process of translating the requirements model into the design model.5. Explain the Golden Rules of user interface design and their principles.七、综合应用题1Assume you were going to review the following code. You are to inspect it for consistency in naming, formatting, and understandability of style. You also are going to review it for correctness. Identify all of the things you find that you would raise during a code review. Identify each item

温馨提示

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

评论

0/150

提交评论