Oop Ca 2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

FACULTY OF INFORMATION AND COMMUNICATION TECHNOLOGIES

SPRING 2024

Continuous Assessment

COURSE TITLE: Objected Oriented Analysis Design and Implementation

COURSE CODE: SEN 3241


INSTRUCTOR: Tekoh Palma
DATE: 14/05/2024
DURATION: 2 Hours

INSTRUCTIONS:

Answer all questions in good English Language while presenting your work in an orderly
manner.

Section A: Basic concepts (25Mks)


1. List and explain the ideas of the Agile Manifesto (4Mks)
2. With the help of a sample how is the product backlog di erent from the sprint
backlog (5Mks)
3. With concrete examples what is the di erence between (8Mks)
a. Unit testing and Integration testing
b. Programming language and a Modelling language
c. Composition and aggregation association
d. Generalization and extends association
4. How is the SRSD different from the SDD in software development? (2Mks)
5. What is a fragment in sequence diagrams? And hence with the help of diagrams
explain the various types of fragments you know (6Mks)

Section B: Object Oriented Modelling with UML (40Mks)


Exercise 1: Design an Airline Management System
An Airline Management System is a managerial software which targets to control all
operations of an airline. Airlines provide transport services for their passengers. They
carry or hire aircraft for this purpose. All operations of an airline company are
controlled by their airline management system.
This system involves the scheduling of flights, air ticket reservations, flight
cancellations, customer support, and staff management. Daily flights updates can also
be retrieved by using the system.

System Requirements

We will focus on the following set of requirements while designing the Airline
Management System:

Customers should be able to search for flights for a given date and source/destination
airport. Customers should be able to reserve a ticket for any scheduled flight.
Customers can also build a multi-flight itinerary. Users of the system can check flight
schedules, their departure time, available seats, arrival time, and other flight details.
Customers can make reservations for multiple passengers under one itinerary. Only
the admin of the system can add new aircrafts, flights, and flight schedules. Admin
can cancel any pre-scheduled flight (all stakeholders will be notified). Customers can
cancel their reservation and itinerary. The system should be able to handle the
assignment of pilots and crew members to flights. The system should be able to handle
payments for reservations. The system should be able to send notifications to
customers whenever a reservation is made/modified or there is an update for their
flights.

1) Design a use case for the system above (10Mks)


2) Design a class diagram for the following system (15Mks)
3) Design a sample object diagram for the system ( 5Mks)

Exercise 2: School Examination Process (10Mks)


To give an exam, an instructor first notifies the Students of Computer Science department
of the exam date and the material to be covered. She then prepares the exam paper (with
sample solutions to each question) with referenced to syllabus, gives it to the
Examination Officer for multiplication, that is, gets it copied to produce enough copies
for the class. The instructor hands the exam papers to students on the designated time
and location. The students write their answers to exam questions and hand in their
papers to the instructor. The instructor then gives the exam booklets to the Examination
Unit for verification after which the booklets are returned to the instructor. Along with
sample solutions to each question, the instructor distributed the booklets to concern
Lecturers and gets them to mark it. She (Instructor) then records all marks and returns
the papers to the students

1) Design a sequence diagram to depict the Examination Process Above (10Mks)

You might also like