Sunteți pe pagina 1din 4

CRIME TRACKING ERD MODEL (REPORT):

1N FORM:

2N FORM:

3N FORM:

ERD MODEL:

ASSUMPTIONS CONSIDERED WHILE DEVELOPING THE ER MODEL


DIAGRAM:
3
ADDITIONAL ENTITITES AND ATTRIBUTES NOT IDENTIFIED IN THE
GIVEN MEMO WHICH IS APPLICABLE TO A CRIME TRACKING
DATABASE ARE ENLISTED BELOW:
4

CRIME TRACKING ERD MODEL (REPORT):


An ENTITY-RELATIONSHIP MODEL (ER MODEL) describes inter-related
things of interest in a specific domain of knowledge. An ER model is
composed of entity types and specifies relationships that can exist
between instances of those entities. (Peter Smith, 2006).
According of the give case study, all the entities with their
respective attributes are in un-normalized form so I have normalized
the given entities to obtain/design an ER-Model, that might be
applicable to a crime tracking database.

1N FORM:
CRIMINALS: Name, address, phone number, violent offender
status, probation status and aliases.
CRIMES: classification (felony, misdemeanor, other), date charged,
appeal status (closed, can appeal, in appeal), hearing date, appeal
cutoff date, arresting officers, crime codes (such as burglary,
forgery, assault; hundreds of codes exist), amount of file, court fee,
amount paid, payment due date, and charge status.
SENTENCING: start date, end date, number of violations (such as
not reporting to probation officer), and type of sentences (jail period,
house arrest, probation)
APPEALS: appeal filling date, appeal hearing date, status
(pending, approved and disapproved)
POLICE OFFICERS: name, precinct, badge number, phone
contact, status (active/inactive)

All the entities are listed with its respective attributes


therefore; it is in 1st normal form.

2N FORM:
CRIMINALS: Criminal ID (PK), Name, Address, Phone Number, OS,
and PS Aliases.
CRIMES: Crimes ID (PK), Classification, date charged, appeal
status, hearing date, appeal cut-off date, arresting offers, crimes
codes, amount of file, court fee, amount paid, payment due date,
charge status.
SENTENCING: Sentencing ID (PK), start date, end date, number of
violations, sentences.
APPEALS: Appeals ID (PK), appeal-filling date, appeal hearing date,
status.
POLICE OFFICERS: Officers ID (PK), name, precinct, badge-number,
phone contact, status.

All the entities are identified with unique number


termed as PRIMARY KEY and to overcome the
redundancy of data, all the FOREIGN KEYS are welldefined, so thats why it is in second normal form.

3N FORM:
CRIMINALS: Criminal ID (PK), phone number, OS, PS Aliases.
CRIMES: Crime ID (PK), date charged, hearing date, appeal cut-off
date, arresting officers, amount of file, court fee amount paid,
payment due date, criminals ID (FK).
CRIME-CLASSIFICATION: Classification ID (PK), felony,
misdemeanors, order, crimes ID (FK).
CRIME-APPEAL: Appeal ID (PK), appeal closed, can appeal, in
appeal, crimes ID (FK).
CRIME-CODES: Crime code ID (PK), burglary, forgery, assault,
code enlists, crime ID (FK).
CRIME STATUS: Status ID (PK), pending, guilty, not guilty, crimes
ID (FK).
SENTENCING: Sentencing ID (PK), start date, end date, number of
violations.
SENTENCES-TYPE: Sentence ID (PK), jail period, house arrest,
probation, sentencing (FK).
APPEALS: Appeals ID (PK), appeal-filling date, appeal hearing date.
APPEALS STATUS: Status ID (PK), pending, approval, disapproval.
No index entries found.: Officers ID (PK), name, precinct, badge
number, phone contact, status (FK).

There is no transition dependency between attributes


so therefore, it is in 3rd Normal form.

ERD MODEL:

ASSUMPTIONS CONSIDERED WHILE


DEVELOPING THE ER MODEL DIAGRAM:
A criminal can commit at least one or many crimes.
A crime can be classified into many crime-classification or it can
be optional to classification.
Crime-classification should have at least crime appeal.
Crime appeal may or may not have different crimes at a same
time.

A criminal can have at least one crime status or may have many
crime statuses.
A police officer can deal with many criminals.
Many crime sentencing should have at least one crime-status of a
criminal.
A crime sentencing should have at least a crime sentencing type
or many.
A crime sentencing type by the criminals may or may not make
many appeals.
Appeals made by criminals may have many appeals status about
his crime.

ADDITIONAL ENTITITES AND ATTRIBUTES NOT


IDENTIFIED IN THE GIVEN MEMO WHICH IS
APPLICABLE TO A CRIME TRACKING
DATABASE ARE ENLISTED BELOW:
VICTIMS: name, address, phone number, current status (dead or
injured).

CRIMINALS-LAWYERS: name, address, phone number, rank,


core handling experience.

CRIMINALS BACKGROUND: crime history, family background,


education status, mental status.
VICTIMS-BACKGROUND: family history, background, educationstatus, health status.

S-ar putea să vă placă și