You are on page 1of 9

Technical Report

Accident Alert

Advised By:
Dr. Salman Afsar

Submitted By:
Saima Sattar

2016-ag-1219
MSC (CS)-B

Semester 4th

Department of Computer Science

Faculty of Sciences

April 2018

University of Agriculture Faisalabad

I
DECLARATION

I hereby declare that the contents of the project report “Accident Alert” is application of my
own research and no part has been copied from any published source. I further declare that this
project has not been submitted for award or any diploma. The university may take action if the
information provided is found at any stage. In case of any default the scholar will be proceeded
against as per University of Agriculture, University policy.

Student Signature

Saima Sattar
2016-ag-1219

II
CERTIFICATE

To

The controller of Examination

University of agriculture, Faisalabad

It is certified that Ms. Saima Sattar reg No. 2016-ag-1219 has


successfully completed project in partial fulfillment of the requirement for the degree of M.Sc.
Computer Science under our guidance and supervision.

ADVISORY COMMITTEE:

ADVISOR: ___________________________________

(Dr. Salman Afsar)

MEMBER: ___________________________________

(Dr. Ahsan Latif)

CHAIRMAN: ___________________________________

(Dr. Tasleem Mustafa)

III
OH, ALLAH ALMIGHTY OPEN OUR EYES, TO SEE WHAT
IS BEAUTIFUL, OUR MINDS TO KNOW WHAT IS TRUE,
OUR HEART TO LOVE WHAT IS ALLAH

Dedicated To

My Respected
PARENTS And TEACHERS

Whose encouragement, spiritual inspiration, well wishes, sincere prayers


and an environment that initiate me to achieve high academic goals.

IV
Acknowledgement

I have taken efforts in this project. Completing a task is never a one-person effort. It is often the
result of valuable contribution of a number of individuals in a direct or indirect manner that
helps in shaping and achieving an objective. However, it would not have been possible without
the kind support and help of many individuals. I would like to especially thanks to my “DEAR
ALLAH”. I would like to extend my sincere thanks to all of them.

I also extend my sincere and heartfelt thanks to our esteemed guide Dr. SALMAN AFSAR for
providing us with the right guidance, advice and for showing us the right way. I also extend my
sincere thanks to gorgeous personality teacher Dr. AHSAN LATIF for their logical guidance. I
further extend my sincere thanks to our respected Head of the department Dr. TASLEEM
MUSTUFA to giving me an opportunity to polish my capabilities. I would like to thank the other
faculty members also who lead me to a successful development, at this occasion.

I would like to express my gratitude towards my parents & supervisor for their kind co-operation
and encouragement which help me in completion of this project.

My thanks and appreciations also go to my colleague in developing the project and people who
have willingly helped me out with their abilities. During the developing of that project I faced a
lot of hurdles and I feel myself helpless. But the special help of our respected teacher, now I
completed my final project.

Last but not the least, I would like to thank friends for the support and encouragement they have
given me during the course of my work.

V
Table of Contents

Chapter 1 ………………………………………….……………………………...……… 1
INTRODUCTION ……………………...…………….…………….………...………..…. 1-6

1.1 Introduction .............................................................................................................. 1

1.2 Importance of Accident Alert application ................................................................ 1

1.3 Existing System …………………………………………………...……….……… 1

1.4 Problem in existing System ….................................................................................. 2

1.5 Scope of the project ….............................................................................................. 2

1.6 Needs for the project …………….…........................................................................ 2

1.7 Introduction of new system …................................................................................... 3

1.7.1 Introduction of accelerometer …............................................................................... 3

1.7.2 Introduction of GPS ….............................................................................................. 3

1.8 Objective of new system …...................................................................................... 3

1.8.1 Purpose …................................................................................................................. 3

1.8.2 Data storage ….......................................................................................................... 3

1.8.3 Eliminating data redundancy …............................................................................... 3

1.8.4 Flexibility …............................................................................................................. 4

1.9 Functional Requirement …....................................................................................... 4

1.10 Non-functional Requirement …................................................................................ 4

1.11 Introduction to environment ………………………………………………......…... 4

1.12 Advantages of the new system …............................................................................. 4

1.12.1 User Friendly …........................................................................................................ 5

1.12.1.1 Graphical User Interface ………………………………………………….……... 5

1.12.2 Economical …........................................................................................................... 5

VI
1.12.3 Reliable …............................................................................................................. 6

1.12.4 Time Saving …...................................................................................................... 6

1.12.5 Efficient …............................................................................................................ 6

1.11.6 Security….............................................................................................................. 6

1.11.7 Accessibility …..................................................................................................... 7

Chapter 2 …………………………………………………....…………………….…… 7
METHODOLOGY ………………………………………………….…………….…… 7-29

2.1 Software selection objective ............................................................................... 7

2.2 Waterfall model ................................................................................................... 7

2.2.1 Diagram of Waterfall Model ……………………………………………….…. 8

2.2.2 When to use waterfall model ……………………………………………...…... 8

2.2.3 Advantages of waterfall model ……………………….………………….……. 10

2.2.4 Disadvantages of waterfall model ……………………….…………………….. 10

2.3 Design and Implementation Constraints ............................................................. 11

2.3.1 Database ………………………………………………………………….......... 11

2.3.2 Operating System ……………………………………………………...….….... 11

2.3.3 Language ……………………….………………………………….……...…… 11

2.3.4 Tools ……………………………………………….……………….….….…… 12

2.4 Development Requirements ................................................................................ 12

2.4.1 Hardware ……………………………………………................................……. 12


2.4.2 Software …………………………………………………….…………………. 12
2.5 System Analysis .................................................................................................. 13
2.5.1 Design ………………………………………………………….…...……..….... 13

2.5.2 Environment …………………………………………………...........…….….... 13

2.5.3 Testing ………………………………………………………………………..... 14

VII
2.5.4 Training and transition …………….……………………….……………….… 14

2.5.5 Operations and maintenance ………………………………….……………..… 15

2.6 Requirement Analysis ......................................................................................... 15


2.7 Unified Modeling Language(UML) .................................................................... 15
2.7.1 Use case diagram …………………………………………………………..…... 15
2.8 Class diagram ...................................................................................................... 18
2.9 Sequence diagram ............................................................................................... 19
2.10 Data Flow Diagram ............................................................................................. 20
2.10.1 Context level diagram …………………………………………….............…… 22
2.10.2 Zero level context diagram …………………………………………….……… 23
2.11 ER Diagram ......................................................................................................... 23
2.12 System Design ..................................................................................................... 25
2.12.1 Input design ……………………………………………………………..……… 25
2.12.2 Output design ……………………………………………………………...…… 25
2.12.3 Database design ……………………………………………………….…..…… 25
2.13 System Development Life Cycle …………………………………………….... 26
2.14 Table Design ....................................................................................................... 27
2.14.1 Adding emergency contacts …………………….………………………......…. 27
2.14.2 Auto detection mode …………………………….………………………...…... 28
2.14.3 Manually SMS sent ……………………………………………………...….…. 29

Chapter 3 ………………………………………….…..……………………………… 30
RESULT AND DISCUSSION …………………………….………………...…...…… 30-34

3.1 Result and Discussion ........................................................................................ 30

3.2 Output of The Developed Application ................................................................ 31

3.2.1 Splash Screen …………………………………………….……………........…. 31

3.2.2 Main Screen ……………………………………………………………….…... 31

VIII
3.2.3 Add Contact Screen …………………….……………………………………... 32

3.2.4 Auto Detection ……………………..…………………...……………………... 32

3.2.5 Detection Level ………………………………………...……….……………... 33

3.2.6 Detection Mode ………………………………………...……….……………... 33

3.2.7 Accident Detection ………………...…………………...……….……………... 34

Conclusion …………………………………………………………………………..… 35

References …………………………………….……………...…………………...…… 36

List of figures

Fig 2.7.1 Use Case Diagram .................................................................................................. 16


Fig 2.8 Class Diagram ........................................................................................................... 18
Fig 2.9 Sequence Diagram..................................................................................................... 18
Fig2.10 Data Flow Diagram .................................................................................................. 21
Fig2.10.1 Context level Diagram .......................................................................................... 22
Fig2.10.2 Zero level Diagram................................................................................................ 23
Fig2.11 ER Diagram .............................................................................................................. 24
Fig2.13 System Development Life Cycle.............................................................................. 27
Fig 3.2.1 Splash screen .......................................................................................................... 31
Fig 3.2.2 Main screen ............................................................................................................ 31
Fig 3.2.3 Add Contacts screen ............................................................................................... 32
Fig 3.2.4 Autodetection ......................................................................................................... 32
Fig 3.2.5 Detection Level ...................................................................................................... 33
Fig 3.2.6 Detection Mode ...................................................................................................... 33
Fig 3.2.7 accident Detected ................................................................................................... 34

IX

You might also like