Professional Documents
Culture Documents
1) INTRODUCTION
By developing this “PUNJAB POLICE” project named as “CRIME
CRIMINAL INFORMATION SYSTEM”, we tried to remove all the
drawbacks in the existing system.
The I .Os’ guide the concise material about this project discussed
later in this, illustrates the new crime classification to be used by the I.Os’ in
investigating crimes and catching criminals. This project enlarges the
information to what is applicable in the current day scenario.
The computers have been set up at the districts only to assist the I.Os’ to
keep relevant information of all crimes reported without exception so that
the legal/professional/statistical requirements are met by one time activity of
investigation thereby saving their valuable time. The same computer will
make it easy to access information relating to neighboring PS/District/State
also.
So, the new CRIME CRIMINAL INFORMATION SYSTEM
representing the above steps, thus, marks a departure from the old
information order to a new one and, above all providing a very good
interface to interact with the database and at the same time handling any
kind of problem relating to database. In existing systems, data is arranged
manually in paper work mostly in files. There are many drawbacks in
existing system that we had tried to eliminate. We have provided the user
with great flexibility to handle the database efficiently and respond to any
query of the I.Os’ within no time. Its user-friendly interface provides a nice
environment for the operator to work with. There is online help available by
which a new operator can know anything about the project or an old operator
can take help on any topic related to the project.
The existing system is totally manual and involves a lot of paper work.
The present system of information keeping on,
Data Isolation
Security problem
Not every user of the database system should be able to
access all the data .e.g. in the stock register, if an unauthorized
person change the general dairy details of the PS then it will create
a problem. Thus our existing system is not safe.
Atomicity Problem
Behavior infeasibility
The proposed system is being designed so that the working of the Police
department will be faster, easier and to be more reliable and informative.
System being designed is less time consuming than the existing system.
Proposed system is very time efficient than existing system which speed
up to work.
It is less expensive system then the existing system because paper work
has reduced.
Now let us have look at the advantages which can accrued from the
computerization. The applications of computers in PS have enormous
advantages. Some of the advantages of computerization are enumerated as
below:
The system has been working for three months and is working very well.
There is no complaint about the system from the department working on this
project. The system efficiently handles the record keeping. It efficiently
stores the information about the criminals, suspect, accused, victims, place
of occurrence of crime etc. This system generates the report whatever the
officer(s) want. In this system we can store all the information regarding
police employees such as their ranks, designation, belt number and the salary
paid to each employee. Selecting any field automatically fills the code of
that field.
The system developed is so flexible that any future change will reflect
without any interruption for e.g. if a new district is added, it can be done
very easily. Similarly, if an existing district needs to be changed or
removed, then it can also be done very easily and efficiently. The system
can be developed further. First of all, it must be optimized further made
faster and even user friendlier. The amount of the extra work for users
should be close to zero, which requires further automation of status
reporting. Users should be able to enter information about why
information delayed to give information about crime. There is strong
need for the ability to create customized report and search through the
production database. The system could be further upgraded to provide
facilities for accounting department, i.e. it could provide assistance in
financial accounting to department.
3) IDENTIFICATION OF NEED
It is interactive.
It is menu driven.
It is user friendly.
It is reliable.
It is fast and accurate.
4) STATEMENT OF COMPLETENESS
Hardware considerations:
CPU
Type Specification
Processor Pentium II or up
Speed 266 MHz or more
RAM 128 MB or more
Cache 512 KB or more
PERIPHERALS
Type Specification
Monitor VGA Color
Mouse Any
Keyboard Any
Printer Color
Scanner Any
STORAGE MEDIA
Type Specification
Hard Disk 10 GB or more
SOFTWARE Considerations:
6) DEVELOPMENT TOOLS
The tools used in the project are oracle 8i and visual basic. Oracle 8i is used
for the databases used in the project & visual basic is used to prepare all the
forms used in the project.
6.1) ORACLE 8i
INTRODUCTION OF ORACLE 8 i :
ORACLE 8i, the database for Internet computing,
changes the way information is managed and accessed to meet
the demands of the Internet age, while providing significant
new features for traditional online transaction processing
(OLTP) and data warehouse applications. It provides advanced
tools to manage all types of data in Web sites, but it also
delivers the performance, scalability, and availability needed to
support very large database (VLDB) and mission-critical
applications.
Versions of Oracle 8 i :
Improved scalability
Advanced Queuing
Manageable Security
FEATURES OF ORACLE 8i
1. Security mechanisms.
2. Backup and recovery.
3. Space management.
4. Open connectivity.
5. Development tools.
1. Security Mechanisms
Once the oracle engine is running, the security manager tool can be
used by the dba (database administrator) to create user accounts and grant
permission to the user accounts. Creation of user account will provide users
with: -
Login identity.
A password.
Permission to use oracle resources.
The login identity and the password will allow a user to connect to
the oracle database. Once connected to the oracle database, a user can create
or use the oracle resources like tables, views etc. Depending on the
permissions granted by the dba (database administrator).
3. Space management
4. Open connectivity
Using add-ons to the oracle database, you can work with information that
resides in other data repositories, such as IBM’s db2, Sybase, or Microsoft
access. As well, you are permitted to store your data in oracle’s database and
access it from other software, such as Microsoft visual basic, powerboat’s
power builder, and gupta’s sql* windows.
5. Development tools
the oracle server, commonly referred to as the database engine,
supports a wide range of the development tools, end- user query tools, off-
the-self applications, and office-wide information management tools.
Oracle tools
Oracle server:
The oracle server is a program that produces the most widely used
server based multi-user RDBMS. In the oracle server’s hard disk drive this
program must be loaded in ram so that it can process user request.
The oracle server product is either called:
Oracle workgroup server
Or
Oracle enterprise server
For commercial application development user first log in to the server and
uses various tools for application development. Most important of them is
sql*plus tool.
Interactive sql:
Interactive sql is designed to create, access and maintain all
structures like tables, indexes and etc. It can also be used for interactive data
manipulations.
Pl/sql:
Programmers can use pl/sql to create programs for validation
and manipulation of table data. Pl/sql adds to the power of interactive sql
and provides the user with all the facility of a standard, modern day
programming environment. Via pl/sql the user cannot manipulate data but
also can use procedural techniques such as writing loops or branching to
another block of code.
SQL Statements
SELECT ename
Querying data
Oracle Datatypes:
SQL>
When you want to quit working and leave SQL Plus, type this:
Quit
SQL Functions:
SQL Functions
User-Defined Functions
SQL Functions:
SQL functions are built into Oracle and are available for use in
various appropriate SQL statements. If you call a SQL function
with an argument of a data type other than the data type
expected by the SQL function, Oracle implicitly converts the
argument to the expected data type before performing the SQL
function.
Number Functions:
Character Functions:
Date Functions:
Conversion Functions:
Interactive Development
The traditional application development process can be
broken into three distinct steps: writing, compiling, and testing code. Unlike
traditional languages, Visual Basic uses an interactive approach to
development, blurring the distinction between the three steps.
MANAGING PROJECTS
After all of the components in a project have been assembled and the code
written, you compile your project to create an executable file.
One binary data file for each form containing data for properties of controls
on the form (. frx). These files are not editable and are automatically
generated for any .frm file that contains binary properties, such as Picture or
Icon.
The project file is simply a list of all the files and objects associated with the
project, as well as information on the environment options you set. This
information is updated every time you save the project. All of the files and
objects can be shared by other projects as well.
When you have completed all the files for a project, you can convert the
project into an executable file (. exe): From the File menu, choose the Make
project.exe command.
Each time you save a project, Visual Basic updates the project
file (. vbp). A project file contains the same list of files that appears in the
Project Explorer window, as well as references to the ActiveX controls and
insert able objects that are used in the project.
Form Modules
Class Modules
Standard Modules
Resource Files
ActiveX Documents
User Control (. ctl) and Property Page (. pag) modules are also
similar to forms, but are used to create ActiveX controls and their associated
property pages for displaying design-time properties. The Professional and
Enterprise editions of Visual Basic are capable of creating ActiveX controls.
Components
ActiveX Controls
a wide variety of sources. You can also create your own controls using the
Professional or Enterprise editions of Visual Basic.
Insertable Objects
References
ActiveX Designers
Standard Controls
Four commands on the File menu allow you to create, open, and save
projects.
Click the Add Project button on the Toolbar or choose Add Project
from the File menu.In Visual Basic, Learning edition, Visual Basic
automatically adds a new executable project to the project group. In
the Professional and Enterprise editions, you can select the type of
project you want to add from the popup menu of the Add Project
button, or the icons displayed in the new tab of the Add Project
dialog box.
1. From the File menu, choose Add Project. Visual Basic displays the Add
Project dialog box.
Visual Basic removes the selected project from the project group.
In the Professional and Enterprise editions of Visual Basic, you can change
the type of a project by selecting the Project Properties command on the
Project menu, then changing the Project Type option on the General tab in
the Project Properties dialog box.
2. Click the right mouse button and select Set as Start Up from the
context menu.
Visual Basic displays the startup project's name in bold type in the
Project window.
You can add ActiveX controls and Insertable objects to your project by
adding them to the toolbox.
You can also use objects from other applications, such as those
included in the Microsoft Excel object library, either as controls in the
toolbox or as programmable objects in your code.
To make another application's objects available in your code,
but not as controls, set a reference to that application's object library.
2 Select the check box next to each reference you want to add to your
project. To add references to applications not listed in the References
dialog box, choose the Browse button, and then select the application.
Once you have set references to the object libraries you want
you can find a specific object and its methods and properties in the Object
Browser by choosing Object Browser from the View menu. You can use any
object listed in the Object Browser in your code.
A single project can have only one resource file; if you add a
second file with a .res extension, an error occurs.
The following table describes some of the options you can set.
Option Description
The first form that Visual Basic displays at run time,
Startup Object
or Sub Main ().
Identifies the project in code. It can't contain periods
(.), spaces, or start with a nonalphabetic character.
Project Name
For a public class name, the project name and class
name cannot exceed a total of 37 characters.
The name of the Help file associated with the
Help File
project.
The context ID for the specific Help topic to be
called when the user selects the "?" button while the
Project Help Context ID
application's object library is selected in the Object
Browser.
A user-friendly name for the project. Displayed in
Project Description
the References and Object Browser dialog boxes.
some of the more advanced options, you can find more information by
searching Help.
Designing a Form
The Name property sets the name by which you will refer to
the form in code. By default, when a form is first added to a project, its name
is set to Form1, Form2, and so forth. It's a good idea to set the Name
property to something more meaningful, such as "frm Entry" for an order
entry form.
The best way to familiarize you with the many form properties
is to experiment. Change some of the properties of a form in the Properties
window, then run the application to see their effect. You can learn more
about each property by selecting it and pressing F1 to view the context-
sensitive Help.
highlight the text in a particular text box; in the Deactivate event you might
save changes to a file or database.
Additional Controls
The Data List control is similar to the list box control. When used in
conjunction with an ADO Data control, it can be automatically filled
with a list of data from a field in an external database.
The Data Combo control is like a combination of the Data List control
and a text box. The selected text in the text box portion can be edited,
with the changes appearing in the underlying database.
The Data Grid control displays data in a grid or table. When used in
conjunction with an ADO Data control, it presents fully editable data
from multiple fields in an external database.
The Drive List Box control looks like a combo box. It provides a
drop-down list of drives from which the user can select.
The Dir. List Box is similar to a list box control, but with the built-in
capability of displaying a list of directories in the currently selected
drive.
The File List Box control also looks like a list box with a list of file
names in a selected directory.
Miscellaneous Controls
Several other standard controls are included in Visual Basic. Each serves a
unique purpose.
Menu Basics
The menu bar appears immediately below the title bar on the
form and contains one or more menu titles. When you click a menu title
(such as File), a menu containing a list of menu items drops down. Menu
items can include commands (such as New and Exit), separator bars, and
submenu titles. Each menu item the user sees corresponds to a menu control
you define in the Menu Editor .
Pop-up Menus
With the Menu Editor, you can add new commands to existing
menus, replace existing menu commands with your own commands, create
new menus and menu bars, and change and delete existing menus and menu
bars. The main advantage of the Menu Editor is its ease of use. You can
customize menus in a completely interactive manner that involves very little
programming.
8) SYSTEM ANALYSIS
Analysis Issues:
As analysis is the activity that feeds information to the
specification activity; it is essential that during analysis a complete and
consistent set of specifications emerge for the system. For achieving this, the
first major problem is to obtain the necessary information. Generally, during
analysis, a massive amount of information is collected in the form of
answers to questions, questionnaires, and information from documentation,
ideas, and so forth.
Informal Approach:
The informal approach to analysis is one where no defined
methodology is used. Like in any approach, the information about the
system is obtained by interaction with the client, end users, questionnaires,
study of existing documents, brainstorming etc. Frequently ion such an
approach the analyst will have a series of meetings with the client and end
users. In the early meetings, the client and the end users will explain to the
analyst about their work, their environment, and their need as they perceive
them. The informal approach to analysis is used widely and can be quite
useful. The reason for its usefulness is that conceptually modeling-based
approaches frequently don’t model all aspects of the problem and are not
always well suited for all the problems.
Structured Analysis:
The structured analysis technique uses function based
decomposition while modeling the problem. It focuses on the function
performed in the problem domain and the data consumed and produced by
these functions. It is a top-down refinement approach, which was originally
called structured analysis.
Data dictionary:
9) FEASIBILITY STUDY
QUESTIONNARIES
Online observation involves the interaction of the analyst with the clients
and the users. In this approach we had a series of meetings with the Rama
madam and staff employees in the S.S.P Office of Jalandhar city. In the early
meetings, they explained to us about their work, their environment and their
needs as they perceive them. In those and early meetings we were basically
listeners, absorbing the information provided. Once we understood the
system to some extent, we use the next few meetings to seek clarifications of
the parts we had not understood. In the final meeting, we explain to them
what we understood the system should do and use the meetings as a means
of verifying if what we proposed the system should do is indeed consistent
with the objective of their department.
DFD SYMBOLS
DFDs describe what data flow i.e. logical data flow rather how they are
processed,
And so it does not depend on hardware, software, data structures or file
organization.
Constructing a DFD
2. The direction of the flow if from top to bottom and from left to
right. Data traditionally flow from source (upper left corner) to the
4. The names of the data stores, sources, and destinations are written
in the capital letters. Process and dataflow names have the first
letter of each word capitalized.
1.)
2.)
3.)