Escolar Documentos
Profissional Documentos
Cultura Documentos
TABLE OF CONTENTS
Chapter 1: ABSTRACT…………………………………………..4
Chapter 2:PREVIEW……………………………… ……………5
1|Page
INTRODUCTION
PROJECT DESCRIPTION
Chapter 3:ENTITY RELATIONSHIP DIAGRAM ….……….....6
Chapter 4:EXTENDED ENTITY RELATIONSHIP DIAGRAM .7
Chapter 5:NORMALIZATION………………………………8-13
Chapter 7:CONNECTION……………………………….….15-16
2|Page
ABSTRACT
In order to facilitate an assessment of future road accident prevention and for the awareness of
major causes for accidents, accurate information and road accident statistics for the past few
years is necessary. The main of objective this project is to design an efficient database system for
assessing the road accident statistics via an interactive web based user interface for various
categories of people and organizations. This could lead to road accident prevention in the near
future which can reduce accidents, prevent congestions and maintain smooth traffic conditions.
This project proposes a method for the above stated problem. This system takes the number of
accidents and various causes for it as input and returns the statistics of the past five years. The
first portal is for public user where he/she can view the statistical data of road accidents and
various causes such as drunk and drive ,sleeping sickness etc since 2013.Secondly,the web page
provides a portal for manufacturers where the company can view the major causes such as break
failure ,air bag failure etc for its respective automobile .The third portal is for the hospital
management where it can view the data such as number of deaths, reaction time since their
admission for their respective assessments.
3|Page
PREVIEW
INTRODUCTION
The number of fatalities due to road accidents in India has been consistently above one lakh
every year. Although the fatality index and rates are declining the actual figure is still at an
alarming stage. In order to help in reducing the number of road accidents and fatalities, the
availability of reliable and comprehensive road accident database and analysis system is critical
to understand the pattern of accident causation. We believe that better structured data will create
conditions for deeper analysis aiding in the formulation of evidence based research on road
safety in enabling better road safety intervention and performance monitoring. In this project we
are providing statistical analysis for different users to examine the cause for the problem by
creating a web based interface where the raw data will be manipulated by a database
management system in the back end.
Project Description
Our project comprises of four levels of data abstraction for different users
4|Page
ENTITY RELATIONSHIP DIAGRAM
Figure 1
5|Page
EXTENDED ENTITY RELATIONSHIP DIAGRAM
Figure 2
6|Page
Normalized tables-Road Accident Statistics
USER:
Closures
user_id->user_id , phone_no
Functional dependency(Transitivity)
user_id->date_of_birth
date_of_birth->age
1 Navadeep 09/11/1998
date_of_birth age
09/11/1998 21
user_id phone_no.
1 7538882669
Manufacturer:
7|Page
manufacturer->{man_id, man_name, email_id, contact}
Closures
man_id->man_id, man_name
email_id->man_id
contact->man_id
Registration:(before normalisation)
Registration:(after normalisation)
Manufacturer(after registration)
man_id man_name
man_id email_id
111 dealer@benz.co.in
man_id Contact
111 8464083345
Hospital management:
8|Page
Hospital-{hospital_id, hospital_name, contact, email, address, latlong}
Closures
address->address, latlong
address->latlong
Before normalisation:
address Latlong
Year Accidents:
Year_accidents{year, sleeping sickeness, lack of road discipline, no. of deaths, no. of accidents, glare
effect, drunk and drive, no. of injuries}
Closures
9|Page
Year_accidents->year, sleeping sickness, lack of road discipline, no. of deaths, no. of accidents, glare
effect, drunk and drive, no. of injuries
Relational schema:
year sleeping lack of road no. of no. of glare effect drunk and no. of
sickness discipline deaths accidents drive injuries
State Table:
State_table{state_id, state_name, year, sleeping sickness, lack of road discipline, no. of deaths, no. of
accidents, glare effect, drunk and drive, no. of injuries}
Closures
Relational Schema:
year sleeping lack of no. of no. of glare drunk no. of year sleeping state_id state_n
sickness road deaths accidents effect and injuries sickness ame
disciplin drive
e
2013 4561 1236 79844 98756 1256 4596 1321 2013 4561 1 AP
Manufacturer Statistics:
Manufacturer_statistics{man_id, man_name, year, braking system, no. of accidents, airbag failure, weak
structure}
Closures
10 | P a g e
Manufacturer_statistics->man_id, man_name, year, braking system, no. of accidents, airbag failure, weak
structure
Before normalisation:
After normalisation:
Hospital_statistics:
Closures
11 | P a g e
Functional dependencies(transitive dependency)
{hospital_id , hospital_name}->year
Before normalisation:
After normalisation:
12 | P a g e
USER INTERFACE
13 | P a g e
CONNECTION CODE (PHP)
Figure 5 CONNECTIVITY
14 | P a g e
USER INTERFACE CODE
15 | P a g e
HTML Code for Main Page
<!DOCTYPE html>
<!--
-->
<html>
<head>
<title>Accidents Statistics</title>
<meta charset="UTF-8">
<style>
.container{
position:relative;
text-align: center;
color: orange;
padding: 16px;
width:300px;
body {
margin: 0;
.topnav {
16 | P a g e
overflow: hidden;
background-color: #333;
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
text-decoration: none;
font-size: 17px;
.topnav a:hover {
background-color: #ddd;
color: black;
.topnav a.active {
background-color: #4CAF50;
color: white;
</style>
</head>
<body background="build.jpg">
17 | P a g e
<div class="container">
<div align="center"></div>
</div>
<div class="topnav">
</div>
18 | P a g e
<img class="mySlides w3-animate-fading" src="second.jpg" style="width:100%">
</div>
</nav>
<script>
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
x[i].style.display = "none";
myIndex++;
x[myIndex-1].style.display = "block";
setTimeout(carousel, 9000);
</script>
19 | P a g e
<section class="w3-container w3-content" style="max-width:1800px">
<div id='SERVICES'></div>
<font color="white">
</div>
<a href="#">HOSPITAL</a>
</div></div>
-->
<div align="left">
<li class="w3-theme">
</li>
<a href="login.html">LOGIN</a>
</li>
</ul>
</div>
</div>
20 | P a g e
<div align="right">
<li class="w3-theme">
</li>
<a href="manu.html">LOGIN</a>
</li>
</ul>
</div>
</div>
<li class="w3-theme">
</li>
<a href="hosp.html">LOGIN</a>
</li>
</ul>
</div> </div>
<nav class="w3-bar">
21 | P a g e
<div id='ABOUT'></div>
<p class="w3-justify">The number of fatalities due to road accidents in India has been consistently
above one lakh every year. Although the fatality index and rates are declining the actual figure is still at an
alarming stage. In order to help in reducing the number of road accidents and fatalities, the availability of
reliable and comprehensive road accident database and analysis system is critical to understand the pattern
of accident causation.</p>
</section></nav>
<a
href="https://in.pinterest.com/search/pins/?q=road%20accidents&rs=rs&eq=&etslf=4293&term_meta[]=roa
d%7Crecentsearch%7C0&term_meta[]=accidents%7Crecentsearch%7C0"><i class="fa fa-pinterest-
p"></i></a>
<p class="w3-medium">
</p>
</footer>
</body>
</html>
22 | P a g e
CONCLUSION
The project is accomplished with all features as promised in the abstract and preview. The
statistics of 29 states since past five years are now available to public users .The manufacturers
can be able to view and assess their technical failures and the hospital management can review
its accident cases since past five years. All the above data is showcased graphically to resolve
ambiguity.
References:-
NATIONAL TRANSPORTATION SAFETY BOARD
https://knoema.com/INDRAS2015/indian-road-accident-statistics-number-of-road-accidents-persons-
killed-and-injured?region=1000020-andhra-pradesh
https://www.google.co.in/search?q=w3schools&oq=w3&aqs=chrome.1.69i57j0l5.3052j0j4&sourceid=c
hrome&ie=UTF-8
https://sites.ndtv.com/roadsafety/important-feature-to-you-in-your-car-5/
https://data.gov.in/resources/statistics-road-accidents-india-2013-2016
http://asirt.org/Initiatives/Informing-Road-Users/Road-Safety-Facts/Road-Crash-Statistics
https://www.youtube.com/results?search_query=php+code+opening+when+html+page+is+redirected
23 | P a g e
24 | P a g e
25 | P a g e
26 | P a g e