Docsity

Software Engineering Project File, Lab Reports of Software Engineering

Toggle sidebar
bg1
Indraprastha College
for Women
(University of Delhi)
DEPARTMENT OF COMPUTER SCIENCE
SOFTWARE ENGINEERING
PROJECT
ACCIDENT DETECTION AND ALERT
SYSTEM
Submitted by:
Ms Kanchan Sagar(20/CS/21)
Ms Palak Rani(20/CS/35)
Ms Pavitra Sharma(20/CS/36)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31

Partial preview of the text

Download Software Engineering Project File and more Lab Reports Software Engineering in PDF only on Docsity!

Indraprastha College

for Women

(University of Delhi)

DEPARTMENT OF COMPUTER SCIENCE

SOFTWARE ENGINEERING

PROJECT

ACCIDENT DETECTION AND ALERT

SYSTEM

Submitted by:

Ms Kanchan Sagar(20/CS/21)

Ms Palak Rani(20/CS/35)

Ms Pavitra Sharma(20/CS/36)

ACKNOWLEDGEMENT It is my privilege to express my sincerest regards to my Software Engineering professor, Ms Vimala Parihar for her invaluable inputs, able guidance, encouragement, whole-hearted cooperation and constructive criticism without which this project would not have been able to sail through. I deeply feel honoured and blessed for getting this opportunity of being guided by her. I express my sincere thanks to her for constantly helping and supporting, encouraging and guiding me to successfully complete and present this project on the topic “ACCIDENT DETECTION AND ALERT SYSTEM”. Ms Kanchan Sagar Ms Palak Rani Ms Pavitra Sharma

Sr. No TITLE^ Page 1

PRODUCT DESCRIPTION

1.1 Introduction 1.2 Process Model

REQUIREMENT ANALYSIS

2.1 Use Case 2.2 Software Requirement Specification (SRS)

  1. 3 Data Flow Diagram (DFD)
  2. 4 Data Dictionary 2.5 Sequence Diagram 2.6 Activity Diagram 2.7 State Chart Diagram

PROJECT MANAGEMENT

3.1 Function Point 3.2 Effort Estimation 3.3 Risk Table 3.4 Timeline Chart

ENGINEERING DESIGN

4.1 Architectural Design 4.2 Database Design

CODE DEVELOPMENT

5.1 Pseudocode

TESTING PHASE

6.1 Testing 6.2 Flow Chart 6.3 Flow Graph 6.4 Cyclomatic Complexity 6.5 Independent path testing

7 FUTURE SCOPE 47

8 REFERENCE 48

goes through the requirements, design, implementation and testing phases. Every subsequent release of the module adds function to the previous release. The process continues until the complete system achieved.

Incremental Model

The various phases of incremental model are as follows:

1. Requirement analysis: In the first phase of the incremental model, the product analysis expertise identifies the requirements. And the system functional requirements are understood by the requirement analysis team. To develop the software under the incremental model, this phase performs a crucial role. 2. Design & Development: In this phase of the Incremental model of SDLC, the design of the system functionality and the development method are finished with success. When software develops new practicality, the incremental model uses style and development phase. 3. Testing: In the incremental model, the testing phase checks the performance of each existing function as well as additional functionality. In the testing phase, the various methods are used to test the behaviour of each task. 4. Implementation: Implementation phase enables the coding phase of the development system. It involves the final coding that design in the designing and development phase and tests the functionality in the testing phase. After completion of this phase, the number of the product working is enhanced and upgraded up to the final system product.

WHY ARE WE USING THIS MODEL?

1. In incremental model requirement are completely clear and understand, we know what is all required in the project e.g. - Prediction of sudden speed drop - Confirmation of Accident - GPS Co-ordinates - SMS through GSM 2. Moreover, the incremental process is based on waterfall process model. Since, we are well aware of the initial requirements we can adapt the linear fashion work flow from communication to deployment. The progress will be made to next step after the task at present state has been thoroughly finished.

USE CASE TEMPLATES

LOGIN

Brief description This use case describes how a user login to accident detection and alert system. Actor The following actor(s) interact and participate in this use case: User. Flow of events (^) • Basic flow This use case starts when the actor wishes to login to the Accident detection and alert System. The System requests that the actor enter his/her name, Email and password.

  1. The actor enters his/her name, Email and password.
  2. The system validates the entered name, email and password, and logs the actor into the system.
    • Alternative Flows
  3. Invalid Name/Password/Email If in the Basic Flow, the actor enters an invalid name, password and/or email, the system displays an error message. The actor can choose to either return to the beginning of the Basic Flow or cancel the login at which point the use case ends. Special requirements None. Pre-conditions The actor must have an User Account. Post-conditions They can Update their medical details and emergency contacts.

UPDATING DETAILS

Brief description Allows actor to upload and update medical details and emergency contacts. Actors The following actor(s) interact and participate in this use case: User. Flow of events (^) • Basic flow Actor needs to fill in basic details such as age, weight, height, blood group, etc. they have to provide details if they are allergic to anything and provide documents for any serious conditions such as heart condition etc.

  • Alternative flow
  1. If user doesn’t upload the document in respective format and size as mentioned, the system will display an error. User can choose to upload the file again or cancel his form, at which point the use case ends.
  2. If there is any error in the uploaded documents, then a mail specifying the invalid document and reason behind it for being invalid is mailed to the respective user.
  3. The user can either choose to upload the files again or cancel his form, at which point the use case ends.

ACCIDENT ALERTING

Brief description Sends alert message to a nearby hospital and emergency contacts. Actors The following actor(s) interact and participate in this use case: Responder. Flow of control • Basic flow Location co-ordinates are collected by the GPS And then an alert message is sent to a nearby hospital and rescue team is sent.

  • Alternating flow If hospital is unable to send rescue team for any reason, then other nearby hospitals are contacted until help is sent. Special requirements GPS. Pre-conditions Actor must have a rescue team and an ambulance ready to send to the accident location right on time. Post conditions Victim is taken to the hospital.

2. 2 SOFTWARE REQUIREMENT SPECIFICATION (SRS)

1. INTRODUCTION

SRS is a document created by system analyst after the requirements are collected from various stakeholders. SRS defines how the intended software will interact with hardware, external interfaces, the speed of operations, the response time of a system, portability of

software across various platforms, maintainability, the speed of recovery after crashing, security, quality, limitations, etc. The requirements received from clients are written in natural language. It is the responsibility of the system analyst to document the requirements in technical language so that they can be comprehended and used by the software development team.

SRS should come up with the following features:

1. User requirements are expressed in natural language. 2. Technical requirements are expressed in structured language which is used inside the organization. 3. Design description should be written in Pseudocode. 4. The format of Forms and GUI screen prints. 5. Conditional and mathematical notations for DFDs etc.

2. PURPOSE:

This SRS provide a complete description of all functions and specification of modules. It is the intention that the presented set of requirements possess the following qualities; correctness, unambiguousness, completeness, consistency, variability, modifiability and traceability. The primary audience of this SRS document will be the development team employed to implement the specific software. It will not only provide an extensive capacity for project planning and progress assessment but it will further assist with User/Responder interactions. The secondary document audience comprises the User for the project that is, who uses the system

2.1 Scope

The purpose of Accident Detection and Alert System is to give fast and good medical help during occurrence of an accident.

2.2 Overview

Update: - To able to upload or update medical documents. Validation: - To able to give validation of occurrence of accident Alerting: - It alerts responder by contacting them and providing location and details of user.

5. SPECIFIC REQUIREMENTS:

This section contains all the software requirements at a level of details sufficient to enable designers to design a system to satisfy those requirements, and testers to test that the system satisfies those requirements.

5.1 EXTERNAL INTERFACES

  • Hardware Interfaces 2GB RAM and higher IOS and Android Working GPS
  • Software Interfaces C++ Back end – SQL Server
  • Communication Interface Document verification mail send via e-mail.

6. PERFORMANCE REQUIREMENTS

  • Availability: Team will be sent if it is available.
  • Correctness: only contacted is given validation.
  • Usability: Used to send quick medical aid so as to save users life.

2. 3 DATA FLOW DIAGRAMS (DFD)

Data flow diagram takes an input process- output view of a system. It is a graphical representation of flow of data in an information system. It is capable of depicting incoming data flow, outgoing data flow, and stored data. That is, data objects flow into the software, are transformed by processing elements, ad resultant data objects flow out of the software. DFD COMPONENTS DFD can represent source, destination, storage, and flow of data using the following set of components- Entities: Entities are sources and destinations of information data. Entities are represented by rectangles with their respective names. Process: Activities and action taken on the data are represented by Circle or Round- edged rectangles. Data Flow: Movement of data is shown by pointed arrows. Data movement is shown from the base of arrow as its source towards head of the arrow as the destination. Database: The databases used in this project are represented by a single line. A few simple guidelines can aid immeasurably during the derivation of a data flow diagram:

  • The level 0 data flow diagram should depict the software/system as a single bubble.
  • Primary input and output should be carefully noted.
  • Refinement should begin by isolating candidate processes, data objects, and data stores to be represented at the next level; all arrows and bubbles should be labelled with meaningful names.
  • Information flow continuity must be maintained from level 1 to level 2 and one bubble at a time should be refined. This is a natural tendency to overcomplicate the data flow diagram.

2A

Inner view of UPDATE module

2B

Inner view of VALIDATION module