1. An object-oriented program in java implements a class Bank account with attributes;Ownername,accountnumber and balance and methods;getBalance(),Deposit()and withdraw(),the program should then implement a class OverdraftAccountwith the attribute Creditlimit and inherits from the class Bank Account and overrides the method withdraw by adding the account balance to Creditlimit(DispensibleAmount=Balance+creditlimit).
i.Produce a list of all classes including attributes and methods.
ii. Draw a UML diagram to model the program.
iii. Write the program in Java or a language of your choice.
2. Explain the following terms as used in the OOSAD.
i.Polymorphism
ii. Encapsulation
iii. Inheritance
3. When a student returns a book in the library, the librarian chooses the Book return option; the system provides a screen to enter the book ID to be returned. The librarian enters book ID. The system checks if the book corresponding to this book ID is issued to a number. If, so it displays the member ID,name and the date on which the book was issued,asinformation for the librarian.The system asks the librarian if the book is being returned.If the librarian responds with a yes,the system records this fact and displays a success message to the user then the system returns back to the Book return Screen.
Draw a sequence diagram to model the scenario above.
4. Explain Four difference between Object Oriented development and other traditional software development approaches.
5. Object in a system may communicate with each other using message passing. Explain Five features of message passing.
6. Functional modeling is the final component of Object-oriented analysis. The functional model shows the process that are performed within an object and how the data changes as it moves between methods.Discuss four steps in functional modeling.
7. Explain four activities performed at the requirement engineering stage of software.
8. Enumerate FIVE artifacts for the inception stage of Object Oriented System Design.
9. Discuss four types of relationships used in UML case diagram.
10. Explain why the domain model is referred to as Visual Dictionary.
11. Inheritance is the mechanism that permits new classes to be created out of existing classes by extending and refining its capacities. With aid of a diagram describe five types of inheritance.