


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 FOUR questions.
Examiners: Mr. J. O’Brien Dr. J. Buckley Dr. A. Kinsella
Q1. (a) Write a brief note on each of the following identified deficiencies of non-formal software development approaches: (i) Contradiction; (ii) Ambiguity; (iii) Vagueness; (iv) Incomplete statements; (v) Mixed-levels of abstraction. [5 Marks]
(b) (i) Given R = { (p, 2), (q, 3), (r, 4) } S = { (1, x), (2, y), (3, z) }
Determine:
(ii) Given s = < i, n, s > t = < t, I, t, u, t, e >
Compute:
(c) A library has a stock of books that may be taken out by its registered members. Only books that are in the library’s stock can be recorded as out to a member. Only registered members may take out books. Initially, the library has no stock of books, and no members; no books are recorded as out to members. Consider the following partial specification:
[BOOK] set of all possible uniquely identified books [PERSON] set of all possible persons
___ Library ___________________________ | stock : BOOK | members : PERSON | outTo : BOOK PERSON |______________________________________ | dom outTo ⊆ stock | ran outTo ⊆ members |___________________________________________
____ Init _______________________ | Library’ |______________________________ | stock’ = {} | members’ = {} | outTo’ = {} |______________________________
(i) Write a Z schema, called Acquire_Book , for an operation to add a book to the library’s stock. The book must not already belong to the library’s stock. The members remain unchanged.
(ii) Write a Z schema, called Take_Book_Out , for an operation to allow a person take a book out. The person must be a member. The book must be part of the library’s stock and must not be out to anyone. The book becomes recorded as out to the member. The members and stock remain unchanged.
(iii) Write a Z schema, called Dispose_of_Book , for an operation to remove a book from the library’s stock. The book must belong to the library and not be out to a member. The members and the record of what books are out are left unchanged. [12 Marks]
Q2. (a) What is the cleanroom reference model? What is it used for? [4 Marks]
(b) Reviews are a crucial part of cleanroom team operations. Every work-product is the subject of repeated team reviews as it is developed from initial concept to final form. Two types of reviews are used, namely: (i) Development review; (ii) Verification review. Describe each of the above-identified review activities. [6 Marks]
(c) Cleanroom software engineering is characterised by three principal technologies, namely: (i) Incremental development under statistical process control; (ii) Function-based specification, design, and verification; (iii) Statistical testing and software certification. Elaborate on each of the above-named technologies. [15 Marks]
Q5. (a) “Re-engineering occurs at two different levels of abstraction.” Discuss, Briefly. [5 Marks]
(b) Elaborate on the following principles, suggested by Hammer 1990, that guide business process re-engineering, BPR ¸ when applied top-down: (i) Organise around outcomes, not tasks. (ii) Have those who use the output of the process perform the process. (iii) Incorporate information processing work into the real work that produces the raw information. (iv) Treat geographically-dispersed resources as though they were centralised. (v) Link parallel activities instead of integrating their results. (vi) capture data once, at its source. [6 Marks]
(c) Re-engineering takes time. It costs significant amounts of money. It absorbs resources that could be used to address other issues. Every organisation, therefore, needs a pragmatic strategy for software re-engineering. Elaborate on each of the following re-engineering activities: (i) Inventory analysis; (ii) Document restructuring; (iii) Reverse engineering; (iv) Code restructuring; (v) Data restructuring; (vi) Forward engineering. [12 Marks]
(d) In the context of software development, differentiate between restructuring and forward engineering. [2 Marks]
End of Exam!