Академический Документы
Профессиональный Документы
Культура Документы
On
Criminal Record
Submitted to
Amity University, Uttar Pradesh
I, Sagar Verma, student of B.Tech(CSE) hereby declare that the project titled “Criminal
Record” which is submitted by me to the Department of ASET, Amity University Uttar
Pradesh, Noida , in partial fulfillment of requirements for the award of the degree of
Bachelor of Technology in Computer Science , has not been previously formed the basis for
the award of any degree , diploma or other similar title or recognition.
The Author attests the permission has been obtained for the use of any copy righted
material appearing in the Dissertation/Project report other than brief excerpts requiring only
proper acknowledgement in scholarly writing and all such use is acknowledged.
Noida
2|Page
CRIMINAL RECORD
This is to certify that Mr. Sagar Verma, student of B.Tech. in CSE has carried out the work
presented in the project of the In-house Project entitle “Criminal Record” as a part of Bachelor
of Technology in Computer Science from Amity School Of Engineering and Technology,
Amity University, Noida, Uttar Pradesh under my supervision.
3|Page
CRIMINAL RECORD
ACKNOWLEDGEMENT
It would be inadequate by saying a ‘word of thanks’ for those people who have been helpful in
the making of this project. Therefore, as a token of my appreciation, I have used the name of all
those great people, without whom this project would have been a dream.
At the very beginning, I would express my deep sense of gratitude and respect for my mentor at
Amity University, Mr. Kunal Gupta. He is so kind to give me the instructions and the
infrastructure required to do this project. He has been my idol of inspiration and a source of
motivation. I would also like to thank my Program Leader, Mrs. Divya Upadhyay for guiding
and helping me in the completion of this project.
I am totally indebted to H.O.D of C.S. department Dr. Abhay Bansal for giving me the
assistances of university infrastructure.
4|Page
CRIMINAL RECORD
Abstract
This project named CRIMINAL RECORDS is prepared to store records of criminals. It is
created keeping in mind the requirement of the police force to maintain proper and timely
records of all the criminals.
A criminal record or police record is a record of a person's criminal history, generally used by
potential employers, lenders etc. to assess his or her trustworthiness. The information included in
a criminal record and the existence of a criminal record varies between countries and even
between jurisdictions within a country. In most cases it lists all no expunged criminal offences
and may also include traffic offences such as speeding and drunk driving. In some countries the
record is limited to actual convictions (where the individual has pleaded guilty or been declared
guilty by a qualified court), while in others it also includes arrests, charges dismissed, charges
pending and charges of which the individual has been acquitted.
Judicial data on criminal offences are kept for 30 years (Netherlands) after the criminal
sentence has become irrevocable. Extensions can occur for non-suspended prison sentences,
mental hospital orders and youth detention. Data involving Minor offences are stored until five
years after the irrevocable settlement of the case – extended to ten years if the individual was
sentenced to prison or community service. 80 years (Netherlands) after the birth of the
individual, all data is removed.
To make this CRIMINAL RECORD program I studied the concepts of C++ deeply and using
them I made this program, in Turbo C++ 4.0.
5|Page
CRIMINAL RECORD
Table of Contents
i. Declaration by Student…….…………………………………………..2
iii. Acknowledgment……………………………………………………...4
iv. Abstract…………………………………………………….…………..5
1. Introduction………………………………………………………………..7
2. Materials and Method……………………………………………………..8
a. System Requirements
b. About Programming Language
c. Features
d. History of C++
3. Design and Implementation……………………………………………….14
a. Project Description
b. Header Files Used
4. Results and Discussion…………………………………………………….15
a. Output
b. Classes Used
c. Functions Used
5. Conclusion and Future Scope……..………………………………………..23
6. References………………………………………………………………….24
6|Page
CRIMINAL RECORD
CHAPTER-1 Introduction
This anticipates named CRIMINAL RECORDS is set up to store records of crooks. It is made
remembering the prerequisite of the police power to keep up appropriate and convenient records
of the considerable number of culprits.
A criminal record or police record is a record of a man's criminal history, for the most part
utilized by potential bosses, banks and so forth to evaluate his or her dependability. The data
incorporated into a criminal record and the presence of a criminal record shifts amongst nations
and even between locales inside a nation. Much of the time it records all no erased criminal
offenses and may likewise incorporate activity offenses, for example, speeding and intoxicated
driving. In a few nations the record is constrained to genuine feelings (where the individual has
confessed or been pronounced liable by a qualified court), while in others it additionally
incorporates captures, charges released, charges pending and charges of which the individual has
been absolved.
With this project it is intended to make criminal records effectively and keep them ok for a more
drawn out timeframe and anytime of time every one of the information can be remembered from
the database.
The login highlight in it makes it more secure and safe. Other than anytime of time subtle
elements can be altered and criminal profiles can be checked by the criminal code and criminal
name.
7|Page
CRIMINAL RECORD
1. Technology Used:-
Language- C++
Concept- OOPS
a) OOPS:-
8|Page
CRIMINAL RECORD
Features:-
Object-oriented programming uses objects, but not all of the associated techniques and
structures are supported directly in languages which claim to support OOP. The features listed
below are, however, common among languages considered strongly class- and object-oriented
(or multi-paradigm with OOP support), with notable exceptions mentioned.
• Variables which can store information formatted in a small number of built-in data
types like integers and alpha numeric characters. This may include data
structures like strings, lists and hash tables that are either built-in or result from combining
variables using memory pointers
• Procedures – also known as functions, methods, routines, or subroutines – that take input,
generate output, and manipulate data. Modern languages include structured
programming constructs like loops and conditionals.
• Classes – the definitions for the data format and available procedures for a given type or
class of object; may also contain data and procedures (known as class methods) themselves.
i.e. Classes contains the data members and member functions.
• Objects – instances of classes
Objects sometimes correspond to things found in the real world. For example, a graphics
program may have objects such as circle, square, menu. An online shopping system might have
objects such as shopping cart, customer and product. Sometimes objects represent more
abstract entities, like an object that represents an open file, or an object which provides the
service of translating measurements from U.S. customary to metric.”
Each object is said to be an instance of a particular class (for example, an object with its name
field set to Mary might be an instance of class Employee). Procedures in object-oriented
programming are known as methods; variables are also known as fields, members, attributes, or
properties.
9|Page
CRIMINAL RECORD
• Class variables – belong to the class as a whole; there is only one copy of each one
• Instance variables or attributes – data that belongs to individual objects; every object has its
own copy of each one
• Member variables – refers to both the class and instance variables that are defined by a
particular class
• Class methods – belong to the class as a whole and have access only to class variables and
inputs from the procedure call
• Instance methods – belong to individual objects, and have access to instance variables for the
specific object they are called on, inputs, and class variables
Objects are accessed somewhat like variables with complex internal structure, and in many
languages are effectively pointers, serving as actual references to a single instance of said object
in memory within a heap or stack. They provide a layer of abstraction which can be used to
separate internal from external code. External code can use an object by calling a specific
instance method with a certain set of input parameters, read an instance variable, or write to an
instance variable. Objects are created by calling a special type of method in the class known as
a constructor. A program may create many instances of the same class as it runs, which operate
independently. This is an easy way for the same procedures to be used on different sets of data.
Object-oriented programming that uses classes is sometimes called class-based programming,
while prototype-based programming does not typically use classes. As a result, a significantly
different yet analogous terminology is used to define the concepts of object and instance.
In some languages classes and objects can be composed using other concepts
like traits and mixings.
3. Message passing
It is the responsibility of the object, not any external code, to select the procedural code to
execute in response to a method call, typically by looking up the method at run time in a table
associated with the object. This feature is known as dynamic dispatch, and distinguishes an
object from an abstract data type (or module), which has a fixed (static) implementation of the
operations for all instances. If there are multiple methods that might be run for a given name, it is
known as multiple dispatches.
A method call is also known as message passing. It is conceptualized as a message (the name of
the method and its input parameters) is passed to the object for dispatch.
10 | P a g e
CRIMINAL RECORD
4. Encapsulation
If a class does not allow calling code from accessing internal object data and forces access
through methods only, this is a strong form of abstraction or information hiding known
as encapsulation. Some languages (Java, for example) let classes enforce access restrictions
explicitly, for example denoting internal data with the private keyword and designating methods
intended for use by code outside the class with the public keyword. Methods may also be
designed public, private, or intermediate levels such as protected (which typically allows access
from other objects of the same class, but not objects of a different class). In other languages (like
Python) this is enforced only by convention (for example, private methods may have names that
start with an underscore). Encapsulation prevents external code from being concerned with the
internal workings of an object. This facilitates code refactoring, for example allowing the author
of the class to change how objects of that class represent their data internally without changing
any external code (as long as public method calls work the same way). It also encourages
programmers to put all the code that is concerned with a certain set of data in the same class,
which organizes it for easy comprehension by other programmers. Encapsulation is a technique
that encourages decoupling.
11 | P a g e
CRIMINAL RECORD
6. Polymorphism
Subtyping, a form of polymorphism is when calling code can be agnostic as to whether an object
belongs to a parent class or one of its descendants. For example, a function might call
make_full_name() on an object, which will work whether the object is of class Person or class
Employee. This is another type of abstraction which simplifies code external to the class
hierarchy and enables strong separation of concerns.
7. Open recursion
In languages that support open recursion, object methods can call other methods on the same
object (including themselves), typically using a special variable or keyword called this or self .
This variable is late-bound; it allows a method defined in one class to invoke another method
that is defined later, in some subclass thereof.
b) C++:
12 | P a g e
CRIMINAL RECORD
History Of C++
In 1979, Bjarne Stroustrup, a Danish computer scientist, began work on the predecessor to C++,
C with Classes. The motivation for creating a new language originated from Stroustrup's
experience in programming for his Ph.D. thesis. Stroustrup found that Simula had features that
were very helpful for large software development, but the language was too slow for practical
use, while BCPL was fast but too low-level to be suitable for large software development. When
Stroustrup started working in AT&T Bell Labs, he had the problem of analyzing
the UNIX kernel with respect to distributed computing. Remembering his Ph.D. experience,
Stroustrup set out to enhance the Language with Simulate-like features. C was chosen because it
was general-purpose, fast, portable and widely used. As well as C and Simula's influences, other
languages also influenced C++, including ALGOL 68, Ada, CLU and ML.
Initially, Stroustrup's C with Classes added features to the C compiler, Core,
including classes, derived classes, strong typing, in lining and default arguments.
In 1983, C with Classes was renamed to C++ , adding new features that included virtual
functions, function name and operator overloading, references, constants, type-safe free-store
memory allocation (new/delete), improved type checking, and BCPL style single-line comments
with two forward slashes ( // ). Furthermore, it included the development of a standalone
compiler for C++, Cfront.
In 1985, the first edition of The C++ Programming Language was released, which became the
definitive reference for the language, as there was not yet an official standard.The first
commercial implementation of C++ was released in October of the same year.
In 1989, C++ 2.0 was released, followed by the updated second edition of The C++
Programming Language in 1991. New features in 2.0 included multiple inheritance, abstract
classes, static member functions, const member functions, and protected members. In 1990, The
Annotated C++ Reference Manual was published. This work became the basis for the future
standard. Later feature additions included templates, exceptions, namespaces, new casts, and
a boolean type.
After the 2.0 update, C++ evolved relatively slowly until, in 2011, the C++11 standards was
released, adding numerous new features, enlarging the standard library further, and providing
more facilities to
C++ programmers. After a minor C++14 update, released in December 2014, various new
additions are planned for 2017.
13 | P a g e
CRIMINAL RECORD
Project Description:
This project named CRIMINAL RECORDS is prepared to store records of criminals. It is
created keeping in mind the requirement of the police force to maintain proper and timely
records of all the criminals.
1. #include<iostream.h>: This header file declares basic C++ stream I/O functions.
2. #include<conio.h>:This header file declares various I/O functions like getch(), clrscr().
3. #include<process.h>: This function contains the function argument declarations for all
process control related routines like exit().
4. #include<stdlib.h>: This header file declares several commonly used like conversion
routines, search/ sort routines and other miscellaneous things.
14 | P a g e
CRIMINAL RECORD
15 | P a g e
CRIMINAL RECORD
16 | P a g e
CRIMINAL RECORD
17 | P a g e
CRIMINAL RECORD
18 | P a g e
CRIMINAL RECORD
19 | P a g e
CRIMINAL RECORD
Classes Used:
class crimedata
int code;
char fname[50];
char lname[50];
long fine;
long bounty;
long state_expenditure;
char case_details[800];
public:
int getcode();
long getfine();
long getbounty();
long getstateexp();
char* getfname();
char* getlname();
char* getcasedetails();
};
class infringement
20 | P a g e
CRIMINAL RECORD
char category[50];
int frequency;
public:
};
class vehicle
{ char name[50];
public:
};
class weapon
char wepname[50] ;
public:
21 | P a g e
CRIMINAL RECORD
Functions Used
22 | P a g e
CRIMINAL RECORD
Now in the concluding state it is right to say that this program has a very high usage.
It can be very beneficial to departments of justice and resolve the problem of storing hard data.
As we all know that a criminal record or police record is a record of a person's criminal history,
generally used by potential employers, lenders etc. to assess his or her trustworthiness. The
information included in a criminal record and the existence of a criminal record varies between
countries and even between jurisdictions within a country. In most cases it lists all nonexpunged
criminal offences and may also include traffic offences such as speeding and drunk driving. In
some countries the record is limited to actual convictions (where the individual has pleaded
guilty or been declared guilty by a qualified court), while in others it also includes arrests,
charges dismissed, charges pending and charges of which the individual has been acquitted.
So with this we can know the importance of Criminal Record and hence with utmost importance
23 | P a g e
CRIMINAL RECORD
References
[1] www.google.com
[4] Wikipedia
24 | P a g e
Sagar
ORIGINALITY REPORT
12 %
SIMILARIT Y INDEX
12%
INT ERNET SOURCES
0%
PUBLICAT IONS
8%
ST UDENT PAPERS
PRIMARY SOURCES
1
en.wikipedia.org
Int ernet Source 12%
2
Submitted to Icon College of Technology and
Management
<1%
St udent Paper
3
searchurjob.com
Int ernet Source <1%