2020 - Marking - HNDIT2313 Object Oriented Analysis and Design
2020 - Marking - HNDIT2313 Object Oriented Analysis and Design
Question 01
(ii) Mention two advantages of using proper software development approach (02 marks)
Object is a bundle of properties and behaviors which represent real world entity.
(iii)Briefly mention the relation between inheritance and function overriding (04 marks)
(iv) Write the C++ code to implement the classes of grocery store billing system as the given
details. (12 marks)
2
Question 03
(Total 20 marks)
HNDIT 2nd year 2020 1st Semester – Object Oriented Software Design and Analysis
3
Question 04
(i) What is meant by a class in object-oriented analysis and design? (02 marks)
Category or group of things that have the same attributes and the same behaviors.
Class which provides interface to interact between system with external actors
(iii)Explain the difference between class diagram and object diagram (04 marks)
Class diagram represent the classes (object types) in the system with their properties and
methods.
Object diagram represent the initialized objects in the system with values of properties and
methods
(iv) Assume you are designing an online web site for a beauty salon. Draw the class diagram
considering the following scenario. (12marks)
The available treatments, like facial, hair strait, nail polishing, etc. are listed in the system
with relevant price and customers can view them. The treatment details can be edited.
System saves customer information with customer name, and phone number. The
customer information can be also updated if needed. Customers can get one or more
appointments by providing the appointment date and time. Appointments can be edited
later if needed. Appointments may include any one or more treatments.
HNDIT 2nd year 2020 1st Semester – Object Oriented Software Design and Analysis
4
Question 05
Type of extended activity diagram, which activities performed by same acter are grouped in
to a single thread or lane.
(ii) Mention two advantages of using swim lane diagrams (02 marks)
(iii)Compare the difference between “merge” and “join” in swim lane diagrams (04 marks)
(iv) Draw a suitable swim lane activity diagram for the following scenario related to getting
an appointment in an online beauty salon app. (12 marks)
Registered customers can request for appointments by providing appointment date and time to the
beauty salon app. If there are no other appointments at the same time, the app offers the
appointment. If there are other appointment at the same time, the beauty salon app rejects the
appointment. Then customer should pay Rs.500 in advanced for accepting the appointment. beauty
salon app directs the customer payment details to the bank. The bank checks the payment details
and verify or rejects the payment. The beauty salon app sends the appointment confirmation
message to customer for verified payments, and Invalid Payment message for rejected payments.
(Total 20 marks)
HNDIT 2nd year 2020 1st Semester – Object Oriented Software Design and Analysis
5
Registered System Bank
Customer
View treatments
[Reject [Accept
appointment appointme
request] nt request]
Appointment Appointment
Reject message Accept message
Appointment Confirmation
SMS
HNDIT 2nd year 2020 1st Semester – Object Oriented Software Design and Analysis
6
Question 06
(ii) What is the technique used in USDP for reequipment capturing? (02 marks)
Use case
(iv) Draw the Rational Unified process model and briefly explain each phase (12 marks).
(Total 20 marks)
HNDIT 2nd year 2020 1st Semester – Object Oriented Software Design and Analysis
7