四川大学期末考试试题(闭卷)
(2014~2015学年第1学期)
课程号: 311078040
课程名称: 软件工程导论(A卷)任课教师: 洪玫,刘东权,李旭伟等
学号:
姓名:
适用专业年级: 软件工程 2013级
考试须知 四川大学学生参加由学校组织或由学校承办的各级各类考试,必须严格执行《四川大学考试工作管理办法》和《四川大学考场规则》。有考试违纪作弊行为的,一律按照《四川大学学生考试违纪作弊处罚条例》进行处理。 四川大学各级各类考试的监考人员,必须严格执行《四川大学考试工作管理办法》、《四川大学考场规则》和《四川大学监考人员职责》。有违反学校有关规定的,严格按照《四川大学教学事故认定及处理办法》进行处理。 题 号 得 分 阅卷时间 一(20%) 二(10%) 三(15%) 四(20%) 五(35%) 六(0%) 七(0%) 八(0%) 卷面成绩 注意事项:1. 请务必将本人所在学院、姓名、学号、任课教师姓名等信息准确填写在试题纸和添卷纸上; 2. 请将答案全部填写在本试题纸上;
3. 考试结束,请将试题纸、添卷纸和草稿纸一并交给监考老师。
?????????????????????????????
评阅教师
得分
一、单项选择题(本大题共20小题,每小题1分,共20分)
提示:在每小题列出的四个备选项中只有一个是符合题目要求的,请将其代码填写在下表中。错选、多选或未选均无分。
1 D 11 D 2 D 12 D 3 C 13 A 4 B 14 B 5 B 15 D 6 B 16 B 7 C 17 B 8 A 18 A 9 D 19 C 10 A 20 B 1. Software is the collection of ( ).
(A) Programs (B) Data
(C) Documents
(D) All of above
2.Which of the items listed below is not one of the software engineering layers? ( )
(A) Process (B) Methods (C) Tools
(D) Manufacturing
3.The prototyping model of software development is ( ).
(A) A reasonable approach when requirements are well defined.
(B) The best approach to use for projects with large development teams.
注:试题字迹务必清晰,书写工整。
本题共11页,本页为第1页 教务处试题编号:
课程名称: 任课教师: 学号: 姓名:
(C) A useful approach when a customer cannot define requirements clearly.
(D) A risky model that rarely produces a meaningful product.
4. The linear sequential model of software development is also known as the ( ).
(A) Prototyping model (B) Waterfall model (C) Fountain model (D) Spiral model
5.Which one of the following phases is not one of the phase names defined by the Unified Process model for software development? ( )
(A) Inception phase (B) Validation phase (C) Elaboration phase (D) Construction phase
6. The spiral model of software development ( )
(A) Ends with the delivery of the software product
(B) Includes project risks evaluation during each iteration (C) Is more chaotic than the incremental model (D) All of the above
7. The Capability Maturity Model Integration (CMMI) is used to measure ( )
(A) the quality of the product
(B) quality in the context of the business environment (C) the quality of the process (D) none of the above
8. Analysis models depict software in which three representations? ( )
(A) information, function, behavior (B) architecture, interface, component (C) cost, risk, schedule (D) None of the above
9. Software engineers collaborate with customers to define which of the following? ( )
(A) Customer visible usage scenarios (B) Important software features (C) System inputs and outputs (D) All of the above
10. Views are “slices”of architecture. Which view focuses on structural issues? ( )
(A) Logical (B) Use-case (C) Process
(D) Implementation
11. The Data Flow Diagram(DFD) ( ).
注:试题字迹务必清晰,书写工整。
本题共11页,本页为第2页 教务处试题编号:
课程名称: 任课教师: 学号: 姓名:
(A) depicts relationships between data objects
(B) depicts functions that transform the data flow (C) indicates how data are transformed by the system (D) both b and c
12. The entity relationship diagram ( )
(A) depicts functions that transform the data flow (B) depicts relationships between data objects
(C) indicates how data are transformed by the system (D) indicates system reactions to external events
13. Which one of the following items is not an element of a class definition? ( )
(A) Class responsibilities (B) Class attribution (C) Class name (D) Class operations
14. The importance of software design can be summarized in a single word: ( )
(A) accuracy (B) quality (C) complexity (D) efficiency
15. Polymorphism can be described as? ( )
(A) Inheritance
(B) Information
(C) Placing Generalization
(D) one interface encapsulates different implementations
16. Which one of the following is not an area of concern in the design model? ( )
(A) architecture (B) project scope (C) data
(D) interfaces
17. In component design, elaboration does not require which of the following elements to be described in detail? ( ) (A) Attributes (B) Source code (C) Interfaces (D) Operations
18. What is the normal order of activities in which traditional software testing is organized? ( )
(A) unit testing, integration testing, validation testing, system testing (B) integration testing, unit testing, system testing, validation testing (C) validation testing, unit testing, integration testing, system testing
注:试题字迹务必清晰,书写工整。
本题共11页,本页为第3页 教务处试题编号:
课程名称: 任课教师: 学号: 姓名:
(D) system testing, validation testing, integration testing, unit testing
19. Which of the following tests 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? ( )
(A) security testing (B) performance testing (C) recovery testing (D) stress testing
20. The testing technique that requires devising test cases to demonstrate that each program function is operational is called? ( )
(A) glass-box testing (B) black-box testing (C) grey-box testing
(D) white-box testing
评阅教师
得分
二、名词解释题(本大题共5小题,每小题2分,共10分)。
提示:解释每小题所给名词的含义,若解释正确则给分,若解释错误则无分,若解释不准确或不全面,则酌情扣分。
1.Software Engineering
Software Engineer: (1) The application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software; that is, the application of engineering to software. (1分)(2) The study of approaches as in (1). (1分) [IEEE]
2.The Waterfall Model
The waterfall model, sometimes called the classic life cycle, suggests a systematic, sequential approach(1分) to software development that begins with customer specification of requirements and progresses through planning, modeling, construction, and deployment, culminating in going support of the completed software(1分).
3. Component
A component is a modular building block for computer software. More formally, the OMG Unified Modeling Language Specification defines a component as “…a modular, deployable, and replaceable part of a system(1分) that encapsulates implementation and exposes a set of interfaces(1分).”
4. Information hiding
Modules only share information with each other on a “need to know” (1分) basis to achieve some specific software function. Hiding enforces the procedural constraints to both the module procedural detail and any data structures local to the module(1分).
5. Software testing
Software testing is the process (1分)of exercising a program with the specific intent of finding errors(1分) prior to delivery to the end user.
注:试题字迹务必清晰,书写工整。
本题共11页,本页为第4页
教务处试题编号:
课程名称: 任课教师: 学号: 姓名:
评阅教师
得分
三、简答题(本大题共3小题,每小题5分,共15分)。
1.Describe the characteristics of software that are considerably different than those of hardware. Answer: Software is developed, not manufactured.(2分) Software does not wear out. (1分) Most software is custom built, not assembled out of components. (2分) 2.Describe the five framework activities involved in the software process.
Answer: Communication, (1分) planning, (1分) modeling, (1分) construction, (1分) deployment(1分)
3. Describe the differences between black-box testing and white-box testing.
Answer: Black-box testing involves testing the functionality of a software component without knowing the details of its internal logic.(3分) White-box testing involves testing the independent logic paths with full implementation knowledge.(2分)
评阅教师
得分
四、问答题(本大题共2小题,每题10分,共20分)。
1. What are the fundamental differences between the Structured Analysis(SA) and Object-Oriented Analysis(OOA) strategies for requirements analysis? (共10分)
One view of requirements modeling, called structured analysis, considers data and the processes that transform the data as separate entities.(2分) Data objects are modeled in a way that defines their attributes and relationships. (1分)Processes that manipulate data objects are modeled in a manner that shows how they transform data as data objects flow through the system. (2分)
A second approach to analysis modeling, called object-oriented analysis, focuses on the definition of classes and the manner in which they collaborate with one another to effect customer requirements. UML and the Unified Process are predominantly object oriented. (5分)
需求建模一种观点认为,所谓的结构化分析,认为数据和转换数据作为单独实体的过程。(2分)数据对象建模,定义它们的属性和关系的方式。 (1分),该操纵数据对象进程建模的方式,显示了它们如何变换数据作为数据对象流经该系统。 (2分)
的第二种方法分析建模,称为面向对象的分析,着眼于类的定义以及它们与彼此协作以实现客
注:试题字迹务必清晰,书写工整。
本题共11页,本页为第5页
教务处试题编号:
(完整word版)软件工程导论期末试题A(带答案)



