相关章节作业及答案_第1页
相关章节作业及答案_第2页
相关章节作业及答案_第3页
相关章节作业及答案_第4页
相关章节作业及答案_第5页
已阅读5页,还剩42页未读 继续免费阅读

下载本文档

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

文档简介

1、 2010 Sichuan University. All rights reserved. | ConfidentialModern Software EngineeringCollege of Computer (SW)Science Sichuan University 2010 Sichuan University All rights reserved. | Confidential2Exercise1. Which question no longer concerns the modern software engineeringa. Why does computer hard

2、ware cost so much? b. Why does software take a long time to finish? c. Why does it cost so much to develop a piece of software? d. Why cant software errors be removed from products prior to delivery? Answer: a2. Today the increased power of the personal computer has brought about an abandonment of t

3、he practice of team development of software. a. True b. False Answer: b3. Software is a product and can be manufactured using the same technologies used for other engineering artifacts. a. True b. FalseAnswer: b4. Software deteriorates rather than wears out because a. Software suffers from exposure

4、to hostile environments.b. Defects are more likely to arise after software has been used often.c. Multiple change requests introduce errors in component interactions.d. Software spare parts become harder to order.Answer: c1-A 2010 Sichuan University All rights reserved. | Confidential3Exercise5. Mos

5、t software continues to be custom built because a. Component reuse is common in the software world. b. Reusable components are too expensive to use. c. Software is easier to build without using someone elses components. d. Off-the-shelf software components are unavailable in many application domains

6、. Answer: d6. The nature of software applications can be characterized by their information a. complexity b. content c. determinacy d. both b and c Answer: d7. Change cannot be easily accommodated in most software systems, unless the system was designed with change in mind. a. True b. FalseAnswer: a

7、8. The functionality of most computer systems does not need to be enhanced the lifetime of the system. a. Trueb. FalseAnswer: b 2010 Sichuan University All rights reserved. | Confidential4Chapter 2 A Generic View of Processn Software Engineering A Layered Technologyn A Process Frameworkn CMMIn Proce

8、ss Patternsn Process TechnologyContent 2010 Sichuan University All rights reserved. | Confidential5Exercise1. Which of the items listed below is not one of the software engineering layers? Answer: ba. Process b. Manufacturing c. Methodsd. Tools 2. Software engineering umbrella activities are only ap

9、plied during the initial phases of software development projects. Answer: ba. True b. False 3. Which of these are the 5 generic software engineering framework activities? Answer: aa. communication, planning, modeling, construction, deployment b. communication, risk management, measurement, productio

10、n, reviewing c. analysis, designing, programming, debugging, maintenance d. analysis, planning, designing, programming, testing 4. Which of these terms are level names in the Capability Maturity Model? Answer: ea. Performed b. Repeatedc. Reusedd. Optimizede. Both a and d 2010 Sichuan University All

11、rights reserved. | Confidential6Exercise5. Which of the items listed below is not one of the process patterns. Answer: da. Intent b. Solutionc. Resulting Contextd. Output 6. Process technology tools allow software organizations to compress schedules by skipping unimportant activities. Answer: b a. T

12、rue b. False 7. It is generally accepted that one cannot have weak software processes and create high quality end products. Answer: aa. True b. False8. The tasks (and degree of rigor) for each activity are always unchanged. Answer: ba. Trueb. FalseQuestion for Chapter 2List three areas in which proc

13、ess models may differ from one another.What are the names of the six levels of the SEI Capability Maturity Model Integration (CMMI)? In your own words, briefly describe each.Why has the Personal Software Process has not been widely adopted by industry?Answer: (Section 2.6.2)Describe the “plan-do-che

14、ck-act” cycle from in the ISO 9001:2000 standard as it is applied to assessing the quality management elements of a software project. 2010 Sichuan University All rights reserved. | Confidential8Chapter 3 Process Modelsn Prescriptive process modelsn Waterfall Modeln Incremental process modelsnIncreme

15、ntal model nRAD modeln Evolutionary process modelsnPrototyping modelnSpiral modelnConcurrent development modelnSpecialized process modelsnComponent-Based development modelnFormal methods modelnAspect-Oriented software development modelnUnified ProcessContent 2010 Sichuan University All rights reserv

16、ed. | Confidential9Exercise1. The linear sequential model of software development is Answer:aa. A reasonable approach when requirements are well defined. b. A good approach when a working program is required quickly. c. The best approach to use for projects with large development teams. d. An old fa

17、shioned model that cannot be used in a modern context. 2. The linear sequential model of software development is also known as the Answer:ea. Classical life cycle model b. Fountain model c. Spiral model d. Waterfall model e. both a and d3. The incremental model of software development is Answer:ba.

18、A reasonable approach when 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.4. The rapid application development m

19、odel is Answer:ca. Another name for component-based development.b. A useful approach when a customer cannot define requirements clearly.c. A high speed adaptation of the linear sequential model.d. All of the above. 2010 Sichuan University All rights reserved. | Confidential10Exercise5. Evolutionary

20、software process models Answer:da. Are iterative in natureb. Can easily accommodate product requirements changes c. Do not generally produce throwaway systemsd. All of the above6. The prototyping model of software development is Answer:b a. A reasonable approach when requirements are well defined. b

21、. A useful approach when a customer cannot define requirements clearly. c. The best approach to use for projects with large development teams. d. A risky model that rarely produces a meaningful product. 7. Which of these is not one of the phase names defined by the Unified Process model for software

22、 development? Answer:da. Inception phase b. Elaboration phasec. Construction phased. Validation phase 8. In the Unified Process model requirements are determined iteratively and may span more than one phase of the process. Answer:aa. Trueb. False 2010 Sichuan University All rights reserved. | Confid

23、ential11Chapter 4 Agile Developmentn What is Agility?n An Agile processn Agile Process Modeln Extreme Programming (XP)n Adaptive Software Development (ASD)n Dynamic Systems Development Method (DSDM)n Scrumn Crystaln Feature Driven Development (FDD)n Agile Modeling (AM)Content 2010 Sichuan University

24、 All rights reserved. | Confidential12Exercise1. Agility is nothing more than the ability of a project team to respond rapidly to change. a. True b. False 2. Which of the following is not necessary to apply agility to a software process? a. Eliminate the use of project planning and testingb. Only es

25、sential work products are producedc. Process allows team to streamline tasks d. Uses incremental product delivery strategy3. How do you create agile processes to manage unpredictability? a. Requirements gathering must be conducted very carefully b. Risk analysis must be conducted before planning tak

26、es place c. Software increments must be delivered in short time periods d. Software processes must adapt to changes incrementally e. Both c and dAnswer: 4. Which of the following traits need to exist among the members of an agile software team? a. Competence b. Decision-making ability c. Mutual trus

27、t and respect d. All of the above.Answer: 1-B2-A3-E4-D 2010 Sichuan University All rights reserved. | Confidential13Exercise5. All agile process models conform to a greater or lesser degree to the principles stated in the Manifesto for Agile Software Development. Answer: a. Trueb. False6. What are t

28、he four framework activities found in the Extreme Programming (XP) process model? a. analysis, design, coding, testing b. planning, analysis, design, coding c. planning, analysis, coding, testing d. planning, design, coding, testing Answer: 7. What are the three framework activities for the Adaptive

29、 Software Development (ASD) process model? Answer: a. analysis, design, coding b. feasibility study, functional model iteration, implementation c. requirements gathering, adaptive cycle planning, iterative development d. speculation, collaboration, learning 8. Which is not one of the key questions t

30、hat is answered by each team member at each daily Scrum meeting? Answer: a. What did you do since the last meeting? b. What obstacles are you encountering? c. What is the cause of the problems you are encountering? d. What do you plan to accomplish at the next team meeting? 5-A6-D7-D8-C 2010 Sichuan

31、 University All rights reserved. | Confidential14Part Two: Software Engineering Practicen How does system engineering lead to effective software engineering?n What is requirements engineering, and what are the underlying concepts that lead to good requirements analysis?n How is the analysis model cr

32、eated, and what are its elements?n What is design engineering, and what are the underlying concepts that lead to good design?n What concepts, models, and methods are used to create architectural, interface, and component-level designs?n What strategies are applicable to software testing?n What metho

33、ds are used to design effective test cases?n What measures and metrics can be used to assess the quality of analysis and design models, source code, and test cases? 2010 Sichuan University All rights reserved. | Confidential15Contentn Computer-Based Systemsn The System Engineering Hierarchyn Busines

34、s Process Engineering: An Overviewn Product Engineering: An Overviewn System Modelingn Hatley-Pirbhai ModelingnSystem Modeling with UML 2010 Sichuan University All rights reserved. | Confidential16Exercise1. Which of the following can be elements of computer-based systems? Answer: a. documentationb.

35、 softwarec. hardwared. peoplee. all of above2. To construct a system model the engineer should consider which of the following restraining factors? Answer: a. assumptionsb. budgetc. constraints d. schedulee. both a and c3. During business process engineering, three different architectures are examin

36、ed. Answer: a. applications, data, technology infrastructure b. communications, organization, financial infrastructure c. network, database, reporting structure d. systems, requirements, data structure 4. The goal of product engineering is to translate the customers desire for a set of defined capab

37、ilities into a working product. Answer: a. Trueb. False1-E2-E3-A4-A 2010 Sichuan University All rights reserved. | Confidential17Exercise5. UML notations that can be used to model the hardware and software elements of a system are a. Activity diagrams b. Class diagrams c. Deployment diagrams d. Use-

38、case diagrams e. a, b, and cAnswer: e 6. The system model template contains which of the following elements a. input b. output c. user interface d. all of above Answer: d7. The top level of the hierarchical model of a system is known as the a. AFD b. DFD c. SCD d. SFD Answer: c5-E6-D7-C 2010 Sichuan

39、 University All rights reserved. | Confidential18Exercise8. Select any large system or product with which you are familiar. Define the set of domains that describe the world view of the system or product. Describe the set of elements that make up one or two domains. For one element, identify the tec

40、hnical components that must be engineered. BPE (Business Process Engineering)world view: bankdomains: loans, savings, foreign exchangeelements of savings: Window service, Online service, ATM servicetechnical components of Online service: customer identify (security), communication, databaseProduct E

41、ngineeringworld view: smart phonedomains: chipset, softwareelements of software: OS, application platformtechnical components of application platform: communication, security, utility (telephone book, calendar) 2010 Sichuan University All rights reserved. | Confidential19Chapter 6 Requirements Engin

42、eeringn Requirements Engineering Tasksn Inceptionn Elicitationn Elaborationn Negotiationn Specificationn Validationn Requirements ManagementContent 2010 Sichuan University All rights reserved. | Confidential20Exercise1. In requirements validation the requirements model is reviewed to ensure its tech

43、nical feasibility. a. Trueb. FalseAnswer: b2. In win-win negotiation, the customers needs are met even though the developers need may not be. a. Trueb. FalseAnswer: b3. Which of the following is not one of the context-free questions that would be used during project inception? a. What will be the ec

44、onomic benefit from a good solution? b. Who is against this project? c. Who will pay for the work? d. Who will use the solution? Answer: b4. The use of traceability tables helps to a. debug programs following the detection of run-time errors b. determine the performance of algorithm implementations

45、c. identify, control, and track requirements changes d. none of the above Answer: c 2010 Sichuan University All rights reserved. | Confidential21Exercise5. The system specification describes the a. Function, performance and constraints of a computer-based system b. implementation of each allocated s

46、ystem c. element software architecture d. time required for system simulation Answer: a6. Use-case actors are always people, never system devices. a. True b. False Answer: b 7. Which of the following is not one of the requirement classifications used in Quality Function Deployment (QFD)? a. exciting

47、 b. expected c. mandatory d. normal Answer: c 2010 Sichuan University All rights reserved. | Confidential22Exercise8. Develop a complete use-case for one of the following activities.a. Making a withdrawal at an ATM b. Using your charge card for a meal at a restaurant c. Searching for books (on a spe

48、cific topic) using an on-line bookstoreWithdrawalmanagementAbnormalprocessbankcardATMSolution aUse-case: withdrawal at an ATMPrimary actor: customer, bank card, ATMPrecondition: ATM is readyTrigger: customer decides to make a withdrawal Scenario:Customer insert bank card into ATMCustomer input passw

49、ordCustomer press the withdrawal Customer input the number of moneyCustomer gets the moneyCustomer takes out the bank cardException:The bank card is not recognized see abnormal processPassword is incorrect or not recognized see abnormal processMoney does not get out see abnormal processThe bank card

50、 can not be took out see abnormal process 2010 Sichuan University All rights reserved. | Confidential23Exercise8. Develop a complete use-case for one of the following activities.a. Making a withdrawal at an ATM b. Using your charge card for a meal at a restaurant c. Searching for books (on a specifi

51、c topic) using an on-line bookstoreReadingcharge cardAbnormalprocesschargecardCardreaderCashierCustomerSolution b:Use-case: using charge card at a restaurantPrimary actor: customer, cashier, charge card, card readerPrecondition: card reader is readyTrigger: customer decides to pay by charge card Sce

52、nario:1. Cashier insert charge card into card reader2. Customer input password3. Cashier input the number of money4. Card reader prints the receipt5. Cashier takes out the charge card6. Customer signs the receiptException:1. The charge card is not recognized see abnormal process2. Password is incorr

53、ect or not recognized see abnormal process3. receipt does not get out see abnormal process4. The charge card can not be took out see abnormal process 2010 Sichuan University All rights reserved. | Confidential24Exercise8. Develop a complete use-case for one of the following activities.a. Making a wi

54、thdrawal at an ATM b. Using your charge card for a meal at a restaurant c. Searching for books (on a specific topic) using an on-line bookstoreonlinesearchAbnormalprocessSolution c:Use-case: searching for booksPrimary actor: customerPrecondition: customer registration startsTrigger: customer decides

55、 to search for books Scenario:1. Customer input ID and password2. Customer input specific topic3. Book list is displayed4. Customer checks the booksException:1. Password is incorrect or not recognized see abnormal process2. Internet disconnect see abnormal process 2010 Sichuan University All rights

56、reserved. | Confidential25Chapter 7 Requirement Analysisn An overview of requirements analysisn Analysis Modeling Approachesn Data Modelingn Flow-Oriented Modelingn Object-Oriented Analysisn Scenario-Based Modelingn Class-Based Modelingn Creating a behavioral modeln Specification guidelinesContent 2

57、010 Sichuan University All rights reserved. | Confidential26Exercise1. Which of these is not an element of an object-oriented analysis model?Answer: ca. Behavioral elementsb. Class-based elementsc. Data elementsd. Scenario-based elements2. Which of the following is not an objective for building an a

58、nalysis model? Answer: ca. define set of software requirements that can be validatedb. describe customer requirementsc. develop an abbreviated solution for the problemd. establish basis for software design3. The data flow diagram Answer: ea. depicts relationships between data objectsb. depicts funct

59、ions that transform the data flowc. indicates how data are transformed by the systemd. indicates system reactions to external eventse. both b and c4. Which of the following items does not appear on a CRC card? Answer: ca. class collaboratorsb. class namec. class reliabilityd. class responsibilities

60、2010 Sichuan University All rights reserved. | Confidential27Exercise5. For purposes of behavior modeling a state is any a. consumer or producer of data.b. data object hierarchy.c. observable mode of behavior.d. well defined process.Answer: c6. Attributes cannot be defined for a class until design h

温馨提示

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

最新文档

评论

0/150

提交评论