To build a schedule, the critical path method is used. The activity graph

Advanced Software Engineering
2010 Final Examination Paper
(3 points each from 1 to 25)
1,In order to deliver the system on time, the development team implemented a straightforward,
brute force algorithm(蛮力算法) in the system. This algorithm is sufficient for the current needs
But when the volume of business increases,it doesn’t meet the performance requirements.
This situation would be an example of:
a. An exception
b. An error
c. A fault
d. A failure
2,One of the outside systems has defects in its own software, and sometimes sends data to your
system in which some of the data are not in the correct format. When this occurs your system
alerts the Administrators and none of the data from this outside system is updated.
This situation would be an example of:
a. An exception
b. An error
c. A fault
d. A failure
3,Which are NOT valid choices and rationales according to V Model(one kind of Software
Process Models)?
a.Uses unit testing to verify program design;
b.Uses integration testing to verify architectural (system) design;
c.Uses system testing to validate the requirements;
d.Uses acceptance testing to validate the requirements;
4,The Manifesto for Agile Software Development:
“We are uncovering better ways of developing software by doing it and helping others do it.
Through this work we have come to value:
 Individuals and interactions over processes and tools
 Working software over comprehensive documentation
 Customer collaboration over contract negotiation
 Responding to change over following a plan
That is, while there is value in the items on the right, we value the items on the left more.”
Which are NOT valid choices and rationales according to the Manifesto for Agile Software
Development?
a.Emphasis on flexibility in producing software quickly and capably;
b.If we choose Agile Software Development proccess,never need to write documents ;
c.Concentrate on responding to change rather than on creating a plan and then following it;
d.Develops software iteratively with a heavy emphasis on construction activities
试卷第 1 页(共 7 页)
5,IBM Rational Unified Process® (RUP®) is a comprehensive process framework that provides
industry-tested practices for software and systems delivery and implementation and for effective
project management.Which are valid choices and rationales according to RUP?
a.Views software development as manufacturing process rather than as creative process
b.There is no iterative activities that lead to creating a final product
c.Provides no guidance how to handle changes to products and activities during development
(assumes requirements can be frozen)
d.Driven by use case to develop Iteratively and continuously verify quality
To build a schedule, the critical path method is used. The activity graph (shown below) is used to
depict the dependencies among the activities and milestones of the project. The nodes of the graph
represent the milestones of the project. The edges linking the nodes represent the activities. The
numbers adjacent to the edges represent the number of days required for the activity. For example,
it will take 5 days to complete the activity starting at milestone A and ending in milestone C. Use
this activity graph to answer the following question 6 and 7:
6.What is the length of the critical path from milestone A to milestone K?
a. 28
b. 32
c. 33
d. 37
7.What is the slack time for the activity starting at milestone F?
a. 4
b. 5
c. 16
d. 21
8,Jessica is a developer who like to try new technology. She often find new tools and technologies
and use them in her work.When she try a new design tool, she would immediately have a positive
idea on the tool, and trying to get other people to use this tool. Jessica's work style can be
described as:
a.Intuitive(感性) Introvert(内向)
试卷第 2 页(共 7 页)
b.Rational (理性) Introvert
c.Intuitive Extrovert(外向)
d.Rational Extrovert
9,Which is NOT a Mean of Eliciting Requirements below?
a.Implement some components according to Requirements
b.Learn from users about user's task in more details
c.Interviewing user or stakeholders in groups
d.Observing the current system (if one exists)
10,The customer wishes that the development team could choose Agile Method to implement their
software.The customer's wish can be described as:
a.Functional requirement
b.Nonfunctional requirement
c.Design constraint
d.Process constraint
11,Which is NOT the way to help make requirements testable below ?
a.Specify a quantitave description for each adverb and adjective
b.Write test cases for requirements
c.Replace pronouns with specific names of entities
d.Make sure that every noun is defined in exaclty one place in the requirements documents
12,Which is NOT valid choice and rationale about Two Kinds of Requirements Documents?
a.Requirements definition is a complete listing of everything the customer wants to achieve
b.Requirements specification show us how the proposed system shall behave
c.Requirements definition describes the entities in the environment where the system will be
installed
d.Requirements specification show us how the proposed system shall be constructed
13,Which are valid choices and rationales about Prototyping Method?
① Good for answering questions about the user interfaces
② To elicit the details of proposed system
③ To solicit feedback from potential users about what aspects they would like to see
improve
④ To solicit feedback from potential users about which features are not so useful
⑤ To solicit feedback from potential users about what functionality is missing
⑥ Determine whether the customer's problem has a feasible solution
⑦ Assist in exploring options for otimizing quality requirements
⑧ Some design decisions are best answered by prototyping
a.only ①
b.①②③④⑤⑥⑦⑧
c.①②③④⑤
d.①⑧
试卷第 3 页(共 7 页)
14,Which is NOT valid choice and rationale about some common types of architectural views?
a.The decomposition view portrays the system as programmable units,this view is likely to be
hierarchical
b.The dependencies view shows dependencies among software units,This view is useful in project
planning,Also useful for assessing the impact of making a design change to some software unit
c.The implementation view shows the runtime structure of a system in terms of its components
and connectors
d.The deployment view maps runtime entities, such as components and connectors, onto computer
resources, such as processors, data stores, and communication networks
15,Which belongs to Publish-Subscribe Architectural Style?
a.Observer Pattern
b.Strategy Pattern
c.PPLive Streaming Media System
d.Expert System
16,Which is NOT valid choice and rationale about Coupling?
a.Two or more components share the same global variables,that is Common Coupling
b.When one module passes parameters or a return code to control the behavior of another
module,that is Control Coupling
c.when complex data structures are passed between modules,that is Stamp coupling
d.when only data values are passed between modules,that is Stamp coupling
17,Which is NOT valid choice and rationale about the figure(Meta-model of OO constructs)
below?
a.The interface is a kind of type definition,so it doesn't need memory in run-time,but it usaully
appears in header files.
b.The object is the run-time structure of an OO system,so it need memory to store its information
in run-time,and it is as an independent component in source files.
c.The class is code module,so it doesn't need memory in run-time,but it usaully appears in source
files.An object's implementation details are encpsulated in its class definition.
d.The instance variable is program variable whose value is reference/pointer to object,so it need
memory in run-time.
18,Which is NOT valid choice and rationale about Views of the Test Objects?
a.black box means that you only see outside functionality of the test objects
试卷第 4 页(共 7 页)
b.white box means that you can see the internal structure of the test objects
c.black box view allows you to design test cases which can test all pathes in the software unit.
d.white box view allows you to design test cases which can test all branches in the software unit.
19,The figure below is the system viewed as a hierarchy of components.How many test drivers
and test stubs to write in Bing-Bang Integration Testing?
a.6 test drivers and 6 test stubs
b.6 test drivers and 3 test stubs
c.8 test drivers and 0 test stubs
d.0 test drivers and 8 test stubs
20,Which is NOT valid choice and rationale about Configuration Management?
a.You decide the specific date to publish your product to market.
b.You use Versions and Releases to control of system differences
c.You maintain production system and development system in incremental and iterative
development
d.You choose Subversion version control system to control of source code changes
21,Which is NOT valid choice and rationale about Reliability, Availability, and Maintainability?
a.Software reliability: operating without failure at a given point in time
b.Software availability: is the probability of operating successfully by user.
c.Software availability: operating successfully according to specification at a given point in time
d.Software maintainability: for a given condition of use, a maintenance activity can be carried out
within stated time interval, procedures and resources
22,Which is NOT valid choice and rationale about Acceptance Tests?
a.In a banchmark test,the customer prepares a set of test cases that represent typical conditions
under which the system will operate when actually installed.
b.We test a system before the customer runs the real pilot test and within our own company,that is
alpha test.
c.Alpha test is called in-house test,that is Developer Verify Test(DVT) too.
d.Beta test is the customer's pilot outside of company.
试卷第 5 页(共 7 页)
23,There is a typical Library system including borrowing a book, returning a borrowed book, and
paying a library fine etc.What is its system type according to Lehman’s System Types?
a.S-system: formally defined, derivable from a specification
b.P-system: requirements based on approximate solution to a problem, but real-world remains
stable
c.E-system: embedded in the real world and changes as the world does
d.None of them
24, The figure below is a Graph of failure data,What do you got from the graph?
a.I can predict when next failure will happen
b.I know of the Reliability is growing
c. Mean time to repair is shorter and shorter
d. Mean time between failures is shorter and shorter
25, Which is NOT valid choice and rationale about Programming Guidelines?
a. write some comments in source files to make the code easy to read
b. write the program from design modular blocks,and comment the differences between them
c. localize input and output in every module.
d. pseudocode(伪代码) can help us find Syntax Faults.
26,Most problems are very complicated,large and sometimes tricky to handle ,especially if they
represent something new that has never been solved before.Could you give a roadmap to solving
problems? The key words may be used in your answer,include Analyzing,Synthesis,Method,
Tool,Procedure,Paradigm,Layering,System Approach and Abstraction etc.(5 points)
27,Please take Use Cases Modeling Notation to describe a typical Library system including
borrowing a book, returning a borrowed book, and paying a library fine etc. (5 points)
28,If you design the Library system above,you may choose Decomposition view (Functional
decomposition and Data-oriented decomposition),Execution view and Implementation view,use
these views,you can describe your solution for the Library system,which will give us the overview
试卷第 6 页(共 7 页)
of how the system solution will works,as well as the guide to create the database tables and source
files.Please describe your solution for the Library system. (10 points)
29,One Specialist is pessimistic(悲观的) and even skeptic to your solution of the Library system,
How do you convince(说服) him?and what will be prepared in advance?
Figure below:Evidence required for different auiences. (5 points)
试卷第 7 页(共 7 页)