CS552CH2: Object-Oriented Analysis & Design Homework - Fall 2021

Verified

Added on  2023/06/15

|10
|1613
|427
Homework Assignment
AI Summary
This assignment solution for CS552CH2 Object-Oriented Analysis & Design covers key elements of object-oriented systems, including objects, attributes, behavior, classes, methods, encapsulation, abstraction, inheritance, and polymorphism. It describes the three steps of the analysis phase: developing an analysis strategy, gathering requirements (functional and non-functional), and developing a proposed system. The solution includes a use-case diagram and class diagram for an online student registration system, along with explanations of structural models in OOD with UML, such as class diagrams, use case diagrams, object diagrams, package diagrams, and component diagrams. The document also presents an object diagram related to the class diagram and a draft of architectural design specifications (client-server approach with a deployment diagram) and a functional test plan for a gym management system project.
Document Page
CS552CH2 Object-Oriented Analysis & Design Fall 2021
_____________________________________________________________________________________________
CS552CH2: Object-Oriented System Analysis & Design
Homework #2 Project
Student’s Name: ____________________________________
Please write clearly. Ambiguity will be penalized. Use EXTRA pages if necessary. Good Luck!
1. Name key elements of Object-Oriented systems.
Some of the main elements of Object- oriented system are as follows:
Objects: An object can be defined as basic entities that provide data or information. These
entries can be tangible as well as can be intangible.
Attributes: Attributes can be defined as kind of information that can be used for describing
an object.
Behaviour: It directly helps in identifying what the object is about and what the object will
be doing.
Class: Class is a kind of method that can directly help in encapsulating and its behaviour.
With the help of a class similar kind of objects with similar meaning and purpose can be
grouped together in order to from a class.
Methods: Methods with class directly helps in determining ways in which a class would
behave and functions that a class would perform.
Encapsulation: is a process of hiding information within a class. Data within class is hidden
with the help of encapsulation from the remaining system so that if any kind of improvement
is required to be brought then it can be brought easily.
Abstraction: It is a kind of method that can be used for selecting important information or
methods that can be used for specifying an object.
Inheritance: It is a kind of element that help in inheriting features of existing class into sub
class.
Polymorphism: it is an ability of a class to form different forms that can be applied to any
kind of object.
2. Briefly describe three steps of the Analysis Phase.
1
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
CS552CH2 Object-Oriented Analysis & Design Fall 2021
_____________________________________________________________________________________________
Analysis phase is one of the most important phase of software development lifecycle that
helps in analysing and identifying what a system will be doing and what it can do in an
appropriate manner. There are three main steps that are required to be focused upon in analysis
phase, those stages are:
First step s is to develop and evaluate analysis strategy. This developed analysis strategy is
developed so that all the team members can put their combine efforts for resolving problems
associated with the system and development of as new system can take place in an
appropriate manner.
Gathering requirements: Next step is to gather all kinds of important requirements associated
with the system that are important for development of system. In this step all the important
requirements of the system that are important for development of new system are gathered.
There are two main types of requirements that can be gathered by developer for
understanding main functions and features of the system. First type of requirements are
functional requirements and second type of requirements od non- functional requirements.
Development of proposed system: third step is to develop proposed new system as per the
gathered requirements. In this step a conceptual model of system is developed on the basis of
requirement by outlining main requirements of the system for meeting requirements of new
system as per the requirements specified by the client.
3. Plot a Use-Case Diagram for the Online Student Registration System. Use the Use-Case
syntax.
2
Document Page
CS552CH2 Object-Oriented Analysis & Design Fall 2021
_____________________________________________________________________________________________
Figure 1 Use case diagram
3
Document Page
CS552CH2 Object-Oriented Analysis & Design Fall 2021
_____________________________________________________________________________________________
4. Briefly describe major elements of the Structural Models in OOD with UML.
There are many different kinds of structured models that can be adopted in OOD and
developed using any kind of UML tool. These structed diagrams help in understanding a system
in a better manner. Some of the most commonly developed structured models and their main
elements in OOD with UML are as follows:
Class diagram:
A class diagram concisit of attributes and objecxts that are used of transmitting a message
from one class to antoher with the help of associations, agressions, generalization.
Use case diagram:
Use diagram helps in understanding number of users who will be using the system and
their functionalities with the system in an appropriate manner. Its main elements are actors
and use cases and in order to explain interaction and connection between actors and use
cases.
4
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
CS552CH2 Object-Oriented Analysis & Design Fall 2021
_____________________________________________________________________________________________
Object diagram:
Object diagram is used to describe link between two elements or objects in order to provide a
snapshot of the system and ways in which different objects are linked together. Below explained
are main elements of the system.
Package diagram:
Package diagram directly helps in grouping and linking main elements of the system
together.
Package element:
Import element:
5
Document Page
CS552CH2 Object-Oriented Analysis & Design Fall 2021
_____________________________________________________________________________________________
Access element:
Component diagram:
This diagram helps in explaining components and relationship between them, dependency in an
appropriate manner. Some of the main elements od component diagram are as follows:
Description of above identified elements have been explained below:
Actor: an entity which will have complete access to the system
Generalization: this relationship helps in explaining inheritance relationship
Aggregation: It helps in explaining relationship between a component and its aggregate.
Association: it helps in describing connection among instances.
5. Plot a Class Diagram for the Online Student Registration System.
6
Document Page
CS552CH2 Object-Oriented Analysis & Design Fall 2021
_____________________________________________________________________________________________
6. Plot an Object Diagram (related to the selected Class Diagram [see Q5]) for the Online
Student Registration System.
7
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
CS552CH2 Object-Oriented Analysis & Design Fall 2021
_____________________________________________________________________________________________
Above developed object diagram is based upon class diagram developed in previous question
and helps in providing static view of the system.
7. Submit a DRAFT of ARCHITECTURAL DESIGN SPECIFICATIONS (designed with
the Client-Server Approach, including a Deployment diagram) and FUNCTIONAL
TEST PLAN for your individual/team project [one per team].
Architectural design specifications:
Gym management system will be based upon three- layer architecture. First layer is
presentation layer which is also known as client- side view which is a website which is being
used by clients for accessing gym management system for logging, checking all kinds of
facilities, packages, gym equipment’s available etc on website through web server. Second layer
is application and data access logic which works as a control and implementation layer. It is one
of the most important layer that can help customers in accessing all the main functionalities of
the website and makes operability of functional requirements of website much easier. Last layer
so architectural design of gym management system is database layer. It is one of the most
important layer of the system that helps in storing all kinds of important information in a proper
and appropriate manner. Any kind of information asked by client through website is extracted
from database only and then displayed on website.
8
Document Page
CS552CH2 Object-Oriented Analysis & Design Fall 2021
_____________________________________________________________________________________________
Deployment diagram:
Functional test plan:
In order to test functionalities of the system following test plan can be followed are as
follows:
Test case 1: To check whether customers can register to website or not
Test Description: All the customers should be able to register themselves successful
Test Prerequisites: Customers only need their information that they want to fill in for registration
Input: None
Action Required: provide all the details required to be filled especially the one marked with star
Expected Result: Customers should be able to register themselves successfully on the website.
Test case 2: To check whether customers can easily login to website or not
Test Description: All the customers should be able to successfully login to the website
Test Prerequisites: correct user id password are required
Input: input correct user id and password
Action Required: input user id and password
Expected Result: Customers should be able to login themselves successfully on the website.
Test case 3: To check whether customers can select packages for themselves or not
Test Description: All the customers should be able to select an appropriate package for
themselves which is required, liked and preferred by them.
Test Prerequisites: customers should view all the packages available on the website.
Input: None
Action Required: select required package
9
Document Page
CS552CH2 Object-Oriented Analysis & Design Fall 2021
_____________________________________________________________________________________________
Expected Result: Customers should be able to select package preferred by them.
Test case 4: To check whether customers can make payment for their preferred package or
not.
Test Description: When customers provide their card details for payment then they should be
able to make payment successfully.
Test Prerequisites: payment gateway should be working
Input: payment information
Action Required: submit all important details
Expected Result: payment information should get verified by the system and customers should
be able to book their selected package successfully.
10
chevron_up_icon
1 out of 10
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]