Professional Documents
Culture Documents
The feeling of acknowledge and expressing it in words are two things apart. It is
weakness, but we honestly admit when we truely wish to express our warm
gratitude and indebtedness towards somebody, we are always at loss of word.
The project could not have completed without support extends to us by Mrs.
Anuradha Purohit, she guided us in preparation of the project and every time
when we reached with difficulties, she welcomed them which helped us to
successfully complete the project. We express our heartfelt gratitude with great
pleasure and a sense of obligation to Mrs. Anuradha Purohit , our project in
charge for her timely support and supervision.
We would also like to thank Ms. Sunita Verma , our Head of department. She was
always there with her support and those wonderful insights whenever eagerly
needed.
We would also like to thank Dr. S.S.Bhadoriya Honorable director of our college
whose continued cooperation and support top the department of Computer
Technology & Application was pivotal force in making this project a success.
And, finally a word of gratitude to our family and friends who were always there
with their support and encouragement.
Abstract
Data structure is an important subject for every student who is studying
engineering. It deals with storing data efficiently to improve performance. It also
deals with efficient use of memory space. But it may not be possible to study and
understand various parts of this very important subject in short time. To understand
a topic clearly, visualization plays a big part. By means of visualization, even a
relatively complex topic can be understood easily.
Our project is a data structure simulation. With the help of this
simulator, the user will be able to visualize different elements of data structure
(like stack, queue, linked list and most importantly different sorting techniques).
In this project we have done simulation of data structure (stack ,queue,linked
list,binary tree and graph and sorting in link list and we can also comput shortest
path in graph) It is being targeted at the students learning data structure first time.
They will be immensely benefited by this simulation.
Table of Contents
Chapter 1
Introduction
1.1 Preamble
1.2 Objective
1.3 Scope
1.4 Organization of the report
Chapter 2
Literature Survey/Conceptual Framework
Chapter 3
Analysis
3.1 Feasibility Study
3.2 Requirements Analysis & Specifications
3.3 Functional Description
3.4 Information Flow Representation
3.4.1 Data Flow Diagram
3.4.2 Control Flow Diagram
3.4.3 Use Case Diagram
3.5 Behavioral Description
3.5.1 State Transition Diagram
Chapter 4
Planning
4.1 Software Project Estimation
4.2 scheduling
4.2.1 Time line (Gantt) Chart
4.2.2 Project Schedule Table
4.3 Team Organization
4.4 Resource Planning
4.4.1 Hardware Requirements
4.4.2 Software Requirements
Chapter 5
Design
5.1 Architectural Design
5.2 Data Design
5.3 Interface Design
Chapter 6
Implementation
6.1 Coding
6.2 Testing
6.3 Result Set
Chapter 7
Conclusion
7.1 Conclusion
7.2 Limitations
7.3 Difficulties Encountered
References
Chapter 1
Introduction
1.1 Preamble
Data Structures are use for storing data , searching and retrieving data , you must
understand that what is data structure and how it works. If we understand the Data
Structure then we can reduce the access time of data and increases the performance
of our system by working of data structure. So we understand it by graphical
representation. Graphical representation describe the working of different available
data structures.
1.2 Objective
The aim of this project is to implement an automated system for processing and
generating results for storing and retrieving data in a graphical way . we can easily
understand the working of data structures.
1.3 Scope
In Introduction we have provided the information what our project is doing along
with objective and scope is also being given.
Analysis describes what different stuff we have studied during our software
development, which also includes use case and CRC.
Planning includes the time span, which we have divided to complete the project,
which has Gantt chart and project schedule.
Design describes the consulting architecture of our project which we have used to
develop the software. Along with UML tools like class Diagram and sequence
Diagram.
Chapter 2
Literature Survey/Conceptual Framework
2.1 java
i) Platform Independence.
ii) The Write-Once-Run-Anywhere.
iii) Provide security.
iv) Object oriented language.
v) Introduced the concept of classes.
After that we arrive at the point of description of our project feature in this
we implement The stack , queue ,tree, list and graph.
We study all the operation which can we perform at those data structures
and implement this as a user friendly way in graphical representation.
1) Java supported
4) Event handling
We have used some features of java and netbeans in our project according requirement
Chapter 3
Analysis
Feasibility study
After request clarification, analyst proposes some solutions. After that for each
solution it is checked whether it is practical to implement that solution. this is done
through feasibility study. In this various feasibility aspects are analyzed depending
on the context of the system. The outcome of the feasibility study should be very
clear.
The requirement the complex structure of storing data .so it is need the
understand the structure of data store .and how we can access that easily.
3.3 Information Flow Representation
This models the system from the end users point of view. They are
created during requirement elicitation. The fig. 3.1 shows the UseCase
Diagram for Simulation of Data Structures.
Data Stucture
Operations
File System
Insert
Delet
Help
Contact Infomation
1) User-
3) Operation:
User CRC Card -: precondition (1) user need to know the type of data structure.
Post condition (1) user can not save result of operation of data structure.
Chapter 4
Planning
Planning includes the time span, which we have divided to complete the project,
which has Gantt chart and project schedule.
Our software requires 2 main modules. The sizes of major module are:
All the factor had nominal rating.Now the effort adjustment factor
EAF=0.65*1.11*1.17*1.10*1.13 =1.04
Now our project is categorized into embedded project, because we have little
experience and requirements are stringent.
So value of constant
a=2.8
b=1.2
Ei=a*( KDLOC)b
Ei=2.8*(1.00)1.2
Final estimation
E=EAF*Ei
=1.04*2.8
=2.9PM
4.2 SCHEDULING
GANTT CHART
20aug 15sep 30sep 15oct 30 oct 1nov 11 dec
ID NAME
1 Requirement Analysis
2 Conceptual Design
3 Logical Design
4 Physical Design
5 Implementation
6 Testing
8 Presentation
Democratic Decentralization(DD)
Controlled Decentralization(CD)
Controlled Centralized(CC)
Democratic Decentralized(DD)
Controlled Decentralized(CD)
Controlled Centralized(CC)
Hardware Requirement
Software Requirement
Elements of the software, the “design patterns “ that can be used to achieve
the requirements that have been defined for the system.
The class diagram is used to refine the use case diagram and define a
detailed design of the system. The class diagram classifies the actors defined
in the use case diagram into a set of interrelated classes. The relationship or
association between the classes can be either an “is-a” or “has-a”
relationship. Each class in the class diagram may be capable of providing
certain functionalities. These functionalities provided by the class are termed
“methods” of the class. The figure shows the class diagram
Class Diagram
Select Menu
Select Operation
View Simulation
6.1 Coding
The whole code is compiled and the class files are generated ,Due
to the features of java.
DS.setVisible(true);
this.setVisible(false);
Comments
public STACK()
Declaration
All the declaration in java files are written with in the deceleration tags
of the Java.
int top=-1;
int Max=7;
All the errors and exceptions are handled using block .all the code
that can generate any type of errors /exceptions is placed within the try catch
block .
6.2 Portability
The product is build using java /technology and therefore can be run
on any platform as java provides platforms independence .java makes the
software portable to any platform including windows Linux.
6.3 Testing
Testing is the set of activities that are conducted to find error in the
development software.
Chapter 7
Conclusion
Easy to use graphics user interface:- this objective has been met. The
java swing s allow for better interface design. This GUI designed to look
and feel like a standard windows application.
Scales well to larger strings :- our software efficiently handle the very large
strings
7.2 Limitation :
References:-
1. Langston, Augestine,Tannenbaum, “Data Structure using c and c++”
,Pearson Education.