FACULTY OF HIGHER
FACULTY OF HIGHER EDUCATION
HS2021 Database Design and Use
Trimester 2 2016
Date Due: Friday Week 10 by 5:00 PM Marks: Weighting 10%
Student Name (Block letters) Student Number:
___________________________ _____________ Assignment Description: In this assignment you will use the given case study (Case Study: City Jail) to design a database. You need to analyse the case study to identify database requirements and design a complete E-R diagram in 3NF form. You final outcome will be ready to be implemented in Oracle12c which will be used for your assignment two.
Case Study: City Jail
Your company receives the following memo.
To: Database Consultant
From: City Jail Information Director
Subject: Establishing a Crime-Tracking Database System
It was a pleasure meeting with you last week. I look forward to working with your company create a much needed crime-tracking system. As you requested, our project group has outlined the crime-tracking data needs we anticipate. Our goal is to simplify the process of tracking criminal activity and provide a more efficient mechanism for data analysis and reporting. Please review the data needs outlined below and contact me with any questions.
Criminals: Name, address, phone number, violent offender status (yes/no), probation status (yes/no) and aliases.
Crimes: classification (felony, misdemeanour, other), date charged, appeal status (closed, can appeal, in appeal), hearing date, appeal cutoff date (always 60 days after the hearing date), arresting officers (can be more than one officer), crime codes (such as burglary, forgery, assault; hundreds of codes exist), amount of file, court fee, amount paid, payment due date, and charge status( pending, guilty, not guilty)
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)
Note: Each crime case can be appealed up to three times.
Police officers: name, precinct, badge number, phone contact, status (active/inactive)
• A single crime can involve multiple crime charges, such as burglary and assault.
• Criminals can be assigned multiple sentences. For example, a criminal might be required to serve a jail sentence followed by a period of probation.
• First, based on the memo, create an initial database design (E-R model) for the city jail that indicates entities, attributes (columns), primary keys, and relationships between the entities. Use only the entities identified in the memo to develop the E-R model.
• Second, create a list of additional entries or attributes not identified in the memo that might be applicable to a crime-tracking database.
• Furthermore, normalize your database design to 3NF so that it is ready to be deployed to Oracle12c SQL developer.
Report structure and assignment submission:
1. Content of your report
a. Prepare a report which will detail an E-R diagram (I need softcopy of it) and justification your choice of entities and attributes.
b. Detail the normalization process of the ER diagram in details.
c. Describe each additional entries or attributes you have created and why?
d. Write down all the assumptions you have considered while preparing the ER diagram.
2. Assignment Submission Guideline:
You need to submit both online and hardcopy
• Online: submit the softcopy via BlackBoard
• Hardcopy: Submit via assignment submission box
3. Assignment Date Due: Friday Week 10 Friday, 2016 by 5:00 PM
Assignment components marks
First, based on the memo, create an initial database design (E-R model) for the city jail that indicates entities, attributes (columns), primary keys, and relationships between the entities. Use only the entities identified in the memo to develop the E-R model. 3%
Second, create a list of additional entries or attributes not identified in the memo that might be applicable to a crime-tracking database.
Furthermore, normalize your database design to 3NF so that it is ready to be deployed to Oracle12c SQL developer. 5%
Components Description of the section
Correctness of the diagram and normalization process To what extend your ER diagram is correct and how detail you have describe the normalization process.
Justification How well did you justify the selection of entities and attributes?
Clarity of the diagram How clear is the illustration of your diagram?