Se Project Disaster Management
Se Project Disaster Management
1. Problem Statement………………………………………………………3
2. Process Model…………………………………………………………… 3
3. Software Requirement Specifications…………………………………. 3
3.1 Introduction……………………………………………………..….3
3.1.1 Purpose……………………………………………………….4
3.1.2 Scope………………………………………………………….4
3.1.3 Definitions and Abbreviations………………………………. 4
3.1.4 Overview……………………………………………………...4
3.1.5 References…………………………………………………….5
3.2 Overall Description…………………………………………………5
3.2.1 Product Functions…………………………………………… 5
3.2.2 User Characteristics…………………………………………. 6
3.2.3 General Constraints………………………………….……… 6
3.2.4 Assumptions and Dependencies…………………….……… 6
3.3 External Interface Requirements………………………….………6
3.3.1 User Interfaces………………………………………..………6
3.3.2 Hardware Interfaces…………………………………..……..10
3.3.3 Software Interfaces…………………………………..…….. 10
3.3.4 Communications Interfaces………………………….…….. 10
3.4 Functional Requirements…………………………………....……..11
3.5 Design Constraints…………………………………………. ……..19
3.6 Data Flow Diagrams……………………………………………….20
4. Estimations………………………………………………………..……. 28
4.1 Function Point……………………………………………………..28
4.2 Cost and Effort…………………………………………………….29
5. Scheduling……………………………………………………….. …….30
6. Risk Management……………………………………………………….31
7. Use Case Diagram and Description………………………………. ……33
8. Database Design…………………………………………………...…...39
9. Coding…………………………………………………………………...41
10. Control Flow Graph…………………………………………………….43
11. Cyclomatic Complexity…………………………………………………44
12. Boundary Value Analysis………………………………………………. 45
P age |3
1. PROBLEM STATEMENT
In India, every year due to our varied terrain and landscapes different types of disaster
occurs because of which millions of people are affected. For ex. The floods that ravage
our country every year causes people to relocate to places which causes them a
tremendous amount of trouble. There is very less information among people related to
these disasters and they are still unknown about the methods through which they can
help other people and also put forward their complaints to the authorities.
Our aim with the help of this portal is to assimilate all the resources that we have at one
place (all the Gov. as well as private Sector) and then help the people provide them
with these at the time of their need like money, shelter. With this portal, we provide
people a complete interface which will help them in dealing with the disasters in a more
efficient and less devastating manner. Altogether, this portal will be state-of-the-art
mechanism making it near impossible to leave even the slightest of the matters related
to managing of the disasters.
2. PROCESS MODEL
The model chosen for our project is Incremental Model. This model is more flexible –
less costly to change scope and requirements. The project size is moderate and the
core requirements of the system are well known and there is no ambiguity in them. It is
easier to manage risk because risky pieces are identified and handled. This model is
chosen because the software engineering team is not very well skilled or trained, and
thus the Incremental Model would help to manage planning technical risks. With the
help of incremental model, the Web applications are developed in an easy and efficient
manner and the reusable components of web applications.
3.1.1 Purpose:
Our aim with the help of this portal is to assimilate all the resources that we have at one
place (all the Gov. as well as private Sector) and then help the people provide them
with these at the time of their need like money, shelter. With this portal, we provide
people a complete interface which will help them in dealing with the disasters in a more
efficient and less devastating manner. This portal also aims to keep tabs on all the
prediction and monitoring activities of the various agencies and to collab with them
from time to time in order to take necessary precautions to minimise the effects of the
upcoming disaster.
3.1.2 Scope:
This system will allow users to get the descriptive details of NDRF, SDRF, Civil Defence
and Fire Services and the activities undertaken by them like Training, Operations
conducted by them, conducting Workshops/Seminars, etc. Likewise, the users will get
to register themselves by providing necessary details for the exams conducted for the
induction into the Workforce. It also contains alerts hub which will function to predict
the upcoming disasters and disseminate warning messages to people. It also provides
individuals as well as organisations to donate in the disaster funds. Also, there will be
grievance section to register the complaints, Get Help section to contact us through e-
mail, chat or through complaint form, the sole purpose of this section will be to act as a
direct link between the complainant and the admin for faster redressal of the
grievance. Resources section that will contain the details about Annual Reports, Case
Studies and Awareness information related to disasters.
3.1.5 References:
Users: The entity User will have privileges to access nearly everything in front-
end in our system and can also register for some special purposes like e.g.
applying for exams, filing complaints, donation for specific disaster, attending
workshops.
Employee: The entity Employee will login to the portal and check their profile
and apply for leave.
Admin: There will be an administrator who will maintain and handle the
software and resolve all queries of public.
UI Screens are:
Examination Registration Portal: - Displaying all the upcoming exams
for recruitment. Also, an HTML based form to enter details for
printing the Admit card.
P age |7
Get-Help Portal: Options for Tracking your Application for Complaint as well a
Chatbot for instant replies to issues. Also, a HTML based for registering a new
complaint with details of the User.
P age |9
P a g e | 10
An Examination Module
Donation Module
Workshop Module.
A Get Help Module
An Employee Login Module
Weather prediction Module
It will display the list of all the upcoming exams available, with their exam
code, Exam name, Year, Date of exam, Closing date for forms, Part 1
Registration (with a register button).
On clicking on register for Part 1, a page will be opened containing all
the instructions for filling up the application form and after that, we
will be directed to the details page.
On entering the registration ID, DOB and Captcha, you will be able to see your
application and an option for print admit card will be available 15-20 days prior
to the exam.
P a g e | 12
PERSONAL DETAILS
CENTRE DETAILS
CONTACT DETAILS
Address: Locality:
City: District:
Photograph Signature
P a g e | 13
ADMIT CARD
Candidate’s
Signature:
TEST DETAILS
Question Paper Medium:
Paper Name:
Date of Examination:
Shift:
Reporting Time:
Timing of Test:
Venue of Test:
Donate as an Individual
Donate as a group:
After the registration, the Organisation will login with their Username and
Password and can add their Member details: (Name, Employee ID, Ph. Number,
email ID) and amount received from them
After entering all the member details, Organisation can pay online the amount as
a single transaction
After successful transaction, organisation can login and print receipt containing
list of all the members who has donated.
Receipt will be sent to all the members via the E-Mail and WhatsApp
Print Receipt: Input your details such as E-Mail, Token Number and Donated
Amount to search and print the receipt
Receipt No.
Donated By:
Street Address:
Date of Donation:
Donation Value:
Description of donation:
Authorized signature:
Date of Donation:
Donation Value:
Description of donation:
Authorized signature:
Grievances
Track your Complaint: Dialogue box opens in which enter your Token No. And
submit to track the status of your complaint token.
P a g e | 16
Conduct a workshop/seminar
o For all the schools, colleges and coaching institutions.
The institution will get themselves registered on the website
and give details of the workshop they want to conduct: -
o Organisation Name
o Contact details
o Number of attendees(expected)
o Address
o Date and Mode of workshop(online/offline)
o Theme of the workshop
XX/XX/20XX
VENUE: ___________________________________________________________________________________
__________________________________________________________________________________________
PLACE:
AUTORISED SIGNATORY:
_____________________
_____________________
P a g e | 17
Certificate of Participation
This certificate is awarded to
Mr./Mrs. Abc Xyz
in recognition of his/her participation in training workshop entitled
Strengthening National Response Capabilities that was held at Tomar Hospitality,
New Delhi - 110005 during 07-11 June, 2021
National Disaster Management Authority
(a govt. of India initiative)
o The user is required to enter the basic details like State, City, Pin code
and click on search.
o A list of all the available workshops in that particular city will be
displayed with a REGISTER button besides all of them.
o After clicking on Register, a form of personal details will be opened and
on successful submission of the form, an e-invite will be sent via
email/WhatsApp and the database will be updated.
E-INVITE
National Disaster Management Authority Where 17 A/2 w.e.a Karol Bagh, Basement Hotel,
SPB 87, near Metro Pillar 98, New Delhi-
cordially invites you to join the 110005
After filling this form containing all the personal details (Name, Phone no.,
State, City, Pin code, Address) along with the type of complaint and the type
of disaster, a token code will be generated.
This complaint will be looked upon by the concerned person and will revert
back as soon as possible.
An option for Track My Application will be given where the user can enter
their token code and track the status of their complaint.
Contact with us
Telephone number, email id and address will be given in this section for any
other Complaints or queries.
Employee Corner: This particular sub-section is meant for the ease of access
for the employees of the Force. On visiting this section, the employees will
be able to login using their User-Id and Password (also verifying through a
captcha code).
Apply Online: A form will be presented to the User in which he/she has to
enter the following details: Name, Employee ID, Date on which his/her leave
begins, re-joining after the leave date, Type of the leave (Personal/Medical)
etc., Supporting Valid Documents needs to uploaded, Submit the application.
After the successful submission this application will be forwarded to the
competent authority
P a g e | 19
User requests info about the type of disaster which he/she wants to receive from
the live weather conditions database.
Weather conditions display then request the required data from the Data Store
database and return the requested info to the users.
User can request for critical weather display who in turn requests data from data
store and retrieves the data from it and transmit it to the user who requested it.
User can also request for SMS service in which a SMS regarding details of disaster
or critical weather is sent to registered user with necessary guidelines and
measures to be taken.
Admin collects weather details from accounts of various researchers and
scientists and update them and then categorize them into critical/serious
weather conditions and normal/mild weather conditions and send the data
accordingly to data store.
Data Store collects latest information about disasters and weather details from
Government Sources like NDRF, SDRF, Fire Department, etc.
Info from these organisations are collected and transferred to Data Store.
Also, when latest development occurs through various researchers and scientists
then their data is also updated in systematic categorised manner and then sent it
to Data Store
4.ESTIMATION
4.1 FUNCTION POINTS
5.Scheduling
WK1 WK WK WK WK WK WK WK WK WK10
2 3 4 5 6 7 8 9
1. Identify Customer Requirements
Design DFD
Design Function Modules
Document SRS
Database Design
Milestone: System
Functions Defined
3.Estimations
Function Point Estimations
Effort Calculations
Milestone: Cost of Project
Defined
4.Perform Risk Analysis
Identify Risks Associated
with the proposed System
Developing Risk Tables
Developing RMMM Plans
Milestone: Risk
Management Complete
5.Testing
Coding
Control Flow Graph
Computing Cyclomatic
Complexity
Boundary Value Analysis
Milestone: Testing
Finished
P a g e | 31
7. Use Cases
1. Login
1.1 Brief description
This particular use case is meant for the ease of access for the employees of
the Force.
1.2 Actor
Employee and Admin can interact in this use case
1.3 Flow of events
1.3.1 Basic Flow
The System request that the actor enter his/her user name,
password.
The actor enters his/her Email, Password
The system validates the entered data.
1.3.2 Alternative Flow
If in the basic Flow, the actor enters an invalid email, password the
system displays an error message. The actor can choose to either return
to basic flow or cancel the login.
1.4 Pre-condition
None
1.5 Post-condition
After successful signup, the Employee shall be able to login into the system
and can check out the details (Name, Date of Birth, Date of Joining, and PF
Details, Number of Leaves Taken, and Total Number of Leaves Permitted) and
an also apply for leave.
2. Recruitment
2.1 Brief description
This use case will describe how the actor will apply for exam
2.2 Actor
Users and Admin can interact in this use case
2.3 Flow of events
2.3.1 Basic Flow
On clicking on register for Part 1, a page will be opened containing all
the instructions for filling up the application form and after that, we
will be directed to the details page where the user will enter all the
details and then he/she will be directed to the payment gateway.
P a g e | 34
2.4Pre-condition
Users have to choose for the particular exam from the list of exams that
he/she wants to appear in it.
2.5 Post-condition
On successful submission of the form, a verification mail along with the
complete form will be sent to the respective mail id containing the
Registration ID. The system administrator will also generate the admit card
and update it in the database.
3. Making a donation
3.1 Brief description
This use case will describe how the actor will make donations on the portal
and how the system administrator handles those donations.
3.2 Actors
Users and Admin can interact in this use case.
3.3 Flow of events
3.3.1 Basic Flow
Donate as an Individual:
The individual will be required to enter the details (Name, Email- ID,
and Mobile No.) along with the donation amount he/she wants to
donate and after successful submission of the details, the user will
be directed to the payment gateway and on successful payment, a
token number will be generated.
Donate as a group:
After the registration, the Organisation will login with their Username
and Password and can add their Member details: (Name, Employee
ID, Ph. Number, email ID) and amount received from them. After
entering all the member details, Organisation can pay online the
amount as a single transaction.
P a g e | 35
3.5 Post-condition
After successful transaction, individual as well as organisation can login and
print receipt. The admin will update the details of donation in the database for future
records.
4. Complaints
4.2Actor
Users and admin can interact in this use case
4.3Flow of events
None
4.4 Pre-condition
None
4.5Post-condition
When the user registers their complaint, the admin will resolve the
complaint and update the complaint status in the database.
P a g e | 36
User can also track their complaint by entering their respective token
number.
5. Conducting a Workshop
5.2 Actor
Users and admin can interact in this use case
5.4Pre-condition
None
5.5 Post-condition
After successfully conducting the workshop, the organization can get
their certificate by submitting the required documents.
6 Participating in a Workshop
6.1 Brief description
This use case will describe how the actor will apply for a Workshop and
how the admin after verifying all the details will generate an e – invite.
6.2Actor
Users and admin can interact in this use case
6.3Flow of events
6.3.1 Basic Flow
After clicking on Register, a form of personal details will
be opened and on successful submission of the form, the
admin will verify the details and generate an e – invite.
P a g e | 37
6.5Post-condition
After applying for a particular workshop, an e – invite will be sent to the user via e
- mail and WhatsApp.
7.2 Actor
Users can interact in this use case
7.5 Post-condition
User now will be able to check any disaster details whether normal or
critical and will be getting SMS if his area comes under potential risk of
any disaster in near future.
P a g e | 38
P a g e | 39
8. DATABASE DESIGN
WORKSHOP DATABASE
EMPLOYEE DATABASE
EXAMINATION DATABASE
Attribute Data Size Constraint Description
Type
Registration_Number INT 10 Primary Unique Registration Number for every
Key candidate
Candidate_Name VARCHAR 30 Not Null Name of the candidate
Mother_Name VARCHAR 30 Null Name of Candidate’s mother
Father_Name VARCHAR 30 Not Null Name of Candidate’s father
DOB DATE 8 Not Null Date of Birth of Candidate
Category VARCHAR 10 Not Null Category to which candidate belongs
Gender CHAR 1 Not Null Gender of candidate
State_of_Eligibility VARCHAR 20 Not Null State in which candidate resides
Examination_centres VARCHAR 20 Not Null First,Second,Third,Fourth choice of center
Address VARCHAR 50 Not Null Address of the candidate
Email ID VARCHAR 20 Null Email ID of candidate
Mobile No. INT 10 Not Null Mobile number of Candidate
Exam_fee FLOAT 8 Not Null Fees of exam candidate registered for
Transaction_ID INT 16 Not Null Transaction ID for every candidate
Date_of_Transaction DATE 8 Not Null Date when transaction took place
DONATION DATABASE
9. CODING
#include<iostream>
using namespace std;
int donation()
{
int choice;
char ch;
do //2
{
cout<<"\tDonation Portal\t\n"; //3
cout<<"\t\t1. Donate\t\n";
cout<<"\t\t2. Print Receipt\t\n";
cin>>ch;
if (ch == 1) //4
{ //5
cout<<"\t\t\t1.Donate As Individual\t\n"; //6
cout<<"\t\t\t2.Donate As Organisation\t\n";
cin>>ch2;
if(ch2 == 1) //7
{ //8
cout<<"\t\tEnter Personal Details: "; //9
InputPersonalDetails();
cout<<"\t\tEnter the Donation Amount: ";
cin>>amt;
bool a = Payment(amt);
if(a) //10
{
cout<<"Payment is Successfull"; //11
token = ReceiptGeneration();
cout<<"Token Number: "<<token;
}
else
cout<<"Error in Payment"; //12
} //13
else if (ch2 == 2) //14
{ //15
cout<<"\t\tEnter the details of the Organisation\n" //16
InputOrganisationdetails();
cout<<"\t\tEnter the total Amount by all members of the
Organisation: ";
cin>>amt;
P a g e | 42
bool a = Payment(amt);
if(a) //17
{
cout<<"Payment is Successfull"; //18
token = ReceiptGeneration();
cout<<"Token Number: "<<token;
}
else
cout<<"Error in Payment"; //19
} //20
else //22
cout<<"Invalid choice"; //23
} //21
else if (ch == 2) //24
{
cout<<"Enter the token number for Printing the Receipt: " //25
cin>>token_no;
PrintReceipt(token_no);
}
else //26
cout<<"Invalid Input";
cout<<"Do you want to continue?(Y/N): " //27
cin>>ch3
}while(ch3 == 'Y'); //28
return 0; //29
}
P a g e | 43
Number of Regions: 8
Predicate Nodes: 4,7,10,14,17,24,28
Number of Predicate Nodes (P) = 7
Number of Edges(E) = 35
Number of Nodes(N) = 29
Method I:
V(G) = E – N + 2
= 35 – 29 + 2
=8
V(G) = P + 1
=7+1
=8
Method III:
INDEPENDENT PATHS:
PATH 1: 1 – 2 – 3 – 4 – 5 – 6 – 7 – 8 – 9 – 10 – 11 – 13 – 21 – 27 – 28 – 29
PATH 2: 1 – 2 – 3 – 4 – 5 – 6 – 7 – 8 – 9 – 10 – 12 – 13 – 21 – 27 – 28 – 29
PATH 3: 1 – 2 – 3 – 4 – 5 – 6 – 7 – 14 – 15 – 16 – 17 – 18 – 20 – 21 – 27 – 28 – 29
PATH 4: 1 – 2 – 3 – 4 – 5 – 6 – 7 – 14 – 15 – 16 – 17 – 19 – 20 – 21 – 27 – 28 – 29
PATH 5: 1 – 2 – 3 – 4 – 5 – 6 – 7 – 14 – 22 – 23 – 21 – 27 – 28 – 29
PATH 6: 1 – 2 – 3 – 4 – 24 – 25 – 27 – 28 – 29
PATH 7: 1 – 2 – 3 – 4 – 24 – 26 – 27 – 28 – 29
PATH 8: 1 – 2 – 3 – 4 – 24 – 26 – 27 – 28 – 2
P a g e | 45
The two inputs that we take in our program are donation amount (x)
and the token number (y).
THE END