



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Main points of this exam paper are: Software Projects Fail, Oriented Approach, Object Oriented, Engineering, Software, Incremental Approach, Software Development, Software Methodology, Software Model, Finding Techniques
Typology: Exams
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Section A: This question must be answered.
Section B: Choose any 1 question
Section C: Choose 1 question
Examiners: Ms. D. Dunlea Dr. J. Buckley Dr. A. Kinsella
(a) Identify and describe the reasons why software projects fail. What action is needed in order to alleviate this problem? [10 Marks]
(b) Distinguish between the structured approach and the object oriented approach to engineering software. [5 Marks]
(c) Explain the iterative and incremental approach to software development. What exactly does it mean? What are the steps involved in this approach? What do you think are the benefits of this approach? [10 Marks]
(d) Explain what is meant by a software methodology. [5 Marks]
(a) What is a software model? [2 Marks] (b) Through modelling we achieve four aims. Give a brief overview of each of these aims. [4 Marks] (c) Give an overview of any four fact finding techniques a requirements analyst would use to gather the requirements for a system. List one advantage and one disadvantage of each technique. [8 Marks]
(d)Differentiate between Functional and non functional requirements. Give an example of each type of requirement from the following description. [4 Marks]
The allocation of staff to production lines should be mostly automated. A process will be run once a
week to carry out the allocation based on the skills and experience of operatives. Details of holidays
and sick leave will also be taken into account. A first draft allocation list will be printed off by 12.
noon on Friday for the following week. Only staff in production planning will be able to amend the
automatic allocation to fine tune the list. Once the amendments have been made, the final Allocation
list must be printed out by 5.00pm. The system must be able to handle allocation of 100 operatives at
present and should be capable of expansion to handle double that number capable
(e) Differentiate between include dependency and extends dependency relationships as used in a use case diagram? [2 Marks]
(f) Draw a use case diagram to model the functional requirements of the following system [10 Marks]
The magnificent wedding
Rita and Bob have been hiring wedding outfits for a number of years. They have decided to expand their business, and to include organisation of complete weddings. They will arrange transport, organise the reception (food, venue and entertainment), prepare and issue invitations, organise a photographer, and take photo orders from guests. They have negotiated discounts and fees with various parties willing to offer services (photographers, caterers, etc).
To launch their new business, they want to set up a web site. This will provide them with an advertising platform. They will also provide a secure area for clients. Clients will be able to enter their guest lists online, choose invitation formats, and select menus; clients need to be registered to do this, and to use a log in and password. Rita and Bob need to be able to produce plans for weddings, and keep track of guest lists and menu selections. They also plan to offer individualised web sites for weddings, with pictures of the wedding; these web sites will be accessed by password only, given to the client for distribution to their friends and families. They want to keep email lists of couples so that they can use this for marketing other services in the future (they think there might be a market for Christening organisation too). They will also produce a monthly Weddings newsletter.
(a) Explain each of the following terms. ‘Show how it is modeled in UML’ [2 Marks] (i) Object (ii) Class
(b) An object has three properties. Give a brief overview of each. [3 Marks] (c) Which of the following items do you think should be a class and which should be an instance? For any item that should be an instance , name a suitable class for it. [4 Marks]
(i) General Motors (ii) Mary Smith (iii) University course SEG 2100 (iv) The car with serial Number 98765T
(d) For each of the following associations indicate whether it should be an ordinary association, a standard aggregation or a composition. [3 Marks] (i) A telephone and its handset (ii) A school and its teachers (iii) A book and its chapters
(e) Explain each of the following when applied to operations. [2 Marks] i. Signature ii. Visibility
(f) Differentiate between an object diagram and a class diagram
(g) Draw a class diagram to model the following situation. A student can register in any number of course sections and a course section can have any number of students. The grade a student achieves in a particular course section needs to be recorded. [4 Marks]
(h) What is meant by the following terms: [2 Marks] Class collaborator Class Responsibility
(i) A workstation currently has three users logged into it., with account names A,B,C. Theses users are running four processes , with process IDs 1001 , 1002 , 1003 and 1004 User A is running processes 1001 and 1002 , B is running process 1003 and C is running process 1004. i. Draw an object diagram showing objects representing the workstation, the user and processes and links to represent the relationships of a process running on a workstation and a user owning a process. ii. Consider an operation which lists information about the processes that are currently running on a workstation. It can either report on all the current processes or if invoked with a suitable argument , the processes for a single specified user. Discuss what messages would need to be passed between the objects in part (i) to implement the operation. [10 Marks]
(a) Differentiate between an object diagram and a communication diagram. [2 Marks]
(b)Differentiate between the two types of interaction diagrams [2 Marks]
(c) Using examples, clearly explain the following object-oriented concepts. [6 Marks]
(i) Association Class
(ii) Mandatory Association
(iii) Navigability
(iv) Constraint
(v) Transient class
(vi) Boundary Class
(d) Suppose that a customer named “Joan O’ Sullivan” wishes to open a new account with the Ulster Bank at their Wilton branch. To do this her instance of class Customer must be retrieved from the central bank server. An instance of BankAccount is then created using the Customer object. A deposit must then immediately follow to complete the account creation process. (i) Draw an object diagram showing a possible plausible configuration for these objects , and include on the diagram the messages that might be generated in the system to allow Joan to open a new account. (ii) Draw a class diagram that would support this object diagram. [10 Marks]
(e) Draw a class diagram for the following specification.