COLLEGE of SCIENCE and ENGINEERING Department of Computer Science and Information Systems End-of-Semester Assessment Paper Academic Year: Module Title: Duration of Exam: Lecturer(s): 2008/2009 Systems Analysis 2. 5 Hours J. J. Collins Semester: Module Code: Percent of Total Marks: Paper marked out of : Spring CS4125 60 100 Instructions to Candidates: • Answer Q1, and any TWO other questions. Q1 Answer ALL parts. Total marks awarded for this question: 40. a) b) Distinguish analysis from design. 4 marks. What are the benefits and liabilities derived by subscribing to a development philosophy based on up-front design? marks. c) d) List the activities that take place in system design. 4 marks. What are the characteristics of the Extreme Programming (XP) approach to software development? 4 marks. What are the benefits of an open and closed architecture? 4 marks. f) What problem is addressed by Gamma et al. ’s Behavioural state pattern? Illustrate this pattern through the use of a class diagram. 4 marks. g) h) Illustrate initialisation in the MVC architecture using a sequence diagram. 4 marks. List the support features typically offered by a DBMS? 4 marks. e) Page 1 of 5 i)
Draw a class diagram that illustrates that a copy can be a copy of a book or DVD, but not both. 4 marks. Briefly critique The UML. 4 marks. j) Q2 Answer ALL parts. Total marks awarded for this question: 30. a) b) What are the characteristics of good software? 5 marks. Describe the unique features of the Object-Oriented paradigm, and illustrate polymorphism with pseudocode or coding fragments. 5 marks. Distinguish multiple classification from generalisation, and illustrate with a diagram. 5 marks. How are contracts supported in software engineering, and illustrate with a diagram.
You should briefly discuss support for enforcement of contracts. 5 marks. Draw a diagram to illustrate the principle of “programming to interfaces, not implementation”. What benefits are derived by adhering to this principle? 5 marks. f) What is meant by behavioural subtyping? Illustrate the answer with a class diagram. 5 marks. c) d) e) Q3 Answer ALL parts. Total marks awarded for this question: 30. a) What are non-functional requirements, and provide a categorisation for these requirements. 5 marks. Critique use cases as the means of capturing requirements. 5 marks. ) What technique is used by Data Driven Design (DDD) to identify key domain abstractions? Name an alternative approach to DDD. 5 marks. d) The following is a restatement of requirements that must be supported in the first iteration. Books and Journals: The library contains books and journals. It may have several copies of a given book. Some of the books are for short term loans only. All other books may be borrowed by any library member for three weeks. Members of the library can normally borrow up to six items at a time, but members of staff may borrow up to 12 items at one time.
Only members of staff may borrow journals. b) Page 2 of 5 Borrowing: the system must keep track of when books and journals are borrowed and returned, enforcing the rules described above. Identify the candidate classes in the following informal use case description, and give the reasons for the elimination of poor candidates using a clearly specified set of heuristics. Then briefly sketch a class diagram. 5 marks. e) Draw a UML diagram that reflects the following code fragment. Class Order … Public OrderLine getLineItem(Product aProduct); Public void addLineItem(Number amount, Product forProduct); ……………… 5 marks. ) What is the purpose of adding a control class to the communication fragment used to support a collaboration which realises a use case? 5 marks. Figure 1. State chart for a Campaign object (adapted from Agate case study in Bennett, McRobb, and Farmer. Object-Oriented Systems Analysis and Design, Third Edition. McGraw-Hill. 2006). Page 3 of 5 Q4 Answer ALL parts. Total marks awarded for this question: 30. a) Describe the algorithmic and non-algorithmic techniques used to document a specification for an operation. 6 marks. Modify the state chart in figure 1 when instructed that: 1.
A campaign object can be both Monitoring and Running when in the state active. 2. When Monitoring, it can be in substates survey or evaluation, with survey being the default. 3. When the event surveyComplete() fires, a transition from survey to evaluation takes place. 4. When the event runSurvey() fires, a transition from evaluation to survey takes place. 5. When running, it can be in substates advert preparation, scheduling or running adverts, with advert preparation being the default. 6. A transition from advert preparation to scheduling occurs with invocation of he reflexive operation authorise() when the event advertApproved() fires. 7. A transition from scheduling to running adverts occurs when the event confirmSchedule() fires. 8. A transition from running adverts to advert preparation occurs with invocation of the reflexive operation modifyBudget() when the event extendCampaign() fires. 9. A transition from Active to Suspended occurs with invocation of the reflexive operation stopAdverts() when the event suspendCampaign() fires. 10. A transition from Suspended to Active occurs when the event resumeCampaign() fires. 1. Must support shallow histories for the concurrent submachines Running and Monitoring. 6 marks. Draw an activity diagram that captures the following workflow for a conference organiser: • The conference organiser receives an itinerary. • He/She then sends this to an invited speaker. • The invited speaker either confirms the itinerary or fails to respond within 48 hours. • If no response has been received, the conference organiser cancels the itinerary. • Otherwise, the conference organiser books the itinerary. 6 marks.
Describe two types of coupling and three types of cohesion as described by Coad and Yourdon (1991), that apply at the class level. 6 marks. e) What problem is addressed by Gamma et al. ’s Composite structural pattern? Illustrate this pattern through the use of a class diagram. 6 marks. b) c) d) Page 4 of 5 Q5 Answer ALL parts. Total marks awarded for this question: 30. a) Draw a sequence diagram to illustrate the workflows and phases in the Rational Unified Process (RUP). 3 marks. List three principles that underpin the RUP. 3 marks. ) Briefly discuss transparency versus safety with respect to the Composite design pattern. 6 marks. d) Describe Smalltalk’s Model View Control (MVC) architecture, and illustrate your answer through the use of a class diagram. 4 marks. e) Draw a sequence diagram to illustrate initialisation of the MVC architectural pattern. 4 marks. f) Describe the Broker architecture with proxies, and illustrate your answer through the use of a sequence diagram. 4 marks. g) Why should software engineers strive to specify pre and post conditions with Object Constraint Language (OCL). 6 marks. b) Page 5 of 5
Why Work with Us
Top Quality and Well-Researched Papers
We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.
Professional and Experienced Academic Writers
We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.
Free Unlimited Revisions
If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.
Prompt Delivery and 100% Money-Back-Guarantee
All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.
Original & Confidential
We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.
24/7 Customer Support
Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.
No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.
Admission Essays & Business Writing Help
An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.
Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.
If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.