



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Instructions Answer any four questions. All questions carry equal marks.
Examiner: Ms. Mary Davin Dr. Hugh Gibbons
Q1. (a) Explain the following terms: (i) Software engineering (ii) Software process model [4 Marks]
(b) Briefly explain the four fundamental activities which are common to all software processes. [4 Marks] (c) What are the major causes of software project failure identified by the Standish group in the CHAOS report? [3 Marks]
(d) Use a diagram to illustrate the waterfall software process. [3 Marks]
(e) Briefly explain the advantages the iterative/incremental approach has over the traditional waterfall model of the software process. [2 Marks]
(f) Identify the advantages/disadvantages of prototyping. [2 Marks]
(g) Explain what is meant by the following terms when applied to software process: (i) Agility (ii) Iteration [4 Marks]
(h) Rewrite the following (vague) requirements so that they may be objectively validated: (i) The system should have a good response time. (ii) The system must be reliable (iii) The system must be operated with minimum training. [3 Marks]
Q2. (a) Explain what is meant by the term requirements engineering? [2 Marks]
(b) What is the purpose of document sampling technique as a fact-finding technique? [2 Marks]
(c) Differentiate between the following types of requirements when developing a software system: (i) Functional Requirements (ii) Non Functional Requirements [2 Marks]
(d) Using the following diagram to illustrate your answers explain what is meant by the following terms as used in relation to use case diagrams: (i) Actor (ii) Extends dependency relationship (iii) Includes/uses dependency relationship (iv) Association relationship (v) Extension point (vi) Scenario (vii) Generalization relationship (viii) Flow of events [8 Marks]
F requ en t C us t om er D is c ou nt
S e as ona l S ale pric e
P la c e O rd er
R et urn pro du c t
<
C anc el O rd er
G e t s t at us o n ord e r
S en d C at alo g
C u st o m e r
A c c ou nt ings y s t em
C u st o m e r re p
O r de r P r oc e s s ing s y s te m
G iv e P rodu c t I nf orm at ion
<< us es > >
u p dat e p rod u c t qu a n t itie s
<
<< ex t e nd s>>
U p dat e A cc ou n t
<
I nv ent ory S y s t em
(e) Use cases are an increasingly popular requirements modelling technique. However, hunting down every possible user or system behaviour is not simple; it requires lateral thinking and venturing out of the box. Frequently, practitioners give up too easily and simply let use cases terminate. Give an overview of a technique that could be used to help identify use case scenarios. [4 Marks] (f) Give an overview of the different types of use cases. [5 Marks]
(g) Differentiate between software analysis and software design. [2 Marks]
Q4. (a) Give a brief description of the following properties of associations Use examples to illustrate your answer: (i) Association name (ii) Self association (iii) Multiplicity (iv) Role name (v) Navigation [5 Marks]
(b) Differentiate between the following and illustrate how each is modelled in UML. (i) Class and object (ii) Abstract class and Concrete class (iii) Class scoped attribute and instance scoped attribute (iv) Link and association (v) Class and Interface [10 Marks]
(c) Draw a class diagram for the following specification for a hospital system. Include classes, relationships, multiplicity, navigability, and attributes. Document any assumptions you make.
Most patients are assigned to a ward on admittance and each ward may contain many patients. However, consultants (Senior surgeons) at the hospital may have private patients who are assigned to private rooms. The information to be recorded about a patient includes a medical number, name address, etc. A nurse is assigned to a ward. S/He cannot be assigned to more than one ward. A ward may have any number of nurses assigned to it. Nurses are identified by their staff number and each ward has a unique number. A patient may have a number of operations. The information to be recorded about an operation includes the type of operation, the patient, the surgeons, date time, and location.
Only one surgeon may perform an operation., any other surgeons present being considered as assisting at the operation. Surgeons come under the direction of consultants who also perform or assist at operations. Information recorded on surgeons include name, address, phone number, etc.
An operation can be performed in only one theatre but a given theatre may be the location of many operations. Each theatre has an identifying number. A nurse may be assigned to a theatre and S/He cannot be assigned to more than one theatre. A theatre may have many nurses assigned. There are several categories of nurses including staff nurse, junior nurse and trainee nurse. [10 Marks]
Q5. (a) Differentiate between the following types of classes and show how they can be modeled in UML. (i) Entity Class (ii) Boundary class (iii) Control Class [6 Marks] (b) What is the purpose of interaction diagrams? [2 Marks]
(c) Differentiate between sequence diagrams and collaboration diagrams. [2 Marks] (d) Use the following diagram to explain the following terms that are used with sequence diagrams: (i) Message (ii) Activation (iii) Lifeline (iv) Object (v) Self Delegation [5 Marks]
(Contdโฆ/)
(e) How is the creation and destruction of an object shown on a sequence diagram? [2 Marks] (f) A computer network has four workstations attached to it, numbered from 1 to 4. There are three registered users of the network, A, B, C. A is currently logged onto workstations 1 and 3, and C is logged onto workstation 4. (i) Draw an object diagram representing the objects and relationships implied in this description. (ii) Add to the diagram messages that might be sent in response to a request to the network to determine the number of currently unused workstations (iii) Add to the diagram messages that might be sent in response to the request to determine if a particular user is logged on. [8 Marks]