Docsity

Software Development and Networking Exam - Stage 3, Spring 2008, Question Paper, Exams of Software Development Methodologies

Toggle sidebar
bg1
Cork Institute of Technology
Bachelor of Science (Honours) in Software Development and
Networking - Stage 3
(KDNET_8_Y3)
Spring 2008
Software Development
(Time: 3 Hours)
Instructions
Answer any FIVE questions.
All questions carry equal marks.
Examiner: Ms. Mary Davin
Dr. Jim Buckley
Dr. Austin Kinsella
Q1. (a) What is meant by Software Process? [2]
(b) The iterative approach has proven itself superior to the waterfall approach for a number
of reasons. Give an overview of the reasons why this is the case. [4]
(c) Give an overview of the practices followed in Extreme Programming. [6]
(d) In a classic paper entitled “No Silver Bullet” Fred Brooks argued that there would be no
silver Bullet to solve Software Engineering problems. At the heart of his argument is the
distinction between Accidental and Essential complexity.
(i) How would you interpret Fred Brook’s observation that the essence of software
engineering is determined by inherent software complexity, conformity,
changeability, and invisibility? [2]
(ii) How would you explain these four factors? [4]
(e) Give an overview of the main causes of software project failures. [2]
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Software Development and Networking Exam - Stage 3, Spring 2008, Question Paper and more Exams Software Development Methodologies in PDF only on Docsity!

Cork Institute of Technology

Bachelor of Science (Honours) in Software Development and

Networking - Stage 3

(KDNET_8_Y3)

Spring 2008

Software Development

(Time: 3 Hours)

Instructions Answer any FIVE questions. All questions carry equal marks.

Examiner: Ms. Mary Davin Dr. Jim Buckley Dr. Austin Kinsella

Q1. (a) What is meant by Software Process? [2]

(b) The iterative approach has proven itself superior to the waterfall approach for a number of reasons. Give an overview of the reasons why this is the case. [4]

(c) Give an overview of the practices followed in Extreme Programming. [6]

(d) In a classic paper entitled “No Silver Bullet” Fred Brooks argued that there would be no silver Bullet to solve Software Engineering problems. At the heart of his argument is the distinction between Accidental and Essential complexity. (i) How would you interpret Fred Brook’s observation that the essence of software engineering is determined by inherent software complexity, conformity, changeability, and invisibility? [2] (ii) How would you explain these four factors? [4]

(e) Give an overview of the main causes of software project failures. [2]

Q2. (a) F or each of the following, describe the term, identify its symptoms and its effects. [3] (i) Software Rigidity (ii) Software Fragility (iii) Software Immobility

(b) The OCP Design principle states that a module should be open for extension but closed for modification. How is this achieved through abstraction and polymorphism? Use an example to illustrate your answer. [6]

(c) For each of the following design principles outline the motivation behind its use. [6] (i) (^) Interface segregation principle (ii) The Design by contract principle (iii) Dependency inversion principle.(DIP)

(d) Using the following model explain the motivation behind the Liskov Substitution principle and how it has been applied. [3]

(e) Give a brief description of the Singleton design pattern. Give an example of the pattern applied. [2]

Q4. (a) Define what is meant by quality when applied to software. [2]

(b) For many business leaders software quality is often viewed as a luxury – something that can be sacrificed, if necessary for added functionality, faster development, or lower costs. In practice though, successful software development organisations have found that an organizational commitment to quality speeds development, reduce costs, and allows new features to be added with greater ease. How can this be? [3]

(c) Give an overview of the activities involved in Software Quality management. [3]

(d) Standards are a key to effective quality management. Give an overview of standards appropriate for software documentation. [3]

(e) What is the purpose of Software configuration management (SCM)? [2]

(f) Describe the tasks carried out in a software configuration management process. [5]

(g) Differentiate between the two classes of product metrics Dynamic and Static. [2]

Q5. You are asked to design a software application to be used in a library. A librarian will use the software to administrate the library. A patron will use the software to search the library’s lending items, borrow, renew and return items (all self-service). Detailed information regarding the expected functionalities of the software application is provided below.

You are required to do Task A and Task B. Task A Description: Consider the following usages in the library:

  • Stock Item : a librarian stocks an item
  • Remove Item : a librarian removes an item
  • Search Item : a patron searches for an item
  • Borrow Item : a patron borrows an item
  • Renew Item : a patron renews an item
  • Return Item : a patron returns an item
  • Verify User : the software system verifies the user when the following actions are performed: o Stock Item : only a librarian with a valid user ID and password can stock an item o Remove Item : only a librarian with a valid user ID and password can remove an item o Borrow Item:  Only a patron with a valid user ID and password can borrow an item  The patron’s credit is checked to make sure he/she does not owe any overdue fines  The patron’s limitation is checked to make sure he/she does not have more than the limited number of items on loan
  • Renew Item:  Only a patron a valid user ID and password can renew an item  The patron’s credit is checked to make sure he/she does not owe any overdue fines (a) Your Task Draw a use case diagram to describe the actors and usages of the system. Make sure that possible generalization of actors and include/extend relationships between use cases are specified. [10]
  1. Thesis : a type of Item available from the library. It contains the information and uses the operations from the Item class described above, but it includes the following additional information: o author : one and only one author of the Thesis o year : the year when the Thesis is published, stored as a Date o note: the Thesis note describing the thesis subject, stored as a String

A Patron can borrow a number of Items. An Item can be borrowed by a number of Patrons. A Borrowing record is generated for each Item being borrowed. A Borrowing is processed to exactly one Patron.

  • Borrowing : contains basic information about a Borrowing of an Item in the library. The Borrowing record includes: o patron : the Patron who borrows the Item, stored as the Patron type o item : a Borrowing contains only one Item, stored as the Item type o date : the date when the Borrowing is processed, stored as the Date type o dueDate : a date to specify the due date of the Borrowing, stored as the Date type o printReceipt(): prints a receipt for the Borrowing

(b) Your task:

  • Draw a detailed UML class diagram showing the different components (Item, Book, Serial and Thesis, patron,Borrowing ) and the relationships among them. An attribute needs to include at least the visibility and name. An operation needs to include at least the visibility and name.
  • In the class diagram, add an Author class and an Issue class. The attributes and operations for these two classes can be omitted. Specify the relationship between the Book class and Author class, and the relationship between the Serial class and the Issue class.

Q6. (a) Differentiate between the two types of interaction diagrams. [2]

(b) What is meant by a Use Case realization? [2]

(c) How are the following illustrated on a sequence diagram? [5] (i) Object Creation (ii) Object destruction (iii) Reflexive message (iv) Loop Combined fragment (v) Reply message

(d) What consistency checks should be applied to interaction diagrams? [2]

(e) Explain what the following terms mean and how they are modeled in UML. Show how each is modeled in UML. [3] (i) Component (ii) Required Interface (iii) Provided Interface

(f) Explain why the following class has good operation cohesion but poor class cohesion.

[2]

(g) Provide an outline implementation of the model below. Assume that the association is immutable in the account to customer direction, or in other words that an account cannot be switched from one customer to another. Explain your solution. [4]