Professional Documents
Culture Documents
Submitted By:
Submitted To:
Mr. Kashif Basir (Lecturer CS Department)
1
Table of Contents
Vision and Scope Document....................................................................................... 5
1. BUISSNESS REQUIRMENT:.................................................................................... 5
1.1 BACKGROUND:............................................................................................... 5
1.2 BUISNESS OPPORTUNITY:............................................................................... 5
1.3 BUISNESS OBJECTIVEES AND SUCCESS CRITERIA:.........................................5
1.4 CUSTOMER OR MARKET NEEDS:.....................................................................6
1.5 BUISNESS RISKS:............................................................................................ 6
2: VISION OF THE SOLUTION:..................................................................................7
2.1 VISION STATEMENT:........................................................................................ 7
2.2 MAJOR FEATURES:.......................................................................................... 7
2.3 ASSUMPTIONS & DEPENDENCIES:..................................................................8
3. SCOPE AND LIMITATION:...................................................................................... 8
3.1, 3.2 SCOPE OF INITIAL AND SUBSEQUENT RELEASE:......................................9
3.3 LIMITATION & EXCLUSION:..............................................................................9
4. BUISNESS CONTEXT:............................................................................................ 9
4.1 STAKE HOLDER PROFILES:............................................................................10
4.2 PROJECT PRIORITIES:.................................................................................... 10
4.3 OPPERATING ENVIRONMENT:........................................................................11
UML Diagrams.......................................................................................................... 12
Data Flow Diagram:............................................................................................... 12
Level 0:.............................................................................................................. 12
Level 1:.............................................................................................................. 13
Level 2:.............................................................................................................. 14
Level 3:.............................................................................................................. 15
Level 4:.............................................................................................................. 15
Entity-Relationship Diagram:................................................................................. 17
State Transition Diagram:...................................................................................... 18
Dialog Map:........................................................................................................... 21
Class Diagram:...................................................................................................... 22
Decision Tables and Decision Trees:......................................................................24
2
Use Case Diagram:................................................................................................ 25
Activity Diagram:................................................................................................... 27
Sequence Diagram:............................................................................................... 29
Software Requirement Specification.........................................................................31
1. Introduction:.................................................................................................... 31
1.1 Purpose:....................................................................................................... 31
1.2 Document Conventions:...............................................................................31
1.3 Intended Audience and Reading Suggestions:.............................................31
1.4 Project Scope:.............................................................................................. 31
1.5 Reference:.................................................................................................... 31
2. Overall Description:........................................................................................ 31
2.1 Product Perspective:..................................................................................... 32
2.2 Product Features:......................................................................................... 32
2.3 User Classes and Characteristics:................................................................32
2.4 Operating Environment:............................................................................... 32
2.5 Design and Implementation Constraints:.....................................................32
2.6 User Documentation:................................................................................... 33
2.7 Assumptions and Dependencies:.................................................................33
3 System Features:................................................................................................ 33
3. x System Feature X:....................................................................................... 33
4 External Interface Requirements:.......................................................................34
4.1 User Interfaces:............................................................................................ 34
4.2 Hardware Interfaces:.................................................................................... 34
4.3 Software Interfaces:..................................................................................... 35
4.4 Communication Interfaces:..........................................................................35
5 Other Nonfunctional Requirements:...................................................................35
5.1 Performance Requirements:.........................................................................35
5.2 Safety Requirements:................................................................................... 36
5.3 Security Required:........................................................................................ 36
5.4 Software Quality Attributes:.........................................................................36
6 Other Requirements:.......................................................................................... 36
Appendix A: Glossary:............................................................................................ 36
Appendix B: Analysis Models:................................................................................36
3
Appendix C: Issues List:......................................................................................... 37
4
further case. For the interior minister they can get all the details from
this prison management system on one click if these are other request
from jailer out-of-scope then these request will be checked if these
request or valuable ,they will be added otherwise rejected.
9
having a yearly record of smuggle things e.g. drugs,
weapons, etc. so as we know that they are not in scope but
important so we add that features in a software but will take
extra cost and time .
LI-2: TBD
4. BUISNESS CONTEXT:
The project business issues are to record the details of the prisoners,
jailors and the lawyer and the prison we will include the profiles of
major stake holders like developers, analyst customers, and head of
organization etc.
10
Interior He can Should be The Minister He will have
Minister access the positive as should also interest as he
individual he can be provided can get and
record if he access the with the report the
want to know records complete prisoners’
about any which he data he records for
prisoner bio wants for his wants. his use.
data. use.
11
will take much time.
We will ask the stakeholders the following question i.e. Are the users of
this system present in different cities of the country or in the same and
how many prisons of the country of different cities are connected
through this system?
12
UML Diagrams
Data Flow Diagram:
A data flow diagram (DFD) is a graphical representation of the
"Stream" of data through an information system, modeling its process
aspects. A DFD is frequently utilized as a preparatory step to make a review
of the system, which can later be elaborated. DFDs can likewise be utilized
for the representation of data processing (structured design).
Expected Users:
Interior Minister, Jailer, Lawyer and the prisoner but the prisoner will
interact with jailer to ask for prisoner details.
Level 0:
Example:
13
Figure 1
Level 1:
Example:
Figure 2
Level 2:
Example:
Figure 3 is a level 2 Data Flow Diagram (DFD) which illustrates the user
check the details of; Prisoner, Lawyer and Jailer.
14
Figure 3
Level 3:
Example:
Figure 4 is a level 3 Data Flow Diagram (DFD) which illustrates the user
can preview; Prisoner details and Case details.
Figure 4
Level 4:
Example:
15
Figure 5 is a level 4 Data Flow Diagram (DFD) which illustrates the
Prisoner request for details which includes his Crime, Punishment and Case
details.
Figure 5
16
Figure 6
Entity-Relationship Diagram:
An Entity-Relationship Diagram, or ERD, is a chart that visually shows
the relationship between database elements. ERDs model an organization's
data storage necessities with three primary segments: entities, attributes,
and relationships.
Example:
17
Figure 7
Figure 8
Example:
Figures 9(a) & (b) are State Transition Diagrams which illustrates the
different states of the PMS in between the jailer, interior minister, victim, FIR,
and Prisoner.
18
Figure 9(a)
19
Figure 9(b)
Notations:
20
Figure 10
Dialog Map:
Demonstrates a user interface (screens, windows, dialog boxes, HTML
pages) and the possible navigation paths among the interfaces components.
Example:
21
Figure 11
Class Diagram:
A class diagram is an outline of the relationships and source code
dependencies among classes in the Unified Modeling Language (UML). In this
context, a class characterizes the methods and variables in an object, which
is a particular entity in a program or the unit of code representing to that
entity.
Example:
22
Figure 12
Notations:
23
Figure 13
A user can look at a decision tree that depicts a decision process they
utilize and recognize any blunders in the diagram.
Example:
24
Figure 14
Example:
25
Figure 15
26
Figure 16
Activity Diagram:
Activities diagrams are graphical representations of work processes of
stepwise exercises and actions with backing for decision, emphasis and
simultaneousness. In the Unified Modeling Language, movement outlines are
planned to display both computational and authoritative procedures (i.e.
workflows). Activity charts demonstrate the general stream of control.
EXAMPLE:
27
Figure 17
28
Figure 18
Sequence Diagram:
A Sequence diagram is a connection chart that shows how procedures
work with each other and in what request. It is a build of a Message
Sequence Chart. A sequence diagram shows object collaborations
orchestrated in time arrangement. It portrays the articles and classes
included in the situation and the succession of messages traded between the
items expected to do the situation's usefulness. Arrangement graphs are
normally connected with use case acknowledge in the Logical View of the
framework a work in progress. Succession outlines are now and then called
occasion charts or occasion situations.
EXAMPLE:
Figure 19 illustrate that user executes the PMS system then the user
will be prompt to login after that the user is logged in the request is granted
29
to the user then the data sequence is ready the next sequence will start PMS
system working.
Figure 19
Notations:
Figure 20
30
Software Requirement Specification
1. Introduction:
The SRS will give the complete detail of P.M.S and it will help the
stakeholder to understand the product.
1.1 Purpose:
This is the prison management system and the purpose of this
system is to record the details of the data in computerized form
not like a previous way i.e. Manual form.
1) Project Manager
2) Interior Minister
3) Jailor
4) Developer
31
1.5 Reference:
The project will be linked with a Google map and it will show the
locations of different branches of the prisons. In this project we
are using the IEEE standard.
2. Overall Description:
To record the details of Prisoners and Jailors, policemen, cells,
crime details etc. The constraints are: We will use .Net
Framework to establish this software. The software will only run
on windows Operating System. The documentation should be
recorded in English language.
32
2.5 Design and Implementation Constraints:
CO-1 We will use .Net Frame Work and C# programing
language
CO-2 In this product MySQL will be used as a database.
CO-3 We will use a developer coding style. So that each
developer can do his own standard style.
CO-4 It has no backward compatibility with earlier product
because it’s the first computerized system.
CO-5 It will be compatible on both the 32bit and 64bit
operating system.
3 System Features:
3. x System Feature X:
The features will be named as below:
33
“Record” feature will be named as 3.1 and its subsections like updating the
record will be named as “3.x.1”
34
4.1 User Interfaces:
UI-1 The size of font will be default that is 12 and the
font style will be Arial the color will be black and
the buttons will be of circle and rectangular shape.
UI-2 The screen resolution will be 720p
UI-3 On ctrl+s the file will be saved and on ctrl+o it will
be open and on ctrl+q it will exit the file etc.
CI-2 The system will also send email to the jailor about
the specific case of the prisoner.
35
5.1 Performance Requirements:
PE-1 “90% of data will be retrieve (database query) in 5
seconds on a single user 2.1-GHZ Intel Core i 3
running Windows 8 with at least 70 percent of the
system resources free.”
36
6 Other Requirements:
Fine payment will be written in Pakistani Rupees. We will use
English (US) language.
Appendix A: Glossary:
The developer should know about the abbreviation of P.M.S that is
prison management system.
37