Professional Documents
Culture Documents
Bahirdar Prison Information Management System
Bahirdar Prison Information Management System
INSTITUTE OF TECHNOLOGY
SCHOOL OF COMPUTING AND ELECTRICAL ENGINEERING
PROJECT ON
[Bahirdar Prison Information Management System]
SUBMITTED
IN PARTIAL FULLFILMENT OF THE REQUIRMENTS FOR THE
DEGREE OF BACHELOR OF
SCIENCE
IN
[Information System]
BY
Henok Wondousen Eng/R/424/02
Kedir Kibret Eng/R/456/02
Mohammed Nurhusin Eng/R/571/02
January 2013
BAHIR DAR, ETHIOPIA
[Bahirdar Prison Information Management System]
By
Henok Wondousen Eng/R/424/02
Kedir Kibret Eng/R/456/02
Mohammed Nurhusin Eng/R/571/02
The Project is our own and has not been presented for a degree in any other university and
all the sources of material used for the project/thesis have been duly acknowledged. (Name
and Signature up to the number of the project group members)
------------------------------------- ---------------------------------------------
Name Signature
---------------------------------- -----------------------------------------------
Name Signature
---------------------------------- -----------------------------------------------
Name Signature
I certify that this project satisfies all the requirements as a project for the degree of Bachelor
of Science.
------------------------------------- ---------------------------------------------
This is to certify that I have read this project and that in my opinion it is fully adequate, in
scope and quality, as a thesis for the degree of Bachelor of Science.
------------------------------------- ---------------------------------------------
It is approved that this project has been written in compliance with the formatting rules laid
down by the school of the university.
ACKNOWLEGMENT
First, we would like to thank our best advisor, Ato Seleshi for his suggestion,
comments, and advice about the project.
We also thanks to the efforts of the many people whose names may not
appear on the cover, but whose hard work, cooperation, friendship, and
understanding were crucial to the development of the project.
Ato Abreham
Ato Mohammed
Computer Science Department Staffs
We also extend our thanks to Bahirdar Prison Staffs for their considerable
cooperation providing with the necessary information for the project.
January 2013
I|Page
Contents Page
Acknowledgement……………………………………………………………………………………………………………………………..I
Table of content………………………………………………………………………………………………………………………………..II
List of Figures…………………………………………………………………………………………………………………………………...V
List of Tables……………………………………………………………………………………………………………………………………VII
List of Symbols ……………………………………………………………………………………………………………………………….VIII
Abstract ……………………………………………………………………………………………………………………………………………IX
Chapter one..........................................................................................................................................1
1. Introduction...............................................................................................................................1
1.1. Background of the organization..................................................................................................1
1.2. Mission of the Organization........................................................................................................2
1.3. Visions of the Organization.........................................................................................................2
1.4.1. Background of Project.................................................................................................................2
1.4.2. Project overview......................................................................................................................2
1.4.3. Existing system........................................................................................................................3
1.4.4. Problem of the statement:......................................................................................................3
1.5. Significance of the project:.........................................................................................................4
1.5.1. Objective of the Project.......................................................................................................4
1.5.2. Scope...................................................................................................................................5
1.5.3. Proposed system..................................................................................................................5
1.5.3.1. Advantage of Proposed System............................................................................................5
1.6. Feasibility Study..........................................................................................................................6
1.6.1. Techenical Feasibility...........................................................................................................6
1.6.2. Economical Feasibility..........................................................................................................6
1.6.3.Operational Feasibility..........................................................................................................6
1.7. Metodology and Technology to used................................................................................................6
1.7.2.Technology (Software and Hardware).....................................................................................7
1.7.3 .Hardware to be used..............................................................................................................7
1.7.4.Data collection......................................................................................................................7
1.8. Organization of the project.........................................................................................................7
Chapter two..........................................................................................................................................8
2.0. Existing system...........................................................................................................................8
2.1. Proposed system........................................................................................................................8
2.2. Functionality Requirement.........................................................................................................9
II | P a g e
2.1. Non-functional requirements...................................................................................................11
2.1.1Reliability.............................................................................................................................12
2.1.2. Recoverability....................................................................................................................12
2.1.3. Data Backup/Restore.........................................................................................................12
2.1.4. Availability.........................................................................................................................12
2.1.5. System Maintenance.........................................................................................................12
2.1.6. Performance......................................................................................................................13
2.1.7. Usability.............................................................................................................................13
2.1.8. Visibility.............................................................................................................................13
3.0. Analysis Model..........................................................................................................................14
3.1. Use case Diagram..................................................................................................................14
3.2. Activity diagrams..................................................................................................................36
3.3. Sequence Diagram................................................................................................................57
Chapter 3.............................................................................................................................................76
3.0. Design Phase.............................................................................................................................76
3.2. ER-diagram...........................................................................................................................78
3.1.1Mapping...............................................................................................................................79
3.1.1.1. UNNORMALIZED FORM..................................................................................................81
3.1.1.2. FIRST NORMAL FORM.....................................................................................................84
3.1.1.3. SECOUND NORMAL FORM..............................................................................................88
3.2. User Interface...........................................................................................................................93
3.2.1. Login page..........................................................................................................................93
3.2.2. Home Page.........................................................................................................................94
3.2.3. View personal information page........................................................................................95
3.2.3. Registration form...............................................................................................................96
3.2.4. Request Form.....................................................................................................................97
3.2.5.Job assign............................................................................................................................98
3.3. Algorism design........................................................................................................................99
3.3.1. PSEUDO CODE FOR LOGIN.................................................................................................99
3.3.2. PSEUDO CODE FOR LOGOUT............................................................................................100
3.3.3. PSEUDO CODE FOR VIEW Prisoner Information...............................................................100
3.3.4. PSEUDO CODE FOR REQUEST TO TRANSFER....................................................................100
3.3.4. PSEUDO CODE FOR REQUEST TO NOTRANS....................................................................101
3.3.5. PSEUDO CODE FOR ATTENDANCE....................................................................................101
III | P a g e
3.3.6. PSEUDO CODE FOR JOB ASSIGN.......................................................................................102
3.3.7. PSEUDO CODE REGISTER PRISONER................................................................................102
3.3.8. PSEUDO CODE APPROVE NOTRANS.................................................................................103
3.3.9. PSEUDO CODE FOR VIEW JOB..........................................................................................103
3.3.10. PSEUDO CODE FOR RESERVE VISTING TIME..................................................................104
4.0. Bibilograpghy..........................................................................................................................105
IV | P a g e
List of Figure
Figure Page
YFigure 1; Use Case Diagram........................................................................................................................15
Figure 2: View personal information..............................................................................................................37
Figure 3: Send request to transfer.................................................................................................................38
Figure 4:search prisnor Information..............................................................................................................39
Figure 5:Request notrans..............................................................................................................................40
Figure 6:Register prisoner information...........................................................................................................41
Figure 7: Update prisoner Information...........................................................................................................42
Figure 8: Delete prisoner information............................................................................................................43
Figure 9: Create backup and recovery............................................................................................................44
Figure 10: Login..........................................................................................................................................45
Figure 11: Change account...........................................................................................................................46
Figure 12: Approve request..........................................................................................................................47
Figure 13: Punch in.....................................................................................................................................48
Figure 14: View job......................................................................................................................................49
Figure 15: Assign job...................................................................................................................................50
Figure 16: Evaluate notrans..........................................................................................................................51
Figure 17: . Receive transfer request..............................................................................................................52
Figure 18: Logout........................................................................................................................................53
Figure 19: Receive visiting date and time........................................................................................................54
Figure 20: View visiting time and date...........................................................................................................55
Figure 21: Create user..................................................................................................................................56
Figure 22: Generate report...........................................................................................................................57
Figure 23: Delete prisoner information..........................................................................................................58
Figure 24: View personal information............................................................................................................59
Figure 25: View Job......................................................................................................................................60
Figure 26: Request to transfer.......................................................................................................................61
Figure 27: Request fir notrans.......................................................................................................................62
Figure 28: Register prisoner information........................................................................................................63
Figure 29: Update prisoner information.........................................................................................................64
Figure 30: Search prisoner information..........................................................................................................65
Figure 31: Create user..................................................................................................................................66
Figure 32: Approve request..........................................................................................................................67
Figure 33: Evaluate notrans..........................................................................................................................68
Figure 34: Assign job...................................................................................................................................69
Figure 35: Recive request............................................................................................................................70
Figure 36: View visiting time........................................................................................................................71
Figure 37: Request to transfer.......................................................................................................................72
Figure 38: Generate report...........................................................................................................................73
Figure 39: Change account...........................................................................................................................74
Figure 40: Create backup and recovery..........................................................................................................75
Figure 41: Class Diagram.............................................................................................................................77
Figure 42: Deployment diagram....................................................................................................................78
V|Page
Figure 43: Architecture Design..................................................................................................................79
Figure 37: Request to transfer.......................................................................................................................73
Figure 38: Generate report...........................................................................................................................74
Figure 39: Change account...........................................................................................................................75
Figure 40: Create backup and recovery..........................................................................................................76
Figure 41: Class Diagram.............................................................................................................................77
Figure 42: Deployment diagram....................................................................................................................78
VI | P a g e
List of Tables
Tables Page
Table 1: Describe View Personal Information..................................................................................................16
Table 2: Description of Transfer....................................................................................................................17
Table 3: Description of request for notrans....................................................................................................18
Table 4: Describing register prisoner information...........................................................................................19
Table 5: Description of update prisoner information.......................................................................................20
Table 6: Description of Search prisoner information........................................................................................21
Table 7: Description for Receive request........................................................................................................22
Table 8: Description for delete prisoner information.......................................................................................23
Table 9: Description of reserve visiting date and time online............................................................................24
Table 10: Description of view visiting time and date........................................................................................25
Table 11: Description of Create user.............................................................................................................26
Table 12: Description of create backup and recovery.......................................................................................27
Table 13: Description for Login.....................................................................................................................28
Table 14: Description for logout...................................................................................................................29
Table 15: Description for logout...................................................................................................................30
Table 16: Description for change account......................................................................................................31
Table 17: Description of Punch In.................................................................................................................32
Table 18: Description for Approve request.....................................................................................................33
Table 19: Description for View Job................................................................................................................34
Table 20: Description of Assign Job...............................................................................................................35
Table 21: Description of Evaluate notrans......................................................................................................36
VII | P a g e
List of Symbols (Acronyms)
VIII | P a g e
Abstract
Thise project is to develop prison information mamangement system,mean while
bahirdar prison is been using manuale way of manipulating works fortunately our group
observe that and dig throuhg it and develop thise prison information management
system. This project is mainly infancies on the prisoner which is already judged by the
court, so BPRIMS is concerns after having judged prisoner with its back ground detailed.
IX | P a g e
Chapter one
1. Introduction
Bahirdar prison is one of the most popular prisons around Amhar region. It serves
both military and civil prisoners’. In fact this big governmental organization uses
traditional way of file managing system which is very tedious and time wasting
activity having this in mind our team choose this system to be automate .Bahirdar
prison management system is the title which we work on it .It is the system which
will reduce manual work and time wasting activity than before, these system will be
so user friendly and can serve 2 sub system of the prison authority which are Police
commission and Bahirdar prison. Generally BPRMS (Bahirdar prison management
system) will be more preferable software application and hop fully our users will
easily adapt to the system.
1|Page
1.2. Mission of the Organization
The project that will be used in Bahirdar Prison information Management System
(BPRMS) for the use of Prisons in Bahirdar, it is under the Ministry of Federal
prisoners’ agency in effectively managing the prison data and also more to the
database management. The users for this system are Bahirdar Police commission,
Bahirdar prison Authority. System administrator can do all the activities like data
backup and recovery, creating users, grants or revoke a privilege, and generate
report by using system interface. This system is also to make sure that system
administrator can do all the transaction by using this user-friendly interface not only
by doing all that in the database.
2|Page
statements will state the problems that encountered in the existing system or
current system. For the objective, it is about the aim for the development of the to-
be system in order to solve of the problem in the existing system while scope covers
the target users, function and the technology of the to-be system. Project
significance will describe the benefit and the important of the to-be system for the
user. Meanwhile, expected output will describe the final output of the to-be system.
The existing system of Bhirdar prison is that used a manual recording system (i.e. the
main tools of recording a prison information are pen, pencil, paper, shelf and others)
by using such manual recording for the existing system it has the following problem,
these problem are discovered through interviewing and questioners.
3|Page
1.5. Significance of the project:
Prison Management System (PRMS) is aimed at developing a prison management
system that is a -collection of registers and reports for the effective management of
prisons. This system is useful for user to manage and store the data of the prisoners.
With the implementation of this project, the Prisons Department in Bahirdar, can
change the existing system to this system so that the DBA can do works more easy to
ensure the data are completely secured and have a backup if something bad happen
to the system and database.
In addition, the PRMS also creates a safe way in the matter of managing the
prisoner's information. This is due to the need of username and password in order to
use the system. So, the PRMS can be accessed only by authorized users which are the
SA. Here, the system is protected from intrusion of unauthorized users. The Prison
management system is a powerful application designed to allow Bahirdar prisoners’
authority to streamline their human resource tasks and manager their prisoners
more efficiently.
4|Page
1.5.2. Scope
The scope will explain the boundaries of this project which is in Bahirdar prison
authority and in order to develop a system for users in Prisons Department in
Bahirdar that enable them to manage the prisoner registration and reports.
Deliverables of the project will be a complete system for users that will meet the
objectives. Target users are Police commission and Bahirdar Prison Authority so the
system will have interface for those sub system, the application will be plate form
independent which mean we can use in any operating system like Unix, Windows
and others, In fact we will use finger print recognizer machine if our school support
as unless it will be optional.
5|Page
1.6. FEASIBILITY STUDY
1.6.1. TECHNICAL FEASIBILITY
Our system is technically feasible; we use ASP language with the back End SQL
Server database, Microsoft word for writing document hopefully we will develop
successfully by using our academic knowledge in this case these project is feasible
according to the above reasons
The methodology that we are going to follow all over the project is the
Object-orainted one.
6|Page
1.7.2.Technology (Software and Hardware)
1.7.2.Software to be used
Our BPIMS system will be implemented with the following software
technologies: ASP back end SQL server, all of which work together to
help us develop a BPIMS system and we use software tools such as:-
Visio 2007
Microsoft Word 2007
Dreamweaver 8.0
Notepad++
1.7.3 .Hardware to be used
A PC with a Pentium III or higher.
At most 1.2 GB of memory.
Normal screen resolution (1680X240)
1.7.4.Data collection
We use the following methods for data collection;-
Interview
Observation
Documents
1.8. Organization of the project
In these documents we are discussing system details through each chapter, in
chapter 1 include introduction, background, objective of the project, scope,
and also include specific of the project .chapter2 deal about system features it
includes existing system, proposed system, functional requirement, non-
functional requirement, analysis model .chapter 3 contains system design it
includes Architecture of the system, deployment diagram ER-diagram of the
system.
7|Page
Chapter two
2.0. Existing system
Existing system is been use manual way of performing any activities , many
processes such as filing system, Job assigning ,search for prisoner information,
transfer to another prison, time schedule for services ,registration for prisoners,
report generation , visitors request and many other activates is been done manually.
Let as describe each steps, on filing system they uses a store to handle any prisoners
file which is unsecured and difficult to manipulate they put documents in shelf’s with
specific shelf number and let say that store keeper put the file away from its number
so in ordered to find the file we have to search throughout the shelf which is very
tedious task when we look for transferring the prisoner to other prison the prisoner
should apply request to the police officer then the police officer will analyze and
report it to the commander to confirm the request if the request is accepted then
the prison will contact to friend prison that they need to transfer a prisoner due to
some specific case then after all these process the prisoner will be transferred which
is very time wasting process ,in Bahirdar prison there is some services which are
done by the prisoners so the police officer is responsible to schedule for service for
all prisoners so police officer should trace out for all service to each prisoners in
every week, registration for prisoners these task is done by police officer on paper if
the police officer needs to correct any field which is field wrongly he/she have to
change new paper , sometimes some peoples handwriting may be unreadable so
some data will be lost through these process ,In generating report police office
should have to estimate some values which are approximate to the result these task
is been done in every month they couldn’t have exact format of report ,visitors in
prison serve turn by turn which is time wasting for visitors for waiting turn many
visitors come to visit early on the morning to take their turn front (to serve first).
Prisoner
9|Page
Inspector (commander)
o RQ1, The system allows Inspector (commander) to view prisoner Job.
o RQ2, The system allows Inspector (commander) to view prisoner’s
personal information.
o RQ3, The system allows Inspector(commander)to receive transfer
request from prisoner
o RQ4, The system allows Inspector(commander) to assign job
o RQ5, The system allows Inspector(commander) to register prisoner
o RQ6, The system allows Inspector(commander) to evaluate prisoner
for notrans
o RQ7, The system allows Inspector(commander)to change account
o RQ8, The system allows Inspector(commander)to generate report
o RQ9, The system allows Inspector(commander)to delete prisoner
information
Police commissioner
o RQ1, The system allows Police commissioner to view prisoner Job.
o RQ2, The system allows Police commissioner to view prisoner’s
personal information.
o RQ3, The system allows Police commissioner to receive transfer
request from prisoner
o RQ4, The system allows Police commissioner to assign job
o RQ5, The system allows Police commissioner to register prisoner
o RQ6, The system allows Police commissioner to evaluate prisoner for
notrans
o RQ7, The system allows Police commissioner to view visiting date and
time
o RQ8, The system allows Police commissioner to change account
o RQ9, The system allows Police commissioner to generate report
o RQ10, The system allows Police commissioner to delete prisoner
information
o RQ11, The system allows Police commissioner to approve notrans
System Administrator
o RQ1, The system allows System Administrator view prisoner Job.
10 | P a g e
o RQ2, The system allows System Administrator to view prisoner’s
personal information.
o RQ3, The system allows System Administrator to receive transfer
request from prisoner
o RQ4, The system allows System Administrator to assign job
o RQ5, The system allows System Administrator to register prisoner
o RQ6, The system allows System Administrator to evaluate prisoner for
notrans
o RQ7, The system allows System Administrator to view visiting date and
time
o RQ8, The system allows System Administrator to change account
o RQ9, The system allows System Administrator to generate report
o RQ10, The system allows System Administrator to delete prisoner
information
o RQ11, The system allows System Administrator to approve notrans
o RQ12, The system allows System Administrator to create users
o RQ13, The system allows System Administrator to assign role
o RQ14, The system allows System Administrator to create backup and
recovery
Visitor
o RQ1, The system allows Visitor to view visiting date.
o RQ2, The system allows Visitor to view visiting time.
o RQ3, The system allows Visitor to reserve visiting
o RQ4, The system allows Visitor to notify that how many visitors were
reserve for particular prisoner
2.1. Non-functional requirements
11 | P a g e
2.1.1Reliability
Reliability is the chance that the system processes work correctly without
being aborted. Some of the potential resulting losses that you should
consider are:
2.1.2. Recoverability
o Where backup copies of the system and data held within it will be
stored
o If the hardware, data, and onsite backup are destroyed, how soon
must the application be restored
o How many backups do you have?
o If one server goes down, how many backup servers do we have
use?
2.1.4. Availability
System availability is the time when the application must be available for use.
Required system availability is used in determining when maintenance may be
performed. Definitely we think about time zones, schedules, and user location.
12 | P a g e
2.1.6. Performance
Performance details the way the system will perform for users. we Think
about:
2.1.7. Usability
2.1.8. Visibility
Visibility discusses how the system looks to user. Is it easy for them to see
the font, screens, reports, etc …
13 | P a g e
3.0. Analysis Model
3.1. Use case Diagram
Usecase diagram
view personal
for BPRMS
informaiton
Change account
request to transfer
regester prisoner
inforamtion
Priosner
request for notrans
Update prisoner
informaiton
Search prisoner
information
Inspector «uses»
Police
Delete priosoner
informaiton
View Job
Evaluate notrans
Assign Job
Recive request
Approve Request
Visitor
Reserve visting
Create user time online
14 | P a g e
Use case number USC1
Use case name View personal information
Actor Prisoner
Description: View personal information details
Actor Prisoner
Description: Send Transfer request for police officer
Precondition Prisoner should have LAN connection, and Prisoner should login to
the system.
15 | P a g e
Table 1: Describe View Personal Information
o Parent
o Advance education
6.The prisoner click on send o Court case
button o Health problem
o Year of Punishment
11.End use case
7.The system will check the filled
form
Precondition Prisoner should have LAN connection, and Prisoner should login to
the system.
16 | P a g e
11.End use case
8. The system will send the
request.
Precondition Police officer, system admin and inspector should have LAN connection,
and they should login to the system.
Basic course of
action User action System response
1. The system opens the user’s home
page.
Precondition Police officer, system admin and inspector should have LAN connection,
and they should login to the system.
Basic course of
action User action System response
1. The system opens the user’s home
2. The User click on Edit menu. page.
18 | P a g e
19 | P a g e
Alternative course of 11. If the searched result is not matched the system will loop
action back the user to step 6 and messaged that it couldn’t found
searched result.
20 | P a g e
21 | P a g e
Alternative course of 12.if the system doesn’t delete selected result the system will
action pop out message that the prisoner have pre request it to delete
and loopback to step 6
Actor Visitor
Description: Reserve visiting date and time online when the visitors will be need.
Precondition Visitors should have internet connection.
Basic course of action
User action System response
1. The user opens the visitor’s
home page. 3. The system will display an
available date and time form which
2. The visitor clicks on Reserve contain the following :-
online menu o Prisoner name
o Prisoner Id
4. The visitor fills the form o Date of Visiting
o Time of Visiting
5.The visitor clicks on reserve 6.The system will check the filled
button form
8.End use case
7. The system will check that the
prisoner Id is reserved by 10 visitors
or not.
8. The system will Check maximum
number of visitors per a day is full
or not
9.The system will displays successful
reservation message
Alternative course of 6.1. If the form is not filled correctly go back to step 4 of basic course
action of action.
7.1. If the prisoner has more than 10 visitors the system will display
the message that the prisoner already has maximum number of
visitor.
Table 8: Description for delete prisoner information
8.1. If the maximum number of visitors allowed per a day is full the
system will display the message that no reservation because the
22 | P a g e
system reached maximum number of visitors .
23 | P a g e
Use case number USC11
Use case name Create user
24 | P a g e
Use case number USC12
Use case name create backup and recovery
25 | P a g e
Use case number USC13
Use case name Login
26 | P a g e
Use case number USC14
Use case name Logout
27 | P a g e
Use case name Generate report
28 | P a g e
Actor Prisoner, Police officer, Police commission ,System admin,
Inspector(commander)
Description: Changing account when ever user wants to change due to many
problems.
Precondition Prisoner, Police officer, Police commission, System admin, Inspector
(commander) should have LAN connection, and users should login to the
system.
Actor Prisoner
29 | P a g e
Description: Taking attendance of prisoners using their finger print
Precondition Prisoner should have proper finger tip structure and he/she must
not be Handicapped
Alternative course of 4. If the prisoner finger tip is not match with that of tip on database
action the system will message out that he/she is not a prisoner.
4.1. If the prisoner is not take attendance within the given time
interval the system will recognize that the prisoner is missed so the
system will pop out warning message.
30 | P a g e
Precondition Police commission should have LAN connection, and Police
commission should login to the system.
32 | P a g e
and they should login to the system.
Basic course of
action User action System response
1. The system opens the user’s home
page.
2. The user click on Insert 4. The system will display job assignment
menu. form that contain the following :-
o Full name
3.The user clicks on Assign job o Prisoner ID
menu item o Room information
o Job title
5. The User fills job assignment o Year of Punishment
form o Personal Skill
o Personality
6.The user clicks on Assign
o Handicapped
button
o Normal
7.The system will check the filled form
11.End use case
8. The system will save the form on
database
Precondition Police officer, system admin and inspector should have LAN connection,
and they should login to the system.
33 | P a g e
Basic course of
action User action System response
1. The system opens the user’s home
page.
6.The user clicks on save button 9.The system will display successful
message
10.End use case
34 | P a g e
UC1-View personal information
Login
35 | P a g e
UC2- Send request to transfer
LOGIN
[incorrect]
Error message
[Correct]
Successfully sent
36 | P a g e
UC3 -Search prisnor information
LOGIN
[Incorrect]
error message
[Correct]
Seccessfuly searched
37 | P a g e
UC4-Request notran
Login
[incorrect]
error message
[correct]
Seccessfully sent
38 | P a g e
UC5-Registor prisnor information
Login
[incorrect]
error message
[correct]
39 | P a g e
UC6-Update prisnor information
Login
[incorrect]
error message
[correct]
40 | P a g e
UC7 -Delete prisnor information
LOGIN
Select or enter prisnor id Click on detaile prisnor information sub menu item
[INCORRECT]
Error message
[CORRECT]
Successfuly deleted
41 | P a g e
UC8 -Create backup and recovery
LOGIN
42 | P a g e
UC9 LOGIN
[Incorrect]
Error message
[Correct
]
Successfuly loged
43 | P a g e
UC10 -Chenge account
LOGIN
[CORRECT]
Successfuly chenged
44 | P a g e
UC11-Approve request
LOGIN
Click on ok button
45 | P a g e
UC12 -Punch in
46 | P a g e
UC13-View job
LOGIN
47 | P a g e
UC14-Assign job
LOGIN
[INCORRECT]
Error message
[CORRECT]
Successfully asigned
48 | P a g e
UC15-Evaluate notrans
LOGIN
49 | P a g e
UC16.Recieve transfer request
Login
50 | P a g e
UC17-LOGOUT
Logout
51 | P a g e
UC18.Reserve visiting date and time online
Login
[Incorrect]
error message
[Correct]
Successfully reserved
52 | P a g e
UC19.View visiting time and date
Login
53 | P a g e
UC20.Create user
Login
[Incorrect]
error message
[Correct]
Successfully created
54 | P a g e
UC21-Generate report
Login
[INCORRECT]
Error message
[CORRECT]
Successfully generated
55 | P a g e
3.3. Sequence Diagram
USC8 Delete Prisoner
Information
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
User Login page Home page Delete search box Prisner Table
Enters account
[ if not correct ] Retype
[ if correct ] open ():
clicks on ()
Fill search box + Click Search Button
Fetch data
Select + click on Delete button
Remove data
Click on log out Button
56 | P a g e
USC1 View Personal
Information
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
Personal Information
Prisnor Login page Home page Prisnor Table
Menu
Enters account
click ():
Fetch data
57 | P a g e
UC 1 View Job
Actor UI UI controller
Login page Home page Fill form DB
Instructor
Instructor
table
Enters account
Fetch data
Fill form and click submit button
58 | P a g e
Uc2: choose course
Enters account
[ If not correct]
[ If correct]
Back ();
Open ();
Clicks()on
Assign examiners
Save data
Click on log out Button
59 | P a g e
USC3 Request for notrans
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
Prisnor Login page Home page Request for Notrans form Request table
Enters account
[ if not correct ] open ():
[ if correct ] open ():
clicks on ()
Fill form
Save data
Click on log out Button
60 | P a g e
USC4 Register prisoner
information
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
Prisnor Login page Home page Registration form Prisnor table
Enters account
[ if not correct ] open ():
[ if correct ] open ():
clicks on ()
Fill form
Save data
Click on log out Button
61 | P a g e
USC5 Update prisoner
information
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
Prisnor Login page Home page Update form Prisnor table
Enters account
[ if not correct ] open ():
[ if correct ] open ():
clicks on ()
Fill form
Update data
Click on log out Button
62 | P a g e
USC6 Search prisoner
information
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
User Login page Home page Search prisoner Form Prisnor table
Enters account
[ if not correct ] open ():
[ if correct ] open ():
clicks on ()
Fill form + Click Search Button
Fetch data
Click on log out Button
63 | P a g e
USC11 Create User
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
User Login page Home page Create user form User Table
Enters account
[ if not correct ] Retype
[ if correct ] open ():
clicks on ()
Fill form + Click Create Button
Save data
Click on log out Button
64 | P a g e
USC18 Approve Request
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
User Login page Home page Inbox request Request table
Enters account
[ if not correct ] Retype
[ if correct ] open ():
clicks on ()
select from selection box+ Click Ok Button
Save data
Click on log out Button
65 | P a g e
USC21 Evaluate Notrance
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
Police commision Login page Home page Evaluate Form Request table
Enters account
[ if not correct ] Retype
[ if correct ] open ():
clicks on ()
Fill form + Click Accept/Reject Button
save data
Click on log out Button
66 | P a g e
USC20 Assign Job
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
User Login page Home page Assign form Job table
Enters account
[ if not correct ] Retype
[ if correct ] open ():
clicks on ()
Fill form + Click Set Button
[ If correct ] save data
[If not correct] opens()
67 | P a g e
USC7 Receive Request
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
User Login page Home page Request Report Request Table
Enters account
[ if not correct ] Retype
[ if correct ] open ():
clicks on ()
Fetch data
[ If Fetched ] Display on
Save data
Click on log out Button
68 | P a g e
USC10 View Visiting Time
<< Actor >> << UI >> << Controller>> << Entity >>
Open ():
Click on ():
Fetch data
Display Time and date
69 | P a g e
Request to transfer
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
Prisnor Login page Home page Transfer request form Request table
Enters account
[ if not correct ] open ():
[ if correct ] open ():
clicks on ()
Fill form + click on send button
Save data
Click on log out Button
70 | P a g e
USC15 Generate Report
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
User Login page Home page Report form Database
Enters account
[ if not correct ] open ():
[ if correct ] open ():
clicks on ()
Fill form + click on Generate button
Fetch data
Click on log out Button
71 | P a g e
USC16 Change account
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
User Login page Home page Change account User table
Enters account
[ if not correct ] open ():
[ if correct ] open ():
clicks on ()
Fill form + click on change button
[ If correct ] save data
72 | P a g e
USC12 Create Backup
and Recovery
<< Actor >> << UI >> << UI >> << Controller>> << Entity >>
User Login page Home page Create backup page Database
Enters account
[ if not correct ] open ():
[ if correct ] open ():
clicks on ()
click on Create button
Fetch data
Click on log out Button
73 | P a g e
Person
-Fname : string
-Lname : string
-ID : string
-Phone number : int
-Address : string
+View()
+Registor()
+Update()
+Delete()
+Assign_job()
+Generate_report()
Generate
1..*
Police Commissioner Prisnor 1..*
-Name : string Report -Fname : string
-Address : string -Type : string -Lname : string
1..*
-Phone number : int -Time : Date -Address : string
-Approve() -Send_request()
+View()
1..* 1..*
Generate
1
Visitor
1..* -Fname : string
-Lname : string
-Address : string Visits
+View()
-Reserve() 0..*
Reserve
Appointment
-Time : Date
1..* -Number : int
Class Diagram
74 | P a g e
Chapter 3
3.0. Design Phase
DEPLOYMENT DIAGRAM
User computer
WebServer
WebBrowser
Web interface layer
DataBase
Logic file
75 | P a g e
ARCHITACTURE DESIGN
ASP
Internet
Web Browser Database
Replay
Sql server
Database
System user
sql
Client
76 | P a g e
Mobile Office
Woreda
3.2. ER-diagram First _Name
Middle_ Name Salary
Telephone
Request
Last_ Name
Address Kebele
Name
Reserve_ no City
d Stuff
Visitor
Face_color
*
Police_id
Prison
Hair Visits
name
color O
Job _assign 1
Judge date
1 Police 1
Register * * *
Attendance
Police _commissioner
11 * *
Weight
Prisoner
* Evaluate 1
Height Assign_ job
Name of judge
court
Evaluate _type 1 1
Approve
Inspector
1
Police _commissioner_id
Inspector_id
Fname Mname Lnam Ag Wored Cit Kebel Pho Priso Appeal Name_ Judged Hair_ Color Wei
e e a y e ne n id reques judg_co _ color ght
no t rt date
77 | P a g e
3.1.1Mapping
Pisoner
Police
Fname Mname Lname Woreda City Kebele Phone Salary Age Police_id
no
INSPECTOR
Fname Mname Lname Woreda City Kebele Phone Salary Insp_id age
no
POLIC COMMISSIONER
VISITOR
Police_Commision_Approve_Inspector
Insp_id Polic_commision_id Fname Mname Lname Woreda City kebele Phone Salary Age
No
Assign_Job_police
Fnam Lname Mnam Insp_i Police_id Wored City Kebel Salary Ag Phon_no
e e d a e e
Assign_case
Fnam Lnam Mname Insp_i Police_id Wored Cit Kebele Salary Age Phon_no
e e d a y
78 | P a g e
Evaluate
Registor
Fname Mname Lnam Ag Wored Cit Kebel Pho Priso Police - Appeal Name_ Judged Hair_ Color Wei
e e a y e ne n id Id reques judg_co _ color ght
no t rt date
Job_assign
Fname Mname Lnam Ag Wored Cit Kebel Pho Priso Police - Appeal Name_ Judged Hair_ Color Wei
e e a y e ne n id Id reques judg_co _ color ght
no t rt date
Prisnor_request to_commissioner
Visiting
Fname Mname Lnam Ag Wored Cit Kebel Pho Priso Polic- Appeal Name_ Judged Hair_ Color Wei
e e a y e ne n id Comm reques judg_co _ color ght
no _Id t rt date
79 | P a g e
Sol Abel Abeb 32 Libo Adis 03 091 4255 Yes Amhara 1/5/02 Black Red 65
e kemke zem 8…. judg
m en 058 cort
444
…
Alex John Dad 28 Shuma bda 11 058 555 No Amhara 5/3/01 Red Red 45
mbo r 11… judg
091 cort
21…
Police
Fname Mname Lname Woreda City Kebele Phone no Salary Age Police_id
Fname Mname Lname Woreda City Kebele Phone no Salary Insp_id age
VISITOR
80 | P a g e
Maru Molla Amborkak Dtabor Dtabor 21 091832476 32
i 1
054328871
3
Melkam Abebe Yimer Dbirha Dbirha 07 053227354 11
u n n 6
091766534
2
Police_Commision_Approve_Inspector
Insp_id Polic_commision_id Fname Mname Lname Woreda City kebele Phone Salary Age
No
12489 4598pp Moges hagoes molla shumabo bahirdar 15 091245 3000 35
091533
Assign_Job_Police
Fnam Lnam Mname Insp_i Police_i Wored City Kebel Salar Ag Phon_n
e e d d a e y e o
henok kedir mohamme 78978 45987 hopital BD 10 2500 35 091233.
d R .
091821.
.
Assign_Job_Police
Fnam Lnam Mname Insp_i Police_id Wored City Kebele Salary Age Phon_no
e e d a
Mikiel tegaw behilu 59877 98756 gebeya BD 08 5000 30 091256..
R 091359..
Assign_case
Fnam Lnam Mname Insp_i Police_i Wored City Kebel Salar Ag Phon_n
e e d d a e y e o
81 | P a g e
Evaluate
Fname Mnam Lname Ag Wore City Kebel Pho Priso Police - Appeal Name_ Judged Hair_ Color Wei
e e da e ne n id Id reques judg_co _ color ght
no t t date
Miki Tesga Kebret 36 shum BDR 05 091 5689 8987 yes Bahirda 12/06/ Black Black 60K
w b 256. 7 r semi 02
. cort
091
515.
.
Register
Job_assign
Visits
Fname Mname Lnam Ag Wored Cit Kebel Pho Priso Police - Appeal Name_ Judged Hair_ Color Wei
e e a y e ne n id Id reques judg_co _ color ght
no t rt date
Sol Kiya Alem 32 Mango
091 BD 21 2222 1111 Yes www 12/11/ black red 65
u 1… R 05
091
6….
Fname Mname Lnam Ag Wored Cit Kebel Pho PrisoPolic- Appeal Name_ Judged Hair_ Color Wei
Prisnor_ide Fname
e a y
Mname e ne
Lname n id Comm
Phone_No reques judg_co _ color ght
no _Id t rt date
Worku
2344
Alemu Kebe
Habtam
32
Meky
pedda bdr 11
Kebede
091
0911..
223 2211 yes aaa 11/2/0 Black Black 45
de 8.. 0958.. 5
091
5..
Prisnor_request to_commissioner
82 | P a g e
3.1.1.2. FIRST NORMAL FORM
PRISONE
Police
Prisoner Fnam Mna Lna Ag Wore City Kebel Phon Appeal Name_ Judged Hair_ Color Wei
id e me me e da e e no reques judg_co _ color ght
t rt date
4255 Sol Abel Abe 32 Libo Addis 03 0918 Yes Amhara 1/5/02 Black Red 65
be kemk zeme …. judg
em n … cort
4255 Sol Abel Abe Libo Adis 03 0584 Yes Kuara 2/2/03 Black Black 75
be kemk zeme 44….
em n
555 Alex Joh Dad 28 Shum bdar 11 0581 No Amhara 5/3/01 Red Red 45
n ambo 1… judg
cort
555 Alex Joh Dad 28 Shum bdar 11 0912 No Amhara 5/3/01 Red Red 45
n ambo 1… judg
cort
Police_ Fnam Mnam Lname Wored City Kebele Phone no Salary Age
id e e a
412 Yared Behail Worku Mango Bdar 08 0911454326 4500 34
u
412 Yared Behail Worku Mango Bdar 08 0582123873 34
u
313 Yishak Belay Getachew Kuriftu Gonda 12 0581112233 5100 43
r
313 Yishak Belay Getachew Kuriftu Gonda 12 0913127763 5100 43
r
INSPECTOR
Insp_i Fnam Mnam Lnam Woreda City Kebel Phone no Salary age
83 | P a g e
d e e e e
715 Sisay Belete Alemu Mango Bdar 12 091870325 7500 54
6
POLIC COMMISSIONER
Commisio Fname Mname Lname Wereda City Kebele Phone no Salary Age
ner_id
421 Henok wodwoesen Maru Bole Addis 25 0581214438 7500 34
Police_Commision_Approve_Inspector
84 | P a g e
Insp_id Polic_commision_id Fname Mname Lname Woreda City kebele Phone Salary Age
No
12489 4598pp Moges hagoes molla shumabo bahirdar 15 091245 3000 35
Assign_Job_Police
Insp_i Police_i Fnam Lnam Mname Wored City Kebel Salar Ag Phon_n
d d e e a e y e o
78978 45987 henok kedir mohamme hopital BD 10 2500 35 091233..
d R
78978 45987 henok kedir mohamme hopital BD 10 2500 35 091821..
d R
Assign_case
Insp_i Police_i Fnam Lnam Mname Woreda City Kebel Salar Ag Phon_n
d d e e e y e o
Evaluate
Job_Assign
Prison Police Fname Mnam Lname Ag Wore City Kebel Pho Appeal Name_ Judged Hair_ Color Wei
id Id e e da e ne reques judg_co _ color ght
no t t date
56897 8987 Miki Tesga Kebret 36 shum BDR 05 091 yes Bahirdar 12/06/ Black Black 60K
w b 256. semi 02
. cort
..
56897 8987 Miki Tesga Kebret 36 shum BDR 05 091 yes Bahirdar 12/06/ Black Black 60K
w b 515 semi 02
cort
Prison Police - Fname Mname Lnam Ag Wored Cit Kebel Pho Appeal Name_ Judged Hair_ Color Wei
id Id e e a y e ne reques judg_co _ color ght
no t rt date
2222 1111 Sol Kiya Alem 32 Mango BD 21 091 Yes www 12/11/ black red 65
u R 1… 05
2222 1111 Sol Kiya Alem 32 Mango BD 21 091 Yes www 12/11/ black red 65
u R 6…. 05
Visiting
Prisoner_ Request_to_Commisinor
86 | P a g e
Prison Polic- Fname Mname Lnam Ag Wored Cit Kebel Pho Appeal Name_ Judged Hair_ Color Wei
id Comm e e a y e ne reques judg_co _ color ght
_Id no t rt date
223 2211 Worku Alemu Kebe 32 pedda bdr 11 091 yes aaa 11/2/0 Black Black 45
de 8.. 5
223 2211 Worku Alemu Kebe 32 pedda bdr 091 yes aaa 11/2/0 Black Black 45
de 5.. 5
4255 Sol Abel Abe 32 Libo Addis 03 0918 Yes Amhara 1/5/02 Black Red 65
be kemk zeme …. judg
em n … cort
555 Alex Joh Dad 28 Shum bdar 11 0581 No Amhara 5/3/01 Red Red 45
n ambo 1… judg
cort
PRISONER
Police
Police_id Fname Mname Lname Woreda City Kebele Phone no Salary Age
87 | P a g e
INSPECTOR
Insp_i Fnam Mnam Lnam Woreda City Kebel Phone no Salary age
d e e e e
715 Sisay Belete Alemu Mango Bdar 12 058334321 7500 54
2
POLIC COMMISSIONER
Commisio Fname Mname Lname Wereda City Kebele Phone no Salary Age
ner_id
421 Henok wodwoesen Maru Bole Addis 25 0918734652 7500 34
415 Helaw Behailu Kibret Jijiga Jijiga 0123265411 9900 28
e
Police_Commision_Approve_Inspector
Polic_commision_id Fname Mname Lname Woreda City kebele Phone Salary Age
No
4598pp Moges hagoes molla shumabo bahirdar 15 091245 3000 35
Inspector_commissioner
Insp_id Polic_commisioner
88 | P a g e
_id
12489 4598pp
Police_i Fnam Lnam Mname Wored City Kebele Salar Age Phon_no
d e e a y
45987 henok kedir mohamme hopital BD 10 2500 35 091233..
d R
Assign_Job_Police
Inspector_police
Insp_id Police_id
78978 45987
Evaluate
Prisnor_Police
Prisnor_id Police_id
124987 48733
Prisnor_police
Prison Fname Mnam Lname Ag Wore City Kebel Pho Appeal Name_ Judged Hair_ Color Wei
id e e da e ne request judg_cot _ color ght
no date
56897 Miki Tesgaw Kebret 36 shum BDR 05 091 yes Bahirdar 12/06/ Black Black 60K
b 256. semi 02
. cort
..
89 | P a g e
Register
Prison id Police Id
Prison_police
2222 1111
Prison Fname Mname Lnam Ag Wored Cit Kebel Pho Appeal Name_ Judged Hair_ Color Wei
id e e a y e ne request judg_cor _ color ght
no t date
2222 Sol Kiya Alem 32 Mango BD 21 091 Yes www 12/11/ black red 65
u R 6…. 05
Job_assign
Prison id Police Id
56897 8987
Visites
Prisnor_request to_commissioner
Prison Fname Mname Lnam Ag Wored Cit Kebel Pho Appeal Name_ Judged Hair_ Color Wei
id e e a y e ne request judg_cor _ color ght
no t date
223 Worku Alemu Kebe 32 Pedda bdr 11 091 yes aaa 11/2/0 Black Black 45
de 8.. 5
90 | P a g e
Prisnor_commissioner
Prison id Polic-Comm_Id
223 2211
91 | P a g e
3.2.2. Home Page
92 | P a g e
3.2.3. View personal information page
93 | P a g e
94 | P a g e
3.2.3. Registration form
95 | P a g e
3.2.4. Request Form
96 | P a g e
3.2.5.Job assign
97 | P a g e
3.3. Algorism design
3.3.1. PSEUDO CODE FOR LOGIN
Step
Begin
End if
Else user is not logged in, gets view privilege only checking
End if
End if
Else user is not logged in, gets view privileges only –try to delete cookie
End if
END
98 | P a g e
3.3.2. PSEUDO CODE FOR LOGOUT
Step
Begin
End
Begin
Display First name, Middle name, Last name, Height, Face Color, year of
panishment …from database
End if
Otherwise
Display
End if
END
Step
99 | P a g e
Begin
If prisoner open prisoners’ home page and click on request menu item
transfer sub menu item
End if
END
Begin
If prisoner open prisoners’ home page and click on request menu item
and notans sub menu item
End if
END
Step
Begin
100 | P a g e
If prisoner put his/her finger tip on the finger tip reader machine
End if
END
Step
Begin
Display error message and back to the form to reenter the data’s
End if
END
Step
Begin
101 | P a g e
Variables: - prisoner Id, Full name, hair color, jugged court, investigator
police ,crime case, year of punishment …
Display error message and back to the form to reenter the data’s
End if
END
Step
Begin
Variables: - prisoner Id, Full name, notrans case, date of applicant, police offcer
name,evaluation criteria …
Display error message and back to the form to reenter the data’s
End if
END
Begin
102 | P a g e
Variables: - password, username, year, prisoner ID
Display First name, Middle name, Last name, Height, Face Color, year of
panishment …from database
End if
Otherwise
Display
End if
END
Begin
Variables: - date of visiting, time of visiting, prisoner Id, Visitor name, phone no
…
Read date of visiting, time of visiting, prisoner Id, Visitor name, phone no
register on database
End if
Otherwise
Display
End if
END
103 | P a g e
4.0. Bibilograpghy
104 | P a g e