Get premium membership and access revision papers, questions with answers as well as video lessons.

Bmit 327:Object Oriented Analysis And Design December 2008 Question Paper

Bmit 327:Object Oriented Analysis And Design December 2008 

Course:Bachelor Of Business Management And Information Technology

Institution: Kabarak University question papers

Exam Year:2008



KABARAK UNIVERSITY
EXAMINATIONS
2008/2009 ACADEMIC YEAR
FOR THE DEGREE OF BACHELOR OF BUSINESS
MANAGEMENT AND INFORMATION TECHNOLOGY
COURSE CODE: BMIT 327

INSTRUCTIONS:
Answer Question ONE and THREE other Questions
Question 1 (20 Marks)
(a) Explain the following terms as used in UML and give symbol used.
(i) Aggregation. ( 1 Mark)
(ii) Association. ( ½
Mark)
(iii) State diagram. (1 Mark)
(iv) Object diagram ( ½
Mark)
(b) Explain the following steps of object oriented Analysis process.
(i) Developing use case diagrams and scenarios (1 Mark)
(ii) Developing class diagrams (2 Marks)
(iii) Developing state diagrams (1 Mark)
(c) Explain the following Java terms.
(i) java.util.*. (1 Mark)
(ii) extends. ( ½ Mark)
(iii) System.in. ( ½ Mark)
(iv) private. (1 Mark)
(d) Draw a class diagram for a consulting firm with classes consultant, proposal, client,
report, data and consulting firm each class should have two attributes. (4 Marks)
(e) Draw a state diagram for operation of microwave oven starting when it’s off.
(2 Marks)
(f) Write a Java program to calculate Factorial of 100 (1½ Marks)
(g) Draw an activity diagram for borrowing money from a bank (2½ Marks)

Question 2 (10 Marks)
(a) Explain five main purposes of producing class diagrams during analysis and design.
(2½ Marks)
(b) Describe five operational principles common to analysis models (2½ Marks)
(c) Draw a sequence diagram for withdrawing money from a bank using an ATM
(2½ Marks)
(d) Describe any five strategies for testing object oriented software. (2½ Marks)
Question 3 (10 Marks)
The following Question is about Excel petrol station system that provides the following paid
for services:
1. Fueling
2. Parking
3. Vehicle parts sales
(a) (i) Develop a use case diagram for the Excel petrol with at least 5 use cases.
(1 Mark)
(ii) Draw a scenario for one use Case in a(i) with at least 7 steps. (2 Marks)
(b) (i) Draw a class diagram for petrol station system with at least 10 major classes,
with relationships generalization and association. Each class should have two attributes and
one operation. (4 Marks)
(ii) Draw a state diagram for the petrol station system with least five states (1½ Marks)
(c) Explain the following design rules for modular Modeling languages/Methodology
(i) Direct mapping (½ Mark)
(ii) Small interfaces ( ½ Mark)
(iii) Few interfaces (½ Mark)

Question 4 (10 Marks)
(a) Explain five design principles common to all Design methods (2½ Marks)
(b) Write a program using java Scanner that reads input entered on console, terminates
when user enters a non integer, calculates the average and displays results. (3 Marks)
(c) Write a java program that request user to enter his/her name and displays Hello
username using the JOptionpane Java class (2 Marks)
(d) Draw a sequence diagram for seminars management for consultancy firm that organizes
seminars open to individual and corporate groups with at least seven steps (2½ Marks)

Question 5 (10 Marks)
(a) List six questions of W5HH used to determine project characteristics, resulting in project
plan and Explain how the questions should be answered. (5 Marks)
(b) Describe Java streams (2 Marks)
(c) Draw an activity diagram for developing a Java program using Jcreator (3 Marks)

Question 6 (10 Marks)
(a) (i) Explain any five characteristics of an object oriented programming language.
(2½ Marks)
(ii) Write a Java program that creates and writes a text file called report.txt
(2½ Marks)
(b) Compare and contrast Open Modeling and UML modeling languages.
(5 points expected) (2½ Marks)
(c) Draw a collaboration diagram for making a telephone call with at least 10 steps
(2½ Marks)






More Question Papers


Popular Exams


Mid Term Exams

End Term 1 Exams

End Term 3 Exams

Opener Exams

Full Set Exams



Return to Question Papers