Sei sulla pagina 1di 5

Software Engineering 1

Sample Exam Questions

Exam duration: 2 hours
Answer FOUR questions out of FIVE
All questions carry equal marks

(a) What is a use-case?

List three significant advantages and a potential disadvantage in using use-cases.
(10 marks)
(b) Mention two other roles use-cases may have besides requirements description.
(5 marks)
(c) Provide an example use-case diagram(s) for some requirements which incorporates the
<<extends>> and <<includes>> relationships.
What does <<extends>> do and why would it be used in the elaboration or construction
(10 marks)

(a) What is a use-case?

List three significant advantages and a potential disadvantage in using use-cases.
(10 marks)
(b) Mention two other roles use-cases may have besides requirements description.
(5 marks)
(c) Explain both the meaning and purpose of a use-case realisation.
(10 marks)

(a) Outline the stages of the waterfall process model and then discuss the major problems
associated with it.
Is it suitable for any type of software development?
(15 marks)
2 Comment on four aspects in which Iterative and Incremental processes can help
1 overcome some of the issues connected with the waterfall process.
(10 marks)

2 of 5

(a) Given the following class diagram for a Library software system, modify it so that
library members can also reserve books. Comment on your modification.

(10 marks)
(b) Draw sequence diagrams which show the object interactions when:
1. A library member reserves a book
2. A book is returned by a borrower and there is a reservation queue associated
with the book.
(15 marks)

(a) Describe the four phases of the Unified Process (UP).

(13 marks)
(b) Mention four ways in which the UP differs from the Waterfall process model. The
diagram below may help you.
(12 marks)

3 of 5

(a) Explain and distinguish between Top Down and Bottom Up Design. Which
programming paradigm tend to correspond with each design approach?
(13 marks)
(b) Elaborate on how object-oriented programming addresses the design concerns of
coupling and cohesion.
(12 marks)

(a) Briefly explain what is meant by the terms modularity, cohesion and coupling within
the context of software design and programming and then discuss their relevance.
(16 marks)
(b) Describe three types of coupling.
(9 marks)

4 of 5

(a) Identify 3 potential use-cases in the Garden Hire case study below. Draw a use-case
diagram for the case study which incorporates the <<extends>> relationship.
(7 marks)
2 Draw a class diagram, without attributes or operations for the case study.

(8 marks)

(c) Draw a sequence diagram that illustrates typical object interactions when a private
customer hires a small piece of equipment that the store has in stock.
(10 marks)

Garden-Hire Case Study

Garden-Hire is a garden equipment hire company which has a number of stores nationwide. It
offers garden equipment for hire to the general public. The garden equipment available for hire
ranges from mini diggers, outdoor planters, ride-on lawnmowers, strimmers, blowers, pressure
washers etc. The equipment can be hired for a day or for up to a period of 8 weeks.
Customers wishing to hire garden equipment can either come to one of the stores in person and
take the equipment immediately (if it is available), or they can place a reservation for it by
telephone or on-line in advance of the requested hire period. Usually customers place reservations
for large garden equipment to make sure they are available when needed, but Garden-Hire carries
a large number of the smaller garden equipment so these are usually available without a
reservation. When a customer collects the garden equipment he must provide his name and
address, company details if he is a trade customer, and the period of time the garden equipment
will be hired for. More than one piece of equipment can be included on a hire agreement but all the
garden equipment on the agreement must be hired for the same period of time. Private customers
must pay the full cost of the hire at the start of the hire period as well as a refundable deposit.
Customers, who work in the gardening trade, need only pay the deposit at the start of a hire period
but will receive an invoice at the end of the month.
All stores of Garden-Hire have the smaller garden equipment in stock, however only the main
stores have the large equipment. Customers can place reservations for equipment at any store and
Garden-Hire will transfer the equipment to that store for collection if it is not available at the store
where the reservation is being made.

5 of 5