《四川大学软件工程期末.docx》由会员分享,可在线阅读,更多相关《四川大学软件工程期末.docx(7页珍藏版)》请在三一办公上搜索。
1、四川大学软件工程期末A. Multiple choice (Only one is correct): ( 20*2%=40%) 1 Approximately which activity listed below will consume the least amount of time in a project? A analysis B design C coding D testing 2 The first step in project planning is to A determine software scope B select project team leader C
2、 determine the budget D determine the process model 3 Which factors are important when choosing a project team leader? A managerial identity B outstanding programming ability C problem solving ability D ability of communicating to other people 4 The importance of software design can be summarized in
3、 a single word: A accuracy B complexity C efficiency D quality 5 Cohesion is a qualitative indication of the degree to which a module A can be written more compactly B is connected to other modules and the outside world C is able to complete its function in a timely manner D focuses on just one thin
4、g 6 Notations for depicting procedural detail include A box diagram B ER diagram C flow chart D decision table 7 The best reason for using independent software test teams is that A software developers do not need to do any testing B testers do not get involved with the project until testing begins C
5、 strangers will test the software mercilessly D the conflicts of interest between developers and testers is reduced 8 Which of the following items is not the software engineering layers? A. Programming B. quality C. Methods D. Tools 9 What are the three generic phases of software engineering? A. def
6、inition, development, support B. what, how, where C. programming, debugging, maintenance D. analysis, design, testing 10 The Water-Fall process model of software development is A. A reasonable approach when requirements are well defined. B. A good approach when a working program is required quickly.
7、 C. The best approach to use for projects with large development teams. D. An old fashioned model that is rarely used any more. 11 If customers cannot define requirements clearly, the developer should use 1 The Water-Fall model 2 The prototyping model 3 The spiral model 4 Any model 12 There are thre
8、e important risks which we must focus on them carefully. They are A business risks, personnel risks, budget risks B project risks, technical risks, business risks C planning risks, technical risks, personnel risks D management risks, technical risks, design risks 13 key concept of quality control is
9、 that all work products 1 are delivered on time and under budget 2 have complete documentation 3 have measurable specifications for process outputs 4 are thoroughly tested before delivery to the customer 14 What task is not performed as part of software requirements analysis? 1 evaluation and synthe
10、sis 2 modeling and problem recognition 3 planning and scheduling 4 specification and review 15 The entity relationship diagram 1 depicts relationships between data objects 2 depicts functions that transform the data flow 3 indicates how data are transformed by the system 4 indicates system reactions
11、 to external events 16 Which of the following is not an area of concern in the design model? 1 architecture 2 data 3 interfaces 4 project scope 17 Which of following is a characteristic of a good design? 1 exhibits strong coupling between its modules 2 implements all requirements in the analysis mod
12、el 3 includes test cases for all components 4 incorporates source code for descriptive purposes 18 Software reliability problems can almost always be traced to 1 errors in requirements gathering 2 errors in design and implementation 3 human error 4 errors in operation 19 Which of the following need
13、to be assessed during unit testing? A. algorithmic performance B. code stability C. execution and error handling D. all of the above 20 Which of the following is an approach to debugging? A. backtracking B. brute force C. cause elimination D. all of the above B. True or false. (10*2%=20%) 1 Software
14、 is a product and can be manufactured using the same technologies used for other engineering artifacts. 2 Customers, end-users, practitioners, project managers and sales people are all considered as players in the software process. 3 A good software is flexible, so it can easily accommodate changes
15、brought up with the requirement change. 4 We should consider the implementation view first during software requirements analysis. 5 Every computer-based system can be modeled as an information transform using an input-processing-output template. 6 Test cases should be designed long before testing be
16、gins. 7 Recovery testing is a system test that forces the software to fail in a variety of ways and verifies that software is able to continue execution without interruption. 8 Adding more people to a project that is already behind schedule is a good way to catch up. 9 Change cannot be easily accomm
17、odated in most software systems, unless a system was designed with change in mind. 10 A consideration of software scope must include an evaluation of all external interfaces. C. Short answer: (4*5%=20%) 1 What are main contents in a project plan? 2 Please describe the differences between the verific
18、ation and validation? 3 What are the characteristics of testable software? 4 What is the SQA? Describe its role in software development. 5 Please give explanations on why requirements elicitation is so difficult. D. Answer the following questions in detail: (2*10%=20%) 1 As a modern software project
19、 manager, what must you do to begin a project? Please briefly describe the major activities of project management. 2 Given a procedure for computing the average of positive numbers: i=0; sum=0; input a; do while a!=0 if (a0) i+; sum+=a; input a; if(i0) average=sum/i; else average=-999; Please: (1) draw the corresponding flow graph; (2) tell the cyclomatic complexity of the procedure; and (3) list all the independent paths for basis path testing.