软件工程选择题

软件工程选择题
软件工程选择题

chapter 1

1. Which question no longer concerns the modern software engineering

Why does computer hardware cost so much?

Why does software take a long time to finish?

Why does it cost so much to develop a piece of software?

Why can't software errors be removed from products prior to delivery?

Answer: a

2.Today the increased power of the personal computer has brought about an abandonment of the practice of team development of software.

True

False

Answer: b

3.Software is a product and can be manufactured using the same technologies used for other engineering artifacts.

True

False

Answer: b

4.Software deteriorates rather than wears out because

Software suffers from exposure to hostile environments.

Defects are more likely to arise after software has been used often.

Multiple change requests introduce errors in component interactions.

Software spare parts become harder to order.

Answer: c

5. Most 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 else's components.

d. Off-the-shelf software components are unavailable in many application domains.

Answer: d

6. The nature of software applications can be characterized by their information

a. complexity

b. content

c. determinacy

d. both b and c

Answer: d

7. Change cannot be easily accommodated in most software systems, unless the system was designed with change in mind.

True

False

Answer: a

8. The functionality of most computer systems does not need to be enhanced the lifetime of the system.

True

False

Answer: b

chapter 2

1.Which of the items listed below is not one of the software engineering layers? Answer: b

Process

Manufacturing

Methods

Tools

2.Software engineering umbrella activities are only applied during the initial phases of software development projects. Answer: b

True

False

3.Which of these are the 5 generic software engineering framework activities? Answer: a communication, planning, modeling, construction, deployment

communication, risk management, measurement, production, reviewing

analysis, designing, programming, debugging, maintenance

analysis, planning, designing, programming, testing

4.Which of these terms are level names in the Capability Maturity Model? Answer: e

Performed

Repeated

Reused

Optimized

Both a and d

5. Which of the items listed below is not one of the process patterns. Answer: d

a. Intent

b. Solution

c. Resulting Context

d. Output

6. Process technology tools allow software organizations to compress schedules by skipping unimportant activities. Answer: b

a. True

b. False

7. It is generally accepted that one cannot have weak software processes and create high quality end products. Answer: a

True

False

8. The tasks (and degree of rigor) for each activity are always unchanged. Answer: b

True

False

chapter 3

1.The linear sequential model of software development is Answer:a

A reasonable approach when requirements are well defined.

A good approach when a working program is required quickly.

The best approach to use for projects with large development teams.

An old fashioned model that cannot be used in a modern context.

2.The linear sequential model of software development is also known as the Answer:e

Classical life cycle model

Fountain model

Spiral model

Waterfall model

both a and d

3.The incremental model of software development is

Answer:b

A reasonable approach when requirements are well defined.

A good approach when a working core product is required quickly.

The best approach to use for projects with large development teams.

A revolutionary model that is not used for commercial products.

4.The rapid application development model is

Answer:c

Another name for component-based development.

A useful approach when a customer cannot define requirements clearly.

A high speed adaptation of the linear sequential model.

All of the above.

5. Evolutionary software process models Answer:d

Are iterative in nature

Can easily accommodate product requirements changes

Do not generally produce throwaway systems

All of the above

6. The prototyping model of software development is Answer:b

a. A reasonable approach when requirements are well defined.

b. 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 development? Answer:d

Inception phase

Elaboration phase

Construction phase

Validation phase

8. In the Unified Process model requirements are determined iteratively and may span more than one phase of the process. Answer:a

True

False

chapter 4

Chapter 5

5. UML notations that can be used to model the hardware and software elements of a system are

Activity diagrams

Class diagrams

Deployment diagrams

Use-case diagrams

a, b, and c

Answer: e

6. The system model template contains which of the following elements

a. input

b. output

c. user interface

d. all of above

Answer: d

7. The top level of the hierarchical model of a system is known as the

AFD

DFD

SCD

SFD

Answer: c

Chapter 6

1.In requirements validation the requirements model is reviewed to ensure its technical feasibility.

True

False

Answer: b

2.In win-win negotiation, the customer's needs are met even though the developer's need may not be.

True

False

Answer: b

3.Which of the following is not one of the context-free questions that would be used during project inception? What will be the economic benefit from a good solution?

Who is against this project?

Who will pay for the work?

Who will use the solution?

Answer: b

4.The use of traceability tables helps to

debug programs following the detection of run-time errors

determine the performance of algorithm implementations

identify, control, and track requirements changes

none of the above

Answer: c

5. The system specification describes the

Function, performance and constraints of a computer-based system

implementation of each allocated system

element software architecture

time required for system simulation

Answer: a

6. 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)?

exciting

expected

mandatory

normal

Answer: c

Chapter 7

1.Which of these is not an element of an object-oriented analysis model?Answer: c

Behavioral elements

Class-based elements

Data elements

Scenario-based elements

2.Which of the following is not an objective for building an analysis model? Answer: c

define set of software requirements that can be validated

describe customer requirements

develop an abbreviated solution for the problem

establish basis for software design

3. The data flow diagram: Answer: e

depicts relationships between data objects

depicts functions that transform the data flow

indicates how data are transformed by the system

indicates system reactions to external events

both b and c

4.Which of the following items does not appear on a CRC card? Answer: c

class collaborators

class name

class reliability

class responsibilities

5. For purposes of behavior modeling a state is any

consumer or producer of data.

data object hierarchy.

observable mode of behavior.

well defined process.

Answer: c

6. Attributes cannot be defined for a class until design has been completed.

a. True

b. False

Answer: b

7. Operations are object procedures that are invoked when an object receives a message.

True

False

Answer: a

8. UML activity diagrams are useful in representing which analysis model elements?

a. Behavioral elements

b. Class-based elements

c. Flow-based elements

d. Scenario-based elements

Answer: d

Chapter 8

1.Which of the following are areas of concern in the design model? Answer: e

architecture

data

interface

project scope

a, b and c

2.Which of these are characteristics of a good design? Answer: e

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 software

both b and d

https://www.360docs.net/doc/c713043306.html,rmation hiding makes program maintenance easier by hiding data and procedure from unaffected parts of the program. Answer: a

True

False

4.Cohesion is a qualitative indication of the degree to which a module Answer: b

can be written more compactly.

focuses on just one thing.

is able to complete its function in a timely manner.

is connected to other modules and the outside world.

5. Coupling is a qualitative indication of the degree to which a module Answer: d

can be written more compactly.

focuses on just one thing.

is able to complete its function in a timely manner.

is connected to other modules and the outside world.

6. Polymorphism reduces the effort required to extend an object system by Answer: b

coupling objects together more tightly.

enabling a number of different operations to share the same name

making objects more dependent on one another.

removing the barriers imposed by encapsulation.

7. Which design model elements are used to depict a model of information represented from the user's view? Answer: c

Architectural design elements

Component-level design elements

Data design elements

Interface design elements

8. Which design is analogous to the floor plan of a house? Answer: a

a. Architectural design elements

b. Component-level design elements

c. Data design elements

d. Interface design elements

9. Which design model is analogous to the detailed drawings of the access points and external utilities for a house?

Architectural design elements

Component-level design elements

Data design elements

Interface design elements

Answer: d

10. Which design model is analogous to a set of detailed drawings for each room in a house?

a. Architectural design elements

b. Component-level design elements

c. Data design elements

d. Interface design elements

Answer: b

11. The deployment design elements specify the build order for the software components.

a. True

b. False

Answer: b

12. One of the key problems in software reuse is the inability to find existing reusable design patterns when hundreds of candidates exist.

a. True

b. False

Answer: a

Chapter 9

1.An architectural style encompasses which of the following elements?Answer: e

a.constraints

b.set of components

c.semantic models

d.syntactic models

e.a, b and c

2.During the process of modeling the system in context, systems that interact with the target system are not represented as Answer: d

a.Peer-level systems

b.Subordinate systems

c.Super-ordinate systems

d.Working systems

3.When the overall flow in a segment of a data flow diagram is largely sequential and follows straight-line paths, _________ is present. Answer: d

a.low coupling

b.Good modularity

c.transaction flow

d.transform flow

4.When you encounter both transform flow and transaction flow in the same DFD the flow is partitioned and the appropriate mapping technique is used on each part of the DFD. Answer: a

a.True

b.False

5. When a single item that triggers other data flow along one of many paths of a data flow diagram, ________ characterizes the information flow.Answer: c

a.high coupling

b.poor modularity

c.transaction flow

d.transform flow

6. In transaction mapping the first level factoring results in the Answer: b

a.creation of CFD.

b.derivation of control hierarchy

c.distribution of work modules

d.refinement of the module view

7. A successful application of transform or transaction mapping to create an architectural design is supplemented by Answer: e

a.entity relationship diagram

b.module interface descriptions

c.processing narratives for each module

d.test case for each module

e.Both b and c

8. The best representation of system architecture is an operational software prototype. Answer: b

a. True

b. False

Chapter 10

1.In the context of object-oriented software engineering a component contains

a.attributes and operations

b.instances of each class

c.roles for each actor (device or user)

d.a set of collaborating classes

Answer: d

2. In traditional software engineering, modules must serve in which of the following roles?

a.Control component

b.Infrastructure component

c.Problem domain component

d.All of the above

Answer: d

3. Which of the following is not one of the four principles used to guide component-level design?

a.Dependency Inversion Principle

b.Parsimonious Complexity Principle

c.Interface Segregation Principle

d.Open-Closed Principle

Answer: b

4. Classes and components that exhibit functional, layer, or communicational cohesion are relatively easy to implement, test, and maintain. Answer: a

a.True

b.False

5. In component design, elaboration does not require which of the following elements to be described in detail?

a.Source code

b.Attributes

c.Interfaces

d.Operations

e.b, c and d

Answer: a

6. In component-level design "persistent data sources" refer to Answer: e

https://www.360docs.net/doc/c713043306.html,ponent libraries

b.Databases

c.Files

d.All of the above

e.Both b and c

7. The object constraint language (OCL) complements UML by allowing a software engineer to use a formal grammar to construct unambiguous statements about design model elements.

a.True

b.False

Answer: a

8. Which of these criteria are useful in assessing the effectiveness of a particular design notation?

a. maintainability

b. modularity

c. simplicity

d. size

e. a, b, and c

Answer: e

Chapter 11

1.Which of the following interface design principles does not allow the user to remain in control of the interaction with a computer?Answer: d

a.allow interaction to interruptible

b.allow interaction to be undoable

c.hide technical internals from casual users

d.only provide one defined method for accomplishing a task

2.Which of the following interface design principles reduces the user's memory load? Answer: e

a.define intuitive shortcuts

b.disclose information in a progressive fashion

c.establish meaningful defaults

d.provide an on-line tutorial

e.answers a, b and c

3.Interface consistency implies that

Answer: e

a.each application should have its own distinctive look and feel

b.input mechanisms remain the same throughout the application

c.navigational methods are context sensitive

d.visual information is organized according to a design standard

e.both b and d

4.The reason for reducing the user's memory load is make his or her interaction with the computer quicker to complete. Answer: b

a.True

b.False

5. Which model depicts the profile of the end users of a computer system?Answer: c

a.design model

b.implementation model

https://www.360docs.net/doc/c713043306.html,er model

https://www.360docs.net/doc/c713043306.html,er's model

6. Which of these framework activities is not normally associated with the user interface design processes? Answer: a

a.cost estimation

b.interface construction

c.interface validation

https://www.360docs.net/doc/c713043306.html,er and task analysis

7. Which approach(es) to user task analysis can be useful in user interface design? Answer: e

a.have users indicate their preferences on questionnaires

b.rely on the judgement of experienced programmers

c.study existing computer-based solutions

d.observe users performing tasks manually

e.both c and d

8. Several usability measures can be collected while observing users interacting with a computer system including Answer: e

a. down time for the application

b. number of user errors

c. software reliability

d. time spent looking at help materials

e. both b and d

1.Which of the following interface design principles allow the user to remain in control of the interaction with

a computer?

Answer: e

a.allow interaction to interruptible

b.allow interaction to be undoable

c.hide technical internals from casual users

d.only provide one defined method for accomplishing a task

e.a, b and c

2.Which of the following interface design principles does not reduce the user's memory load?

a.define intuitive shortcuts

b.disclose information in a progressive fashion

c.establish meaningful defaults

d.provide an off-line tutorial

e.answers a, b and c

Answer: d

3.Interface consistency implies that

a.each application should have its own distinctive look and feel

b.input mechanisms remain the same throughout the application

c.navigational methods are context sensitive

d.visual information is organized according to a design standard

e.both b and d

Answer: e

4.If past interactive models have created certain user expectations it is not generally good to make changes to the model.

a.True

b. False

Answer: a

5. Which model depicts the image of a system that an end user creates in his or her head?

a.design model

https://www.360docs.net/doc/c713043306.html,er model

c.system model

d.system perception

Answer: d

6. Which of these framework activities is normally associated with the user interface design processes?

a.cost estimation

b.interface construction

c.interface validation

https://www.360docs.net/doc/c713043306.html,er and task analysis

e.b, c and d

Answer: e

7. Which approach(es) to user task analysis can be useful in user interface design?

a.have users indicate their preferences on questionnaires

b.rely on the judgement of experienced programmers

c.study existing project management

d.observe users performing tasks manually

Answer: d

8. Several common design issues surface for almost every user interface including

a. adaptive user profiles

b. error handling resolution of graphics

c. response time

d. displays system

e. both b and d

Answer: e

Chapter 12

1.What is the normal order of activities in which traditional software testing is organized?Answer:c

a.integration testing, unit testing, system testing, validation testing

b.validation testing, unit testing, integration testing, system testing

c.unit testing, integration testing, validation testing, system testing

d.system testing, validation testing, integration testing, unit testing

2.Which of the following strategic issues needs to be addressed in a successful software testing process? Answer: e

a.conduct formal technical reviews prior to testing

b.specify requirements in a quantifiable manner

https://www.360docs.net/doc/c713043306.html,e independent test teams

d.wait till code is written prior to writing the test plan

e.answers a and b

3.Which of the following need to be assessed during unit testing? Answer: e

a.algorithmic performance

b.code stability

c.error handling

d.execution paths

e.both c and d

4.Drivers and stubs are not needed for unit testing because the modules are tested independently of one another. Answer: b

a.True

b.False

5. Top-down integration testing has as it‘s major advantage(s) that Answer: e

a.low level modules never need testing

b.major decision points are tested early

c.no drivers need to be written

d.no stubs need to be written

e.both b and c

6. Bottom-up integration testing has as it's major advantage(s) that Answer: c

a.major decision points are tested early

b.no drivers need to be written

c.no stubs need to be written

d.regression testing is not required

7. The OO testing integration strategy involves testing Answer: a

a.groups of classes that collaborate or communicate in some way

b.single operations as they are added to the evolving class implementation

c.operator programs derived from use-case scenarios

d.none of the above

8. Which of the following is an approach to debugging? Answer: e

a. backtracking

b. cause elimination

c. brute force

d. code restructuring

e. a, b and c

1.What is the normal order of activities in which traditional software testing is organized?Answer: c

a.integration testing, unit testing, system testing, validation testing

b.validation testing, unit testing, integration testing, system testing

c.unit testing, integration testing, validation testing, system testing

d.system testing, validation testing, integration testing, unit testing

2.Which of the following strategic issues needs to be addressed in a successful software testing process? Answer: e

a.conduct formal technical reviews prior to testing

b.specify requirements in a quantifiable manner

https://www.360docs.net/doc/c713043306.html,e independent test teams

d.wait till code is written prior to writing the test plan

e.answers a and b

3.Which of the following need to be assessed during unit testing? Answer: e

a.algorithmic performance

b.code stability

c.error handling

d.execution paths

e.both c and d

4.When testing object-oriented software it is important to test each class operation separately as part of the unit testing process. Answer: b

a.True

b.False

5. 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?Answer: d

a.security testing

b.performance testing

c.stress testing

d.recovery testing

6. Bottom-up integration testing has as it's major advantage(s) that Answer: c

a.major decision points are tested early

b.no drivers need to be written

c.no stubs need to be written

d.regression testing is not required

7. The OO testing integration strategy involves testing

Answer: a

a.groups of classes that collaborate or communicate in some way

b.single operations as they are added to the evolving class implementation

c.operator programs derived from use-case scenarios

d.none of the above

8. Which of the following is an approach to debugging?

Answer: e

a. backtracking

b. cause elimination

c. brute force

d. code restructuring

e. a, b and c

Chapter 13

1.Which of the following are characteristics of testable software? Answer: d

a.observability

b.simplicity

c.stability

d.all of the above

2.The testing technique that requires devising test cases to demonstrate that each program function is operational is called? Answer: a

a.black-box testing

b.glass-box testing

c.grey-box testing

d.white-box testing

3.The testing technique that requires devising test cases to exercise the internal logic of a software module is called? Answer: d

a.behavioral testing

b.black-box testing

c.grey-box testing

d.white-box testing

4.The cyclomatic complexity metric provides the designer with information regarding the number of

a.cycles in the program

b.errors in the program

c.independent logic paths in the program

d.statements in the program Answer: c

5. Black-box testing attempts to find errors in which of the following categories Answer: d

a.incorrect or missing functions

b.interface errors

c.performance errors

d.all of the above

e.none of the above

6. Testing OO class operations is made more difficult by Answer: d

a.encapsulation

b.inheritance

c.polymorphism

d.both b and c

7. What is 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. White-box testing involves testing the independent logic paths with full implementation knowledge.

8. What is equivalence partitioning as it applies to software testing? What is scenario-based testing?

Answer: Equivalence partitioning technique divides the input domain into classes of equivalent data items. Test cases are derived from combinations of elements from each equivalence class. Exhaustive testing of all input domain values is not necessary. Scenario-based testing: The user tasks described in the use-cases are used to construct the test cases. It is used to uncover errors that occur when actors interact with the software (focus is on user behavior, not product behavior).

1.Which of the following are characteristics of testable software?Answer: d

a.observability

b.simplicity

c.stability

d.all of the above

2.The testing technique that requires devising test cases to demonstrate that each program function is operational is called? Answer:d

a.while-box testing

b.glass-box testing

c.grey-box testing

d.black-box testing

3.The testing technique that requires devising test cases to exercise the internal logic of a software module is called? Answer:c

a.behavioral testing

b.grey-box testing

c.while-box testing

d.black-box testing

4.The cyclomatic complexity metric provides the designer with information regarding the number of

a.Independent logic paths in the program

b.cycles in the program

c.errors in the program

d.statements in the program Answer: a

5. Black-box testing attempts to find errors in which of the following categories Answer: d

a.incorrect or missing functions

b.interface errors

c.performance errors

d.all of the above

e.none of the above

6. Testing OO class operations is made more difficult by Answer: d

a.polymorphism

b.encapsulation

c.inheritance

d.both b and c

7. What is 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. White-box testing involves testing the independent logic paths with full implementation knowledge.

8. What is equivalence partitioning as it applies to software testing? What is scenario-based testing?

Answer: Equivalence partitioning technique divides the input domain into classes of equivalent data items. Test cases are derived from combinations of elements from each equivalence class. Exhaustive testing of all input domain values is not necessary. Scenario-based testing: The user tasks described in the use-cases are used to construct the test cases. It is used to uncover errors that occur when actors interact with the software (focus is on user behavior, not product behavior).

软件工程期末考试题含答案

一、选择题 1.瀑布模型把软件生命周期划分为八个阶段:问题的定义、可行性研究、软件需求分析、系统总体设计、详细设计、编码、测试和运行、维护。八个阶段又可归纳为三个大的阶段:计划阶段、开发阶段和_。 ( C ), A .详细计划 B .可行性分析 C .运行阶段 D.测试与排 错 2.在结构化的瀑布模型中,哪一个阶段定义的标准将成为软件测试年勺系统测试阶段的目标( A ) A .需求分析阶段 B .详细设计阶段 C.概要设计阶段 D .可行性研究阶段, 3.软件工程的出现主要是由于(C ) , A.程序设计方法学的影响 B.其它工程科学的影响 C.软件危机的出现 D.计算机的发展, 4.软件工程方法学的目的是:使软件生产规范化和工程化,而软件工程方法得以实旅的主要保证是(C) A.硬件环境 B.软件开发的环境 C.软件开发工具和软件开发的环境 D.开发人员的素质 5.软件开发常使用的两种基本方法是结构化和原型化方法,在实际的应用中,它们之间的关系表现为(B) A.相互排斥B相互补充C独立使用 D.交替使用 是软件开发中的一个重要工具,它主要应用于哪种软件开发方法(C) A.基于瀑布模型的结构化方法 B.基于需求动态定义的原型化方法 C.基于对象的面向对象的方法 D.基于数据的数据流开发方法 7.在下面的软件开发方法中,哪一个对软件设计和开发人员的开发要求最高(B) A.结构化方法B原型化方法C面向对象的方法 D.控制流方法 8.结构化分析方法是一个预先严格定义需求的方法,它在实施时强调的是分析对象的(B) A.控制流 B.数据流 C.程序流 D.指令流 9.软件开发的结构化生命周期方法将软件生命周期划分成(A) A.计划阶段.开发阶段.运行阶段 B.计划阶段.编程阶段.测试阶段 C.总体设计.详细设计.编程调试 D.需求分析.功能定义.系统设计 10.软件开发的瀑布模型,一般都将开发过程划分为:分析、设计、编码和测试等阶段,一般认为可能占用人员最多的阶段是(C) A.分析阶段 B.设计阶段 C.编码阶段 D.测试阶段

软件工程练习题目及答案

1.某厂对部分职工重新分配工作的政策是:年龄在20岁以下者,初中文化程度脱 产学习,高中文化程度当电工;年龄在20岁至40岁之间者,中学文化程度男性当钳工,女性当车工,大学文化程度都当技术员;年龄在40岁以上者,中学文化程度当材料员,大学文化程度当技术员。请用PDL语言、判定表和判定树分别描述上述问题。 答:PDL语言描述: If(年龄<20){ If(文化程度=”初中”){ 脱产学习; } Else if (文化程度=”高中”){ 当电工; } } Else if (年龄<40){ If(文化程度=”初中” ||文化程度=”高中”){ If(性别=”男”){ 当钳工; } Else { 当车工; } }

Else{ 当技术员; } } Else{ If(文化程度=”初中” ||文化程度=”高中”){当材料员; } Else { 当技术员; } } 判定表

判定树 ---20<=<40----???? ?? ???????????? ?? ??????? 初中文化程度脱产学习 年龄<20高中文化程度电工女性车工中学文化程度年龄男性钳工大学文化程度技术员中学文化程度材料员年龄>=40大学文化程度技术员 2. 某考务管理系统有如下要求: (1)对考生送来的报名表进行检查; (2)对合格的报名表编好准考证号码后将准考证送给考生,并将汇总后的考生 名单送给阅卷站; (3)对阅卷站送来的成绩表进行检查,并根据考试中心指定的合格标准审定合 格者; (4)填写考生通知单(内容包含考试成绩及合格∕不合格标志),送给考生; (5)按地区、年龄、文化程度、职业、考试级别等进行成绩分类统计及试题难 度分析,产生统计分析表。 画出该系统的分层数据流图。

软件工程作业及参考答案(版)

软件危机与软件工程 3. 软件工程方法学的研究内容包含软件开发技术和软件工程管理两部分, 其期望达到的最终目标是 ()。 A ?消除软件危机 B ?软件开发工程化 C ?程序设计自动化 D ?实现软件重用 4?软件工程学中除重视软件开发技术的研究外,另一重要组成内容是软件的( )。 A .工程管理 B .成本核算 C .人员培训 D .工具开发 5?软件计划是软件开发的早期和重要阶段,此阶段要求交互和配合的是( )。 A ?设计人员和用户 B ?分析人员和用户 C .分析人员和设计人员 D .编码人员和用户 6 .软件工程的结构化生命周期方法是将软件开发的全过程划分为相互独立而又相互依存的阶段,软件的 逻辑模型形成 于( )。 A .开发阶段 B .计划阶段 C .分析阶段 D .设计阶段 7 .在软件工程中,软件生存期可分为计划、开发以及维护三个阶段,每个时期又分为若干更小的阶段。 通常,计划时期包括问题定义、可行性研究和 ①,开发时期包括 ②、详细设计、编码以及 ③。 ① A . 需求分析 B . 可行性研究 C . 经费预算 D . 质量保证 ② A . 需求分析 B . 可行性研究 C 总体设计 D 模块化设计 ③ A . 文档编制 B . 运行维护 C . 测试 D . 验收 &软件开发中常采用的生命周期方法,由于其特征而一般称其为() A .层次模型 B .瀑布模型 C .螺旋模型 D .对象模型 9.描述软件生存周期的瀑布模型包括计划、 (A ) 、设计、编码、测试、维护等阶段。其中,设计阶段又可 以分成(B )和(C )两个步骤。 A :①需求分析 ②可行性研究 ③需求调查 ④问题定义 B, C :①方案设计 ②代码设计 ③概要(总体)设计 ④数据设计 ⑤详细设计 10.什么是软件危机?软件危机产生的原因? ".生命周期阶段的划分?每个阶段的任务? 可行性研究 软件工程 1软件危机是指在开发和( A .运行 B .设计 2 ?造成软件危机的原因是: A. 用户使用不当 C .硬件不可靠 )过程中所遇到的一系列严重问题。 B .对软件的错误认识 D ?缺乏好的开发方法和手段

软件工程期末考试题3

试卷一 中南大学考试试卷 2006--2006 学年学期时间110分钟 专业年级:总分100分,占总评成绩 100% 注:此页不作答题纸,请将答案写在答题纸上 填空题(本题20分,每小题2分) 1. 瀑布模型是以文档为驱动、适合于()软件项目的开发。 2. 需求分析的基本任务是()。 3. 若有一个计算类型的程序,它的输入量只有一个X,其范围是[-1.0,1.0],现从输入的角度考虑一组测试用例:-1.001,-1.0,1.0,1.001。设计这组测试用例的方法是()。 4. 根据程序流程图划分的模块通常是()内聚的模块。 5. 软件的分类,按其功能可分为:系统软件、()和应用软件。 6. UML的定义包括UML语义和()两个部分。 7. 客观世界中的若干类,通常有两种主要的结构关系:即分类结构和( )。 8. IDEF1X图用来描述系统的()模型,主要有实体、联系和()三种成分,其中实体可分为独立实体和(),且一个实体只能在图中出现一次。 二、简答题(本题30分,每小题5分) 1. 什么是软件工程?软件工程和计算机科学有何区别?

2. 面向对象方法和结构化方法有何区别与联系? 3. 什么是模块的作用域和模块的控制域?为何要求模块的控制域必须在作用域内? 4. 什么是设计模式?试举例说明组合设计模式的应用。 5.什么是依赖倒置原则?它和开闭原则有何联系? 6. 软件生存期过程和软件生存期模型有何联系?瀑布模型有何特点? 三、绘图题(本题34分) 1. 某单位拟开发一个计算机房产管理系统,要求系统具有分房、调房、退房和查询统计等功能。房产科将用户申请表输入系统后,系统首先检查申请表的合法性,对不合法的申请表,系统拒绝接收;对合法的申请表根据类型分别进行处理。 (1) 如果是分房申请,则根据申请者的情况(年龄、工龄、职称、职务、家庭人口等)计算其分数,当分数高于阀值分数时,按分数高低将申请单插到分房队列的适当位置。在进行分房时,从空房文件中读出空房信息,如房号、面积、等级、单位面积房租等,把好房优先分给排在分房队列前面的符合该等级房条件的申请者;从空房文件中删掉这个房号的信息,并从分房队列中删掉该申请单,再把此房号的信息和住户信息一起写到住房文件中,输出住房分配单给住户,同时计算房租,并将算出的房租写到房租文件中。 (2) 如果是退房申请,则从住房文件和房租文件中删除有关信息,再把此房号的信息写到空房文件中。

软件工程总结复习习题-答案

精心整理 一、选择题 1.软件工程研究的主要内容有(ABCD) 2.A.软件开发方法、技术 B.软件开发工具及环境 3.C.软件管理技术 D.软件规范(国际规范) 4 5 6 7 8 9 10 11 12 13 14 15 16 17. D.最终提供需求规格说明,并用于作为评估软件质量的依据 18.需求工程的基本活动包括(ABCD) 19. A.获取需求 B.需求分析与建模C.确认需求 D.进化需

求 20.需求获取之所以困难,其主要原因有(ABCD) 21. A.缺乏领域知识 B.存在默认的知识 22. C.存在多个知识源 D.客户可能的偏见 23.常用的需求分析方法有(BCD) 24 25 26 27 28 29 D. 30 31 32 33 34.(1)偶然型(2)逻辑型(3)瞬时型(4)通信型(5)顺序型(6)功能型 35. A.123456 B.124536 C.324156 D.654321 36.(C)是指相同的操作(或函数、过程)作用于不同的对

象上并获得不同的结果 37. A.继承性 B.封装性 C.多态性 D.动态绑定 38.以下UML的几种图中,属于动态模型的有(ACD)39. A.状态图 B.类图 C.合作图 D.顺序图 40.以下软件复用中,抽象程度最低的是(A) 41 D. 42 43 D. 44 45 46 47 48 49 50 择 51. C.尽早地和不断地进行软件测试 D.充分注意测试中的群集现象 52.以下测试方法中属于静态分析方法的有(ABD)

53. A.桌前检查 B.代码会审 C.白盒法 D.步行检查 54.步行检查时,常使用的分析方法有(AB) 55. A.调用图 B.数据流分析图 C.数据流图 D.状态图 56.下面6种常用的逻辑覆盖测试方法,按发现错误能力由弱 57 58 59 60 61 D.因 62 63 64 65 66 67.软件过程和产品质量有详细的度量标准,并且得到了定量的认识和控制。以下哪一级具有上述特征(C) 68. A.可重复级 B.已定义级 C.已管理级 D.优化级

2015软件工程期末复习题(答案).doc

北方工业大学 《软件工程》课程期末复习题(答案) A 卷 2014年春季学期 开课学院:信息工程学院 考试方式:闭卷 考试时间:120 分钟 班级 姓名 学号 一.简要回答下列各问题(共40分,每个小题5分) (1) 阐述软件工程的定义。 答: ● 是指导计算机软件开发和维护的一门工程学科; ● 采用工程的概念、原理、技术和方法来开发和维护软件; ● 把证明正确的管理技术和最好技术综合运用到软件开发中; ● 研究经济地开发出高质量的软件方法和技术; ● 研究有效维护软件的方法和技术。 (2) 简述软件危机的原因。 答: ● 缺乏软件开发的经验和有关软件开发数据的积累,使得开发计划很难制定。 ● 软件人员与用户的交流存在障碍,使得获取的需求不充分或存在错误 。 ● 软件开发过程不规范。如,没有真正了解用户的需求就开始编程序。 ● 随着软件规模的增大,其复杂性往往会呈指数级升高。需要很多人分工协作, 不仅涉及技术问题,更重要的是必须有科学严格的管理。 ● 缺少有效的软件评测手段,提交用户的软件质量不能完全保证。 订 线 装

(3) 画出软件生存周期的瀑布模型的示意图,并简单评述其优缺点。 (4) 画出软件生存周期的增量模型的示意图,并简述其优点。 优点: ●可强迫开发人员采用规范化的方法。 ●严格地规定了每个阶段必须提交的文档。 ●要求每个阶段交出的所有产品都必须是经过验证 的。 缺点 ●由于瀑布模型几乎完全依赖于书面的规格说明,很 可能导致最终开发出的软件产品不能真正满足用户 的需要。如果需求规格说明与用户需求之间有差异, 就会发生这种情况。 ●瀑布模型只适用于项目开始时需求已确定的情况。 1-2 瀑布模型示意图 ●能在较短时间内向用户提交可完成一些有用的工作产 品,即从第1个构件交付之日起,用户就能做一些有用 的工作。 ●逐步增加产品的功能可以使用户有较充裕的时间学习和 适应新产品,从而减少一个全新的软件可能给用户组织 带来的冲击。 ●项目失败的风险较低,虽然在某些增量构件中可能遇到 一些问题,但其他增量构件将能够成功地交付给客户。 ●优先级最高的服务首先交付,然后再将其他增量构件逐 次集成进来。因此,最重要的系统服务将接受最多的测 试。

软件工程课后作业

路松峰_ 2018-07-29 10:32:40 一、简答题 1.什么是软件工程 软件工程是关于软件生产的各个方面的工程学科。 二、判断题 1、软件危机的主要表现是软件需求增加,软件价格上升。 / 正确 2、软件就是程序,编写软件就是编写程序。 错误 三、选择题 1、用来辅助软件开发、运行、维护、管理、支持等过程中的活动的软件称为软件开发工具,通常也称为( A )工具。 A. CASE C. CAM D. CAD 2、在下列选项中,( C )不是软件的特征。 A.系统性与复制性 B.可靠性与一致性 C.有形性与可控性 D.抽象性与智能性 ) 3、软件工程的三要素是( B ) A.技术、方法和工具 B.方法、工具和过程 C. 方法、对象和类 D.过程、模型和方法

第2次作业 路松峰_ 2018-07-29 10:33:32 一、简答题 … 1、快速原型模型的主要优点是什么 软件产品的开发基本上是线性顺序进行的。 2、什么是模型 模型是认识客观事物时,用文字、符号或者图表等进行简化问题描述的一种方式。 二、判断题 1、在软件开发中采用原型系统策略的主要困难是成本问题。 正确 2、软件过程改进也是软件工程的范畴。 · 正确 三、选择题 1、包含风险分析的软件工程模型是( D )。 A.喷泉模型 B.瀑布模型 C.增量模型 D.螺旋模型 2、软件过程是( C )。 A.特定的开发模型 B.一种软件求解的计算逻辑 C.软件开发活动的集合 D.软件生命周期模型 3、CMM模型将软件过程的成熟度分为5个等级。在(B )使用定量分析来不断地改进和管理软件过程。

… 第3次作业 路松峰_ 2018-07-29 10:34:34 一、简答题 1、需求分析有哪三种方法 面向功能分析、面向数据分析、面向对象分析 ) 2、什么是面向数据结构方法 面向数据结构方法是一类侧重从数据结构方面去分析和表达软件需求,进行软件设计的开发方法。该方法从数据结构入手,分析信息结构,并用数据结构图来表示,再在此基础上进行需求分析,进而导出软件的结构。 二、判断题 1、需求评审人员主要由开发人员组成,一般不包括用户。 错误 2、非功能需求是从各个角度对系统的约束和限制,反映了应用对软件系统质量和特性的要求。正确 三、选择题 ;

软件工程期末复习题参考答案

软件工程期末复习题 选择题 1.软件设计中划分模块的一个准则是(C)。 A低内聚低耦合 B低内聚高耦合 C高内聚低耦合 D.高内聚高耦合 2.(A)是用户和设计交换最频繁的方法。 A、原型化方法 B、瀑布模型法 C、螺旋模型方法 D、构件组装模型 3.试判断下列叙述中,哪个些是正确的(C)。 a、软件系统中所有的信息流都可以认为是事务流 b、软件系统中所有的信息流都可以认为是变换流 c、事务分析和变换分析的设计步骤是基本相似的 A、a B、b C、c D、b和c 4.软件工程方法学的目的是:使软件生产规范化和工程化,而软件工程方法得以实施的主要保证是(C) A、硬件环境 B、软件开发的环境 C、软件开发工具和软件开发的环境 D、开发人员的素质 5.20世纪50年代以来,出现了许多不同的程序设计语言,下列语言中哪个语言是低级语言(D) A、PASCAL B、VISUAL BASIC C、C++

D、汇编语言 6.软件测试的目的是?(D) A.软件的正确性 B.找出软件系统中存在的所有错误 C.证明软件系统中存在错误 D.尽可能多的发现软件系统中的错误 7.使用白盒测试方法时,确定测试数据应根据(A)和指定的覆盖标准。 A、程序的内部逻辑 B、程序的复杂程度 C、该软件的编辑人员 D、程序的功能 8.软件维护工作的最主要部分是(C)。 A、纠正性维护 B、适应性维护 C、完善性维护 D、预防性维护 9.PDL是(B)语言。 A.高级程序设计语言 B、伪码式 C、中级程序设计语言 D、低级程序设计语言 10.软件的结构化设计(SD)方法中,一般分为概要设计和详细设计两阶段,其中详细设计主要是要建立(C)。 A、软件结构 B、软件过程 C、软件模型 D、软件模块 11.在数据流图中,○(椭圆)代表(B) A、数据流 B、转换 C、数据源 D、外部实体

软件工程期末考试参考试题

软件工程期末考试参考试题 一、填空题 1、软件生存周期一般可分为问题定义、可行性研究、需求分析、设计编码、测试、运 行与维护阶段。 2、按软件的功能进行划分,软件可以划分为系统软件、支撑软件和应用软件。 3、可行性研究主要集中在以下四个方面经济可行性、技术可行性、法律可行性和抉择。 4、用户界面的可使用性是用户界面设计最重要的也是最基本的目标。 5、常见的软件概要设计方法有3大类:以数据流图为基础构造模块结构的结构化设计 方(SD),以数据结构为基础构造模块的Jackson方法,以对象、类、继承和通信为基础的面向对象设计方法(OOD)。 6、数据流图和数据字典共同构成系统的逻辑模型。 7、软件测试的方法有分析方法和非分析方法(即黑盒法)。 8、单元测试一般以白盒测试为主,黑盒测试为辅。 9、成本估计方法主要有自底向上估计、自顶向下估计和算法模型估计三种类型。 10. 文档(document)—一种数据媒体和其上所记录的(数据)。 11 机器语言、汇编语言:依赖于机器,面向(机器) 12. 软件有效性(efficiency),指软件系统的时间和(空间)效率。 13. 软件定义过程可通过软件系统的(可行性研究)和需求分析两个阶段来完成。 14. 软件定义的基本任务是确定软件系统的工程(需求),也就是要搞清“做什么”。 15. 为了使用户需求逐步精细化、完全化、一致化,通常采用(需求建模技术)。 16. 一个软件的深度是指其控制的(层数)。 17. 以详细设计说明书为输入,将该输入用某种程序设计语言翻译成计算机可以理解并 最终可运行的代码的过程叫(编码)过程。 18. 软件维护是软件生命周期的(最后)一个阶段 19. 软件工程由(方法)、工具和过程三部分组成,称软件工程的三要素。 20. 基于计算机系统的软件要素中的软部件由程序、数据和(文档)组成。 21. 数据流图就是用来刻画数据流和转换的信息系统建模技术。它用简单的图形记号分 别表示数据流、转换、(数据源)以及外部实体。 22. 被继承的类我们称之为基类(父类),在基类的基础上新建立的类我们称之为派生 类子类。 23. 流程图也称为程序框图是最常用的一种表示法,它有顺序、分支和(循环)三个基 本控制构件。 24. 机器语言和汇编语言,也称为(低级)语言。 25. 软件测试是执行程序发现并排除程序中潜伏的(错误)的过程。 26. 软件可维护性,是指软件产品交付使用后,在实现改正潜伏的错误、改进性能等属性、适应环境变化等方面工作的(难易)程度。 27. 软件可理解性,指系统具有清晰的结构,能直接反映问题的(需求)。 28 在实体-关系图简称E-R图中,数据对象实体用长方形、关系用(菱形)、属性用椭 圆表示。 29. 建立数据流模型要遵循的原则包括:每个加工至少应有一个输入数据流以反映被处 理数据的来源和一个(输出)数据流来反映加工的结果 30. 从工程管理的角度软件设计可分为概要设计和(详细)设计两大步骤。

华师在线软件工程作业答案选择题

软件工程作业 在软件可行性研究中,可以从不同的角度对软件进行研究,其中是从软件的功能可行性角度考虑的是()。 A.经济可性性 B.技术可行性 C.操作可行性 D.法律可行性 答案:B 为了提高模块的独立性,模块内部最好是()。 A.逻辑内聚 B.时间内聚 C.功能内聚 D.通信内聚 答案:C Jackson方法是一种面向()的方法。 A.对象 B.数据结构 C.数据流 D.控制流 答案:B 需求分析阶段研究的对象是软件项目的()。 A.用户需求 B.合理要求 C.模糊要求 D.工程要求 答案:A 面向数据结构的设计方法(Jackson方法)是进行()的形式化的方法。 A.系统设计 B.详细设计 C.软件设计 D.编码 答案:B 程序控制的三种基本结构中,()结构可提供多条路径选择。 A.反序 B.顺序 C.循环 D.分支 答案:D 下列属于黑盒测试的是()。 A.基本路径测试 B.条件测试 C.循环测试

软件设计一般分为总体设计和详细设计,它们之间的关系是()。 A.全局和局部 B.抽象和具体 C.总体和层次 D.功能和结构 答案:A 好的软件结构应该是()。 A.高耦合,高内聚 B.低耦合,高内聚 C.高耦合,低内聚 D.低耦合,低内聚 答案:B 面向对象软件技术的许多强有力的功能和突出的优点,都来源于把类组织成一个层次结构的系统,一个类的上层可以有父类,下层可以有子类,这种层次结构系统的一个重要性质是(),一个类获得其父类的全部描述(数据和操作)。 A.传递性 B.继承性 C.复用性 D.并行性 答案:B 软件项目管理是()一切活动的管理。 A.需求分析 B.软件设计过程 C.模块控制 D.软件生命周期 答案:D 一个模块把开关量作为参数传递给另一模型,这两个模块之间的耦合是()。 A.外部耦合 B.数据耦合 C.控制耦合 D.内容耦合 答案:C 在面向数据流的软件设计方法中,一般将信息流分为()。 A.变换流和事务流 B.变换流和控制流 C.事务流和控制流 D.数据流和控制流 答案:A 软件工程学科出现的主要原因是()。 A.计算机的发展 B.其他工程学科的影响 C.软件危机的出现

软件工程试卷与参考题答案

试卷 (一 ) 一、单项选择题 1、在结构化设计( SD)方法中全面指导模块划分的最重要的原则是( ) A、程序模块化 B 、模块高内聚 C 、模块低耦合 D 、模块独立性 2、软件维护产生的副作用,是指() A、开发时的错误 B 、隐含的错误 C 、因修改软件而造成的错误 D 、运行时误操作 3、软件详细设计的主要任务是确定每个模块的() A、算法和使用的数据结构 B 、外部接口 C 、功能 D 、编程 4、为了提高模块的独立性,模块内部最好是() A、逻辑内聚 B 、时间内聚 C 、功能内聚 D 、通信内聚 5、软件是一种() A、程序 B 、数据 C 、逻辑产品 D 、物理产品 6、因计算机硬件和软件环境的变化而作出的修改软件的过程称为( ) A 、纠正性维护 B 、适应性维护 C 、完善性维护D、预防性维护 7、只有单重继承的类层次结构是( )层次结构。 A 、网状型B、星型C、树型D、环型 8、下列属于维护阶段的文档是( ) A 、软件规格说明 B 、用户操作手册 C 、软件问题报告 D 、软件测试分析报 告 9、不适合作为科学工程计算的语言是( ) A 、 Pascal B 、 C C、 Fortran D 、 Prolog 10、研究开发所需要的成本和资源是属于可行性研究中的( ) 研究的一方面。 A. 技术可行性 B. 经济可行性 C. 社会可行性 D. 法律可行性 11、中级结构性成本模型COCOMO是一个 ( ) A、静态单变量模型 B 、动态单变量模型 C 、静态多变量模型 D 、动态多变量模型 12、 PAD图为()提供了有力的工具。

13、下列关于 JSP方法不正确的说法是( ) A 、 JSP 方法主要用于规模不大的数据处理系统 B 、JSP 方法不明确的划分软件概要设计和详细设计的两个阶段 C、JSP 方法适用于输入数据和输出数据之间有对应关系的问题求解 D、 JSP 方法根据输入、输出的数据结构,按一定的规则映射成软件的体系结构。因此 它只适用于详细设计阶段 14、在详细设计阶段,经常采用的工具有() A 、 PAD B、 SA C、 SC D、 DFD 15、确认软件的功能是否与需求规格说明书中所要求的功能相符的测试属于() A、集成测试 B 、恢复测试 C 、验收测试 D 、单元测试 16、盒图( N-S 图)为()提供了有力的工具。 A、系统分析 B 、软件的自动化生成 C 、自动分析数据 D 、测试软件 17、 ( ) 是比较理想的可重用软构件。 A. 子程序库 B. 源代码包含文件 C. 对象 D. 类 18、需求分析阶段的任务是确定() A、软件开发方法 B 、软件开发工具 C 、软件开发费 D 、软件系统的功能 19、下列文档与维护人员有关的有( ) A 、软件需求说明书 B 、项目开发计划 C 、概要设计说明书 D 、操作手册 20、程序的三种基本控制结构是() A 、过程、子程序和分程序 B 、顺序、选择和重复 C 、递归、堆栈和队列 D 、调用、返回和转移 21、软件生存周期中时间最长的是()阶段。 A、总体设计 B 、需求分析 C 、软件测试 D 、软件维护 22、为使得开发人员对软件产品的各个阶段工作都进行周密的思考,从而减少返工,所以()的编制是很重要的。 A、需求说明 B 、概要说明 C 、软件文档 D 、测试计划

软件工程期末试题及答案

软件工程期末试题及答案 选择题 1.软件测试的目的是()。 A)试验性运行软件B)发现软件错误C)证明软件正确D)找出软件中全部错误2.软件测试中白盒法是通过分析程序的()来设计测试用例的。 A)应用范围B)内部逻辑C)功能D)输入数据 3.黑盒法是根据程序的()来设计测试用例的。 A)应用范围B)内部逻辑C)功能D)输入数据 4.为了提高软件测试的效率,应该()。 A)随机地选取测试数据B)取一切可能的输入数据作为测试数据 C)在完成编码以后制定软件的测试计划D)选择发现错误可能性最大的数据作为测试用例5.与设计测试用例无关的文档是()。 A)项目开发计划B)需求规格说明书C)设计说明书D)源程序 6.测试的关键问题是()。 A)如何组织软件评审B)如何选择测试用例 C)如何验证程序的正确性D)如何采用综合策略 7.软件测试用例主要由输入数据和()两部分组成。 A)测试计划B)测试规则C)预期输出结果D)以往测试记录分析 8.成功的测试是指运行测试用例后()。 A)未发现程序错误B)发现了程序错误C)证明程序正确性D)改正了程序错误9.下列几种逻辑覆盖标准中,查错能力最强的是()。 A)语句覆盖B)判定覆盖C)条件覆盖D)条件组合覆盖 10.在黑盒测试中,着重检查输入条件组合的方法是()。 A)等价类划分法B)边界值分析法C)错误推测法D)因果图法 11.单元测试主要针对模块的几个基本特征进行测试,该阶段不能完成的测试是()。A)系统功能B)局部数据结构C)重要的执行路径D)错误处理 12.软件测试过程中的集成测试主要是为了发现()阶段的错误。 A)需求分析B)概要设计C)详细设计D)编码

软件工程在线作业及答案

1.第1题 在软件可行性研究中,可以从不同的角度对软件进行研究,其中是从软件的成本/效益分析的是()。 A.经济可性性 B.技术可行性 C.操作可行性 D.法律可行性 您的答案:A 题目分数:2.5 此题得分:2.5 2.第2题 为了提高模块的独立性,模块内部最好是()。 A.逻辑内聚 B.时间内聚 C.功能内聚 D.通信内聚 您的答案:C 题目分数:2.5 此题得分:2.5 3.第3题 Jackson方法是一种面向()的方法。 A.对象 B.数据结构 C.数据流 D.控制流 您的答案:B 题目分数:2.5 此题得分:2.5 4.第4题 需求分析阶段研究的对象是软件项目的()。 A.用户需求 B.合理要求 C.模糊要求 D.工程要求 您的答案:A 题目分数:2.5 此题得分:2.5

5.第5题 面向数据结构的设计方法(Jackson方法)是进行()的形式化的方法。 A.系统设计 B.详细设计 C.软件设计 D.编码 您的答案:B 题目分数:2.5 此题得分:2.5 6.第6题 程序控制的三种基本结构中,()结构可提供多条路径选择。 A.反序 B.顺序 C.循环 D.分支 您的答案:D 题目分数:2.5 此题得分:2.5 7.第7题 下列属于黑盒测试的是()。 A.基本路径测试 B.条件测试 C.循环测试 D.等价划分 您的答案:D 题目分数:2.5 此题得分:2.5 8.第8题 软件设计一般分为总体设计和详细设计,它们之间的关系是()。 A.全局和局部 B.抽象和具体 C.总体和层次 D.功能和结构 您的答案:A 题目分数:2.5 此题得分:2.5

9.第9题 好的软件结构应该是()。 A.高耦合,高内聚 B.低耦合,高内聚 C.高耦合,低内聚 D.低耦合,低内聚 您的答案:B 题目分数:2.5 此题得分:2.5 10.第15题 面向对象软件技术的许多强有力的功能和突出的优点,都来源于把类组织成一个层次结构的系统,一个类的上层可以有父类,下层可以有子类,这种层次结构系统的一个重要性质是(),一个类获得其父类的全部描述(数据和操作)。 A.传递性 B.继承性 C.复用性 D.并行性 您的答案:B 题目分数:2.5 此题得分:2.5 11.第16题 软件项目管理是()一切活动的管理。 A.需求分析 B.软件设计过程 C.模块控制 D.软件生命周期 您的答案:D 题目分数:2.5 此题得分:2.5 12.第17题 一个模块把开关量作为参数传递给另一模型,这两个模块之间的耦合是()。 A.外部耦合 B.数据耦合 C.控制耦合 D.内容耦合 您的答案:C

《软件工程》期末考试题及答案++精华版!!

《软件工程》期末考试样题 一、填空题 1.软件开发模型有(瀑布模型)(螺旋模型)第四代技术模型(原型模型)构件组装模型、混合模型。 2.可行性研究一般可以从(经济)可行性、(技术) 可行性、运行可行性、法律可行性和开发可行性等方面来研究。 3.现在向银行存款,年利率为i,若希望在n 年后从银行得到F元,现在应该存入的钱数为 (F/(1+i)n)。 4.数据流图的基本符号包括(数据输入的源 点和数据输出的汇点)、(加工)、(数据流)、(数据存储文件)。 5.Jackson图除了可以表达程序结构外,还可以 表达(数据结构),它首先要分析(数据结构),并用适当的工具来描述。 6.详细设计的工具有图形工具)、表格工具和(语言工具)。 7.IPO图由(输入)、处理和(输出)三个框组 成。这个图的特点是能够直观的显示三者之间的关系。 8.面向对象技术是一整套关于如何看待(软件系统)和(现实世界)的关系,以什么观点来研究问题并进行分析求解,以及如何进行系统构造的软件方法学。面向对象方法是一种运用(对象)、(类)、(继承)、(封装)、聚集、消息传送、多态性等概念来构造系统的软件开发方法。 二、单项选择题 1.下列( A )属于系统软件。 A.WINDOWS 2000 B.Word C.Flash D.3D MAX 2.下列哪个图是N-S图的构件( C )。 A. B.

3.对于螺旋模型,下列( D 卡尔坐标表达的活动。 A. 制定计划 B. 实施工程 C. 风险分析 D. 程序编码 三、多项选择题 1.软件危机可以表现为(ABXD A.产品不符合用户的需要 B.软件产品的质量差 C.软件的可维护性差 D.软件的价格昂贵 2.Jackson图中一般可能包括(A.表头 B.表体 C.表名 D.字段名 AD )。、内容耦合是最高程度的耦合 、应该尽量使用内容耦合 、高级语言一般设计成允许内容耦合的形式、如果一个模块有多个入口,可能发生内容.下列属于不标准的书写格式( BCD )。、书写时适当使用空格分隔 、一行写入多条语句 、嵌套结构不使用分层缩进的写法 、程序中不加注释 ,错误的) 软件生存周期是从软件开始开发到开发结束 () 系统流程图是一个典型的描述逻辑系统的传() 数据流图和数据字典共同构成系统的逻辑 A

软件工程导论试题集汇总

1. 航空公司“机票预定系统”: 航空公司为给旅客乘机提供方便,需要开发一个机票预定系统。各个旅行社把预定机票的旅客信息(姓名、性别、工作单位、身份证号码(护照号码)、旅行时间、旅行始发地和目的地,航班舱位要求等)输入到系统中,系统根据旅客信息和航班信息为旅客安排航班。当旅客交付了预订金后,系统打印出取票通知和帐单给旅客,旅客在飞机起飞前一天凭取票通知和帐单交款取票,系统核对无误即打印出机票给旅客。 请用结构化分析方法,给出系统的功能模型(DFD描述)。 参考答案:( 2. 一个简化的机票销售系统需求描述如下: 售票员根据旅客需要的航班,首先查询有无该航班机票。若有,则负责录入旅客的基本信息,并将指定的机票标志设置为售出;售票部经理可随时查询每一个航班的售票情况,并在当日结算时能计算出日营业

3. 图书馆的预定图书子系统有如下功能: (1)由供书部门提供书目给订购组 (2)订书组从各单位取得要订的书目 (3)根据供书目录和订书书目产生订书文档留档 (4)将订书信息(包括书目、数量)反馈给供书单位 (5)将未订书目通知订书者 (6)对于重复订购的书目有系统自动检查,并将结果反馈给订书者 画出数据流图,并转换为软件结构图。 4.某单位要研制一个计算机培训管理系统,它的业务是将学员发来的信件收集分类后,按以下几种情况处理:

如果是报名,则将报名数据送给负责报名事物的职员,他们将查阅课程文件,检查课程是否满额,然后在学生文件、课程文件上登记,并开出报告单较财务部们,财务人员开出发票给学生。 2)注销课程; 如果是想要注销原来已选修的课程,则有注销人员在课程文件、学生文件和账目文件上做相应的修改,并给学生注销单。 3)处理付款 如果是付款,则有财务人员在账目文件上登记,也给学生一张收费收据。 要求:给出该系统的数据流图和软件结构图。 参考答案:(1)数据流图 (2)结构图 5. 假设一家工厂的采购部每天需要一张定货报表,报表按零件编号排序,表中列出所有需要再次定货的零件。对于每个需要再次定货的零件应该列出下述数据;零件编号、零件名称、定货数量、目前价格、主要供应者和次要供应者。零件入库或出库称为事务,通过放在仓库中的CRT终端把事务报告给定货系统。当某种零件的库存数量少于库存量临界值时就应该再次定货。 要求:用结构化方法学对定货系统进行分析及设计,分别完成以下工作: (1) 给出定货系统的功能模型。

软件工程模拟试题1

一、选择题,请从四个可选项中选择正确答案。(60分,每题3分) 1、软件工程强调将()的方法应用于软件的开发和维护过程之中。 A.规范化B.系统化C.可度量D.以上全部 2、软件开发活动的顺序应该是()。 A.问题定义、可行性研究、需求分析、设计、编码和测试。 B.问题定义、设计、可行性研究、编码和测试。 C.需求分析、设计、编码和测试。 D.需求分析、编码和测试、试运行。 3、假定银行的存款年利率是2%,请问现在存5000元,两年后价值应为()元。A.5202 B.4500 C.5100 D.4712 4、系统物理模型用()表示。 A.系统流程图B.数据流程图 C.程序流程图D.E-R图 5、关于软件需求特性不正确的描述是“软件需求具有()”。 A.多变性B.模糊性C.准确性D.主观性 6、随着模块规模减小,模块开发成本_____,模块集成成本____()。 A.减小/减小B.减小/增加C.增加/减小D.增加/增加 7、反映模块独立性的指标是()。

A.模块的复杂性B.模块的大小 C.模块的参数D.内聚和耦合 8、面向过程的方法最关心的是过程,而过程实施的对象是作为过程()传递的。 A.过程B.主体C.参数D.数据结构 9、UML是一种()。 A.建模工具B.可视化的程序设计语言 C.可视化的建模语言D.过程 10、用()模型分析和定义用户的功能需求。 A.数据B.静态C.动态D.用例 11、动态模型描述系统的动态结构和对象之间的交互,表示瞬时的、行为化的系统“控制”特性。面向对象方法中,常用()实现。 A.状态图B.交互图C.活动图D.以上全部 12、面向对象分析和设计的界限是(),从分析到设计是一个逐渐扩充模型的过程。 A.清晰的B.模糊的C.非线性的D.确定的 13、每个子系统的接口定义了若干(),体现了子系统的功能,而功能的具体实现方法应该是隐藏的。 A.操作B.参数C.算法D.控制 14、测试最早的开始时间是()。 A.从详细设计阶段开始

最新软件工程期末考试题

41.软件是一种产品。 A.物质 B. 逻辑√ C. 工具 D. 文档 2.软件产品的生产主要___ _ _。 A. 研制√ B. 再生产 C. 开发 D. 生产 3.软件工程是一门__ _学科。 A. 工程性 B. 原理性 C. 综合性√ D. 理论性 4.类是面向对象方法中的一个重要概念,类的描述分为:名称、和操作。 A. 角色 B. 用例 C. 方法 D. 属性√ 5.下列描述中正确的是___ __。 A.软件工程的主要是解决软件开发中的技术问题 B.软件工程主要解决软件产品的生产率问题 C.软件工程的主要思想是强调在软件开发过程中需要运用工程化的原则√ D.软件工程只是解决软件项目的问题. 6.需求分析最终结果是产生。 A.项目开发计划B.可行性分析报告C.设计说明书D.需求分析说明书√7.需求分析中,开发人员要从用户那里解决最重要的问题是。 A.要让软件做什么√B.要给软件提供哪些信息 C.要求软件工作效率怎样D.要让该软件具有何种结构 8.分层DFD是一种比较严格又易于理解的描述方式,它的顶层图描述了系统的。 A.软件的作者B.输入与输出√C.细节D.绘制的时间 9.数据字典中,一般不包括条目。 A.源点与终点√B.数据存储C.数据流D.加工 10.软件需求分析是保证软件质量的重要步骤,它的实施应该是在。 A.编码阶段B.软件设计阶段√C.软件定义过程D.软件开发全过程11.软件的主要功能和结构是在阶段确定的。 A.测试B.编程C.分析设计√D.维护 12.需求分析最终结果是产生。 A.需求分析说明书√B.可行性分析报告C.项目开发计划D.设计说明书 13.可行性研究主要从方面进行研究。 A.技术可行性,经济可行性,操作可行性B.经济可行性,系统可行性,时间可行性 C.经济可行性,系统可行性,操作可行性D.技术可行性,经济可行性,社会可行性√ 14.可行性分析研究的目的是。 A.项目值得开发与否√B.开发项目C.争取项目D.规划项目 15.需求分析中开发人员要从用户那里了解。 A.输入的信息B.用户使用界面C.软件做什么√D.软件的规模 16.需求分析阶段研究的对象是。 A.软硬件要求B.系统要求C.分析员要求D.用户需求√ 17.系统流程图用于可行性分析中的的描述。 A.目标系统B.当前逻辑模型C.当前运行系统√D.新系统 18.数据字典是用来定义中的各个成分的具体含义的。

软件工程模拟题1带答案

软件工程期末试卷A 试题一、结构化分析与设计(共20 分,每小题10分) 需求陈述: 高考录取统分子系统有如下功能: (1) 计算标准分:根据考生原始分计算,得到标准分,存入考生分数文件; (2) 计算录取线分:根据标准分、招生计划文件中的招生人数,计算录取线,存入录取线文件。 要求:用结构化方法学对高考录取统分子系统进行分析与设计,分别完成以下工作: (1)给出高考录取统分子系统的功能模型(用数据流图表示)。(10分) (2) 给出高考录取统分子系统的软件体系结构(用H图或结构图表示)。(10分) 答案 网上搜的答案 结构图即软件的模块

试题二、下面是程序流程图,试分别用N-S图和伪代码(类C语言描述)表示。(共20分) 答案: 我做的:do { if(!p) { g 真假 假 开始 结束 p >0 q 真

exit(); } g; } while(q); 我自己做的,可以不太对

Do { If(p为真) { 执行g If(g为真) { do nothing } Else if(g为假) { return } } Else if(p为假) { Return } }while(g为真) 试题三、(共20 分,每题10 分) 阅读下面的程序段,回答后面的问题: float calculateTotal( int N) //计算满足条件的N个数的和 { float count = 0.0; int i=1; while ( i<=N ) { if( i % 4 == 0) count += i; i++; } return count; } (1)画出上述程序的有向流图,并计算该函数的环形复杂度。(每问5分,共10分)(2)请用基本路径的测试技术完成该函数的测试。要求给出基本路径和测试用例。(每问5分,共10分) 答:这道题课本上没有知识点,从网上搜出来的,知识点见“测试基础”PPT的P30页 白盒测试代码分支图的环形复杂度计算: 环形复杂度以图论为基础,为我们提供了非常有用的软件度量。可用如下三种方法之一来计算环形复杂度:(1)控制流图中环形区域的数量对应于环形复杂度。(2)给定控制流图G的环形复杂度—V(G),定义为V(G) = E-N+2 其中,E是控制流图中边的数量,N是控制

软件工程作业答案

软件工程网上作业题 第1章软件工程学概述 一、选择题 1、软件危机具有下列表现( ) I、对软件开发成本估计不准确 II、软件产品的质量往往不可靠 III、软件常常不可维护 IV、软件成本逐年上升 A.I、II与III B.I、III与IV C.II、III与IV D.以上都正确 答案:D 2、产生软件危机的原因可能有( ) I、用户需求描述不精确、不准确 II、对大型软件项目的开发缺乏有力的组织与管理 III、缺乏有力的方法学与工具的支持 IV、软件产品的特殊性与人类智力的局限性 A.I与II B.I、II与IV C.II、III与IV D.以上都正确 答案:D 3、( )分批地逐步向用户提交产品,每次提交一个满足用户需求子集的可运行的产品。 A、增量模型 B.喷泉模型 C.原型模型D、螺旋模型 答案:A 4、为了克服软件危机,人们提出了用( ) 的原理来设计软件,这就就是软件工程诞生的基础。 A、数学 B、软件学 C、运筹学 D、工程学 答案:D 4、TURBO PASCAL就是()软件。 A、系统软件 B、人工智能 C、事务软件 D、应用软件 答案:D 6.具有风险分析的软件生存周期模型就是( ) A、瀑布模型 B、喷泉模型 C、螺旋模型 D、增量模型 答案:C 7、瀑布模型的关键不足在于( ) A、过于简单B、不能适应需求的动态变更 C、过于灵活D、各个阶段需要进行评审 答案:B

8.软件危机就是指( )。 A、软件遭到破坏 B、软件开发与维护过程中遇到的问题 C、软件维护出现困难 D、软件不能正常运行系列问题 答案:B 9、软件的复杂性就是( ),它引起人员通信困难、开发费用超支、开发时间超时等问题。 A、固有的 B、人为的 C、可消除的 D、不可降低的 答案:A 10、( )就是将系统化的、规范的、可定量的方法应用于软件的开发、运行与维护的过程,它包括方法、工具与过程三个要素。 A、软件过程 B、软件测试C 、软件生存周期D 、软件工程 答案:D 11.软件的主要特性就是( )。 A、高性能 B、高成本 C、包括程序与文档 D、可独立构成计算机系统 答案:B 12.软件开发方法的主要工作模型有( ) A、螺旋模型 B、循环模型 C、瀑布模型 D、专家模型 13.软件工程三要素就是( )。 A、高技术人员、方法与工具 B、方法、工具与过程 C、方法、对象与类 D、过程、模型、方法 答案:B 14.软件工程的目标有( )。 A、易于维护 B、低的开发成本 C、高性能 D、短的开发期 答案:B 15.软件工程学的目的与意义就是( )。 A、应用科学的方法与工程化的规范管理来指导软件开发 B、克服软件危机 C、做好软件开发的培训工作 D、以较低的成本开发出高质量的软件 答案:D 16、开发软件所需高成本与产品的低质量之间有着尖锐的矛盾,这种现象称做( ) A、软件工程 B、软件周期 C、软件危机 D、软件产生 答案:C 17、快速原型模型的主要特点之一就是( ) A、开发完毕才见到产品 B、及早提供全部完整的软件产品 C、开发完毕后才见到工作软件 D、及早提供工作软件 答案:D 18.瀑布模型的存在问题就是( ) A.用户容易参与开发 B.缺乏灵活性 C.用户与开发者易沟通 D.适用可变需求 答案:B 19、软件生存周期模型不包括:() A、瀑布模型 B、对象模型 C、增量模型 D、喷泉模型 答案:B

相关文档
最新文档