大連交通大學,軟件工程期末考試(第一套A卷)_第1頁
大連交通大學,軟件工程期末考試(第一套A卷)_第2頁
大連交通大學,軟件工程期末考試(第一套A卷)_第3頁
大連交通大學,軟件工程期末考試(第一套A卷)_第4頁
大連交通大學,軟件工程期末考試(第一套A卷)_第5頁
已閱讀5頁,還剩20頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、考生注意:考試時間120 分鐘 試卷總分100 分共 5 頁 第 1 頁大連交通大學試卷2007 2008 學年 第 1 學期課程 Software engineering( 軟件工程)(A 卷 ) ( 2004 年級)課程性質(zhì)(必修專業(yè)限選任選) 考試方式(閉卷開卷)得分一、 For each question, there are four choices marked A,B,C,D, choose the best answer.(each 1 point, total 30 point).The aim of software engineering is to produce so

2、ftware that is:A. delivered on timeB. delivered within budgetC. satisfies users needs D. all of the aboveMore time and money is spent in the phase than any other教研室主任(簽字)學院院長(系主任)(簽字)phase.A. requirementsB. specificationC. maintenanceD. implementation and integration3 、 During which phase of the sof

3、tware project management life cycle should testing occur?integration B. implementationC. maintenance D. testing occurs during each phase.In which of the following circumstances might the waterfall software life-cycle model be an appropriate one to use?large-scale, in-house productsfor products utili

4、zing an open architecture and complex user-interfaceC large document-driven projects requiring a disciplined approach D. short programs that will not need maintenanceA disadvantage of the Incremental model is that:clients are not billed until the last build is completed.the model can easily degenera

5、te into the build-and-fix approach.it is not easy to accommodate changes that occur due to external (competitive, social and regulatory) forces.All of these are disadvantages of the incremental model.A common feature(s) of object-oriented life cycle models is/are:A. iterationB. parallelismC. increme

6、ntal development D. all of the aboveThe democratic team approach is also known as: A. the clean-room approachegoless programmingbottom-up implementationsynchronize-and-stabilize teams題號一二三四五六七八九總分得分8、 In the classical chief programmer team approach, the team memberr esponsible for blackbox test case

7、 generation is:A. the chief programmer B. the back-up programmerC. programmerD. the programming secretary9 、 Stepwise refinement is a problem solving technique that underlies many software engineering techniques. It can be defined as a means to:specify the products design up front in order to minimi

8、ze integration problemsduring later phasespostpone decisions on details until as late as possible in order to be able to concentrate on the important issuesdecompose the problem into pieces of equal importancereview the projects deliverables such as specification documents and code bystepping throug

9、h them during review meetingsA tool that can automatically manage multiple versions is a(n):upperCASE toolcompilerconfiguration management toolstructure editorIn software engineering the term quality implies:excellencethe extent to which the product satisfies its specificationthere have been no fata

10、l or otherwise catastrophic consequences of its operationthat comprehensive testing has not revealed the presence of any bugs12 、 Why should the SQA group be kept under separate management from the development team(s)?to increase the employment prospects of the analysts.to decrease the cost of manag

11、ing large teamsto facilitate the principle of information hiding that is crucial toobject-oriented systemsD 、 due to conflicts that may arise as production deadlines approach whilst the product still has serious faults.The two main design strategies are known as functional design and object-orientat

12、ed design. Which of the following statements is false?In an object-orientated design the system state is decentralized and each object manages its own state information.In functional design the system state is centralized and state information is accessed by different functions.the most appropriate

13、design strategy is selected for each stage of design, thereis no need to adhere to a single approach during the whole design process.the same design approach must be used in the design of different system componentsto ensure consistency, especially for large software systems.A design is said to be a

14、 good design if the components are:Strongly coupled and Weakly cohesiveStrongly coupled and strongly cohesiveStrongly cohesive and weakly coupledWeakly cohesive and weakly coupled15 、 What is/are the major disadvantage(s) of basing the requirement specification on a prototype model?The rapid prototy

15、pe cannot stand as a legal statement of a contract between a developer and a client.Creating a working prototype takes more time and effort thanformulating written specifications.The users are not able to understand them to the same extent that they are able to comprehend written specifications.all

16、of these are disadvantagesUsing the structured systems approach for specification and designthe emphasis is on:Real-Time systemsactionsdataobjectsUsing structured systems analysis, the logic of the processes is developed byA. defining the data stores and data flows B. data modelingC. process decompo

17、sitionD. decision treesDuring detailed design and are specified.algorithms, data structuresmodules, interconnectionssubsystems, interfacesarchitecture, human computer interactions (HCI)The underlining technique in Data Flow Analysis is:generalizationspecializationstepwise refinementencapsulationIn O

18、OD how can you decide where to locate an action?by assigning it to a class or to a client (i.e. program unit) that sends a message to an object of that classon the basis of information hiding. i.e. actions performed on state variables should be local to that classby using responsibility-driven desig

19、nby any of these three methodsWhich UML diagram best emphasizes the chronological order of messages?A. class diagram B. sequence diagramC. collaboration diagram D. use case共 5 頁 第 # 頁共 5 頁 第 頁As a rule of thumb IF statements should not be nested to a depth greater than:A. 1 B. 2 C. 3 D. 4Black box t

20、esting is based on the:design documentspecification documentD. Software Project Management Plan (SPMP)E. all of theseA successful test case is one that:detects an already identified fault.detects a previously undetected fault.runs without a fault being detected.D exhaustively tests every path throug

21、h a module.How many test cases should be prepared for each set when it is specified that an item must belong to a given set in the specifications?A. 1 B. 2 C. 3 D. none of the aboveA number of studies have compared strategies for module testing. Which of the following statements on their relative me

22、rits is false?code inspection is at least as effective at detecting faults as glass-box and black-box fessional programmers detected more faults with code reading than black-box and glass-box testing, and the fault detection rate was higher.code reading lead to the detection of more inter

23、face faults.code walkthroughs proved to be the least cost-effective method.An advantage of top-down implementation and integration is:it is easy to determine where the fault lies when a new module is addedmajor design flaws show up early when the logic modules are coded and testedoperational modules

24、 are implemented after their ancestor logic modulesnone of these.Integration testing should be run by the:SQA groupprogrammers who developed the modulesanalysts who specified the modules functionalityclientsDuring which phase of the software life cycle do you first consider maintenance?implementatio

25、ntestingmaintenancefrom the very beginningOften the best way of dealing with problems involving the (software) product that are not emergencies is to:fix themfind a work-roundassign them to the least experienced programmersblame someone else得分專業(yè)二、 Fill in the blank ( each blank 1 point ,total 10 poi

26、nt )1.One simple way of looking at the spiral softwarelife-cycle model is asa waterfall model with each phase proceeded byA CASE device that provides support for one or two activities within the software development process is referred to as a(n)A new version of a faulty module is a(n)isthe extent t

27、o which the product meets its constraintswith regard to response time or space requirements.f a data structure is passed as an argument, but the called module裝 operates on only some of the individual components of that data structure then they are said to becoupled.CRC stands for Class Responsibilit

28、y.At the end of thephase test cases can start to bedrawn up.Whena change is madet o a product to react to changes in the environment, this is an example ofmaintenance.If a maintenance programmer locates a fault and changes it, so introducing another fault in the product, then this is termed afault.訂

29、 10. The process of starting with the source code and recreating the design documents or even the specifications is known as三、 Answer the following questiont.(otal 45 point)Explain the following noun.(each 3 point ,total 15 point)Software Engineering(2) Cost-benefit Analysis(3) Cohesion共 5 頁 第 頁共 5

30、頁 第 # 頁Data encapsulationReuse2、 Draw the waterfall model and describe its strengths and weaknesses.(6 point). 3 、 List the documentation that should be produced during each phase of the software life cycle. (7 point)訂4、What is the structure of classical chief programmer team and what are the two ke

31、y characters of chief programmer team ? (7 points)共 頁 第 4 頁共 頁 第 4 頁What is the similarity and difference between walkthrough and inspection?(5 points)Determine the cohesion of the following modules , and explain your reason in brief: ( 5 points )Read part number from database and update repair reco

32、rd on maintenance file.Calculate new trajectory( 彈道 )and send it to the printer.Get temperature of furnace.Open old master file, new master file, transaction file, and print file.print next line, reverse the string of characters comprising the third argument.專業(yè)得分Design problems t(otal 15 point)Accor

33、ding to the rule of the airplane company, passengers can haveluggage weighted less or equal to 35kg checked for free. The heavy lift additional( 超重附加費)is 6¥ /Kg for domestic first class passengers( 國內(nèi)頭等艙乘客)and 8 ¥ /Kg for other domestic passengers. The heavy liftadditional for the foreign passengers

34、 is double what it is for thedomestic passengers. The heavy lift additional for the disabled is half of that for the normal passengers. Please draw the decision tree forthe carriage computation.(7 points)共 5頁 第 5 頁共 5頁 第 5 頁2、 A product is to be installed to control n elevators in a building with m

35、floors. The problem concern the logic required to move elevators between floors according to the following constrains:Each elevator has a set of m buttons, one for each floor. These illuminate when pressed and cause the elevator to visit the corresponding floor. The illumination is canceled when the

36、 corresponding floor is visited by the elevator.Each floor, except the first floor and the top floor, has two buttons, one to request an up-elevator and one to request a down-elevator. These buttons illuminate when pressed. The illumination is canceled when an elevator visits the floor and then move

37、s in the desired direction.When an elevator has no request, it remains at its current floor with its doors closed.Assumet hat you are in the Object Oriented Analysis phase, please draw the use-case diagram and class diagram for this product.(8 points)3. (7 point)3. (7 point)2007-2008_1 Software engi

38、neering Key Answers (Paper A)For each question, there are four choices marked A,B,C,D, choose the best answer.(each 1 point,total 30 point).D2.C3.D4.C5.B.B12.D13.D14.C15.A21.B22.C23.B24.B25.B評分標準:選對給1 分,選錯給6.D16.B26.A 0 分。7.B8.B9.B17.D 18.A 19.C27.B 28.A 29.D10.C20.D30.BFill in the blank( each blank

39、 1 point ,total 10 poin)trisk analysis 2. workbench 3.revision 4.Performance5.stamp 6.Collaboration 7.specification8.adaptive9. regression10. reverse engineering評分標準:完全填對給1 分;僅有1 處拼寫錯誤的不扣分,拼寫錯誤累計2 個扣 1 分;有 3 處拼寫錯誤的扣1 分,拼寫錯誤累計4 個扣 2 分。單詞拼寫錯誤十分嚴重,無法猜測其拼寫意圖的不給分。Answer the following question.(total 45 p

40、oint)(15 point)Software Engineering: Software Engineering is a discipline whose aim is to produce fault-free software ,to deliver software on time and within budget and to satisfy the clients requirements.Cost-benefit Analysis: A basic principle underlying many software engineering techniques to com

41、pare estimated future benefits and costs.Cohesion: Degree of interaction within a module.Data encapsulation: Data structure together with the operations on it.Reuse: Use components of one product to simplify the development of another product that has different functions.評分標準:允許用自己的語言表述名詞的意思,根據(jù)回答情況酌

42、情給分。(6 point)Advantages: Disciplined approach; Document-drivenDisadvantages: Delivered product may notm eet client s needs評分標準:畫出瀑布模型圖給4 分,根據(jù)繪圖完整情況酌情扣分。瀑布模型的優(yōu)缺點各占1 分。5 pointsRequirements phase: record of discussions with client; document stating client nese ds and/or a rapid prototype.Specification

43、phase: specification document; software project management plan.Design phase: architectural design; detailed design of each module.Implementation phase: source code; comments in the source code; test cases for each module.Integration phase: commented source code of product as a whole; test cases for

44、 product as a whole; user manual, operator manual, other manuals.Maintenance phase: record of changes made, with reasons; regression test cases; modified documentation from previous phases.Retirement phase: why it was retired, when, and by whom.評分標準:每列出一個階段的文檔得1 分,只列出7 個階段,而沒有列出文檔情況得2 分,其他情況酌情扣分。(7

45、points)( 5 分)Two key aspects: Specialization and Hierarch(y 2 分)評分標準:列出主程序員結(jié)構(gòu)得5 分,每列出1 種特點得1 分,如果只列出了主程序員的成員,而沒有列出之間的關(guān)系,扣1 分。其他情況酌情扣分。(5 points)Both are review processes performed by teams with the aim of finding faults. In both cases the material is studied by individual team members, and then the material is reviewed by the team as a group.The major differences are: an inspection is a formal five-step process while a walkthrough has two informal steps; previously acquired fault

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論