Professional Documents
Culture Documents
The following are the inputs for the faculty for project allocation and evaluation:
The project should be allocated to individual students by the end of the
Relational Database Design module, the third cycle.
The student can start the project earliest after the first Experiment session of
Relational Database Design is over.
During allocation, explain the students the scope of the project by referring to
the topic Project Activities and Project Timelines.
Ask the students to refer to the sample case study and its solution given in the
sample project documentation.
Ask the students to refer to the topic Project Standards and Guidelines before
starting the project documentation.
Before project evaluation day, ask the students to verify their projects according
to the standards and guidelines given in the topic Project Standards and
Guidelines.
Evaluate the students according to the guidelines given in the topic Project
Evaluation Guidelines.
Background
Shop Here is a leading departmental store in New York. The store is known for quality
products, affordable price range, timely services, and home delivery facility. The store
has customers from all sections of the society and procures goods from various
countries.
Existing System
Shop Here maintains an optimum inventory of various categories of items. The details
of the various categories are stored in the Categories file. This file contains data
about the item category numbers and the corresponding categories. The details of the
items are stored in a file named Items. The Items file contains records such as item
number, item description, item category number, serial number of the item, unit price
of each item, and reorder level of each item.
The store has several regular suppliers for the various items. The suppliers are
spread over various geographical locations. A detailed record is maintained for each
supplier. The supplier record consists of supplier code, supplier’s name, address,
phone
number, country of origin, and shipment mode number and shipment mode for
outstation suppliers. All records are maintained in the Suppliers file.
Whenever the employee of a store places a purchase order, a purchase order form
needs to be filled out. The format of a purchase order form is as follows:
A complete transaction takes place when the purchase is made and the payment is
done.
Background
Showman House is a large event management company of New York. The company
organizes various types of events throughout the year. The events types include
fashion shows, celebrity shows, chat shows, musical extravaganza, exhibitions, fairs,
and charity shows.
Existing System
Showman House organizes events of different types. The details of the various event
types are stored in the Event Types file. This file contains data about the event type
codes and the corresponding event types. Any attendee who wishes to organize an
event needs to provide details about the nature of the event he wants to organize.
Along with providing event details, he also makes the payment for the event. The
payment for an event is made in instalments, according to the fee plan, which is
stored in the Fee Schedules file. The Fee Schedules file maintains details such as fee
schedule id, event id, fee description, and fee amount. An attendee needs to pay all
the instalments of the payment, on or before the start date of the event.
All details related to an event such as event code, event name, event type code,
location of the event, start date, end date, event description, number of people, and
the staffing required for the event are stored in the Events file. The payment details
that include payment amount, payment date, payment method id, and payment
method description are also stored in the Events file. The details of an attendee such
as attendee id, attendee name, and address are stored in the Attendees file.
Any event at Showman House is managed by an employee. The employee details such
as employee id, first name, last name, title, and phone are stored in the Employees
file.
Envisioned System
The management of Showman House realize that it is difficult to maintain so much
data manually. Therefore, they have decided to computerize the entire system of
event management.
Blue Moon Computers have been assigned the task to computerize the system. The
project team needs to perform the following tasks:
1. Identify the various entities involved.
2. Identify the attributes of the various entities. The attributes should completely
define the entities.
3. Draw an E/R diagram to demonstrate the relationship between the various
entities.
Background
New Project Ltd. is a company that provides staff on contract for various project
assignments. The company is known for providing qualified and skilled staff that can
fulfill the project requirements efficiently. New Project employs professionals from
various fields that match the requirement of clients.
Existing System
New Project has a system of time cards. Time cards are issued to its employees for
working at the client site until the completion of the project. The employees use their
time cards for all work processes and expenses during the contract period. The time
card data enables New Project to prepare the final billing that needs to be submitted
to the clients for release of payment in lieu of work.
When a work agreement is signed, a project form needs to be filled out. The format of
this form is as follows:
PROJECT FORM
CLIENT SECTION
Address: Country:
PROJECT SECTION
EMPLOYEE SECTION
Address: Country:
EXPENSES DETAILS
WORK DETAILS
Project code:
BILL SECTION
All employees fill the time card details on a daily basis. These details include Time
Card ID, Employee ID, Date Issued, Date Worked, Project ID, Work Description,
Billable Hours, and Work Code ID. The staffing-in-charge of New Project stores these
details in the Time Cards file. The work code ID defines the category of the task
performed by the employee in the project. The details related to the work codes are
stored in the Work Codes file, which includes details such as work code id and work
code description.
During the project life cycle, employees might also incur expenses due to conveyance,
food etc. The details of the expenses incurred by an employee in a project are stored
in the Time Card Expenses file. These details include time card expense id, time
card id, expense date, expense amount, expense description, project id, expense code
id, and expense code. After every project, the company calculates its payment due
from the client and raises an invoice. On realization of the payment, all related data is
stored in the Payments file. This file contains data about payment code, payment
mode ID, payment mode name, corresponding project code, payment amount,
payment date, and credit card details if the client pays through credit card. Credit card
details consist of card number, cardholder’s name, and expiry date of the credit card.
ξ The solution maps to the requirements specified along with the case study
Timeliness - 20 marks
Project Timelines
The students should follow the given timelines to complete the project on time:
Session # Task to be Performed
Background
Pay Junction is a company that performs order processing and manages payment
realizations for other organizations.
Existing System
Pay junction maintains separate files for storing customer details and order details.
The Customer Details file consists of records such as customer code, customer
name, company name, address, country, phone number, and billing address.
When an order is processed, various parameters that affect the order are filled in a
form and then analyzed. The format of the Order Processing form is shown below:
ORDER PROCESSING
Discount:
SHIPMENT DETAILS
Tax:
Total Value:
Envisioned System
Pay Junction has decided to stop manual data storage and start computerized
database management and order processing. It would also enable the company to
have quicker communication with the clients.
A small group of database designers have been deployed by Pay Junction to develop a
computerized system of order processing and database management. Pay Junction
also wants to include the information about an employee who processes an order. This
information will include the employee code, name, title, and phone number.
The development team needs to perform the following activities:
1. Identify the entities.
2. Identify the attributes of the entities.
3. Draw an E/R diagram to represent the relationships between various entities.
4. Map the E/R diagram to corresponding tables.
5. Normalize the tables to 3 NF taking care that there is minimum amount of
redundancy and disk space usage. Also, take care that the query performance
is optimum.
6. Identify the primary and foreign keys in the tables.
7. Draw a diagram to show the relationships between various tables.
PROJECT ON
Pay Junction
Developed by
Batch Code :
Start Date : March 1, 2004 End Date: March 10, 2004
This is to certify that this report titled Pay Junction embodies the
original work done by Debbie Howe in partial fulfillment of their course
requirement at NIIT.
Coordinator:
Alex Norton
Number of entities: 5
Names of entities:
1. Customers
2. Orders
3. Products
4. Payments
5. Employees
Attributes:
The attributes of the regular entities are:
a. Customers
Cust-Code
First Name
Last Name
Address
Country
Zip Code
Phone No
b. Orders
Order-Code
Cust-Code
Prod-Code
Emp-Code
Order-Dt
Ship Name
Ship Address
Ship Country
Ship Phone
Ship-Dt
Ship Method Id
Ship Method
Freight Charge
Sales Tax
Quantity
Discount
Total Cost
c. Products
Prod-Code
Prod-Name
Description
Unit Price
d. Payments
Payment-Code
Order-Code
Payment Amount
Payment-Dt
Payment Mode Id
Payment Mode
CreditCard No
Cardholders Name
CreditCardExpiry-Dt
SHIP SHIP-
ADDRESS SHIP DT
PHONE SHIP
METHOD
SHIP
COUNTRY
SHIP
NAME SHIP
METHOD
ID
ORDER-
DT
SALES
TAX
LAST NAME
DISCOUNT
CUST-
FIRST NAME CODE
TOTAL COST
CUST-CODE ORDER-
CODE
m
1 m m
CUSTOMERS PLACES ORDERS FOR PRODUCTS
1
m 1
UNIT PRICE
FIRST
NAME
PAYMENT-CODE
LAST PHONE NO
NAME TITLE
ORDER-
CODE
CREDITCARDEXPIRY-
DT PAYMENT
AMOUNT
CARDHOLDERS NAME
PAYMENT-DT
CREDITCARD NO
PAYMENT MODE ID
PAYMENT MODE
Number of Tables: 6
Customers [Entity] Orders [Entity] Order Details [Relationship]
Phone-No Ship-Country
Ship-Phone
Ship-Dt
Ship-Method-ID
Ship-Method
Freight-Charge
Sales-Tax
Payment-Mode- ID Phone-No
Payment-Mode
Credit Card-No
Card Holders-Name
CreditCardExpiry-Dt
TABLES AFTER 1 NF
Phone-No Ship-Country
Ship-Phone
Ship-Dt
Ship-Method-ID
Ship-Method
Freight-Charge
Sales-Tax
Products Payments Employees
Payment-Mode- ID Phone-No
Payment-Mode
Credit Card-No
Card Holders-Name
CreditCardExpiry-Dt
TABLES AFTER 3 NF
The tables are already in 2 NF as the attributes in each table depend on the primary
key.
Customers Orders Order Details
Phone-No Ship-Country
Ship-Phone
Ship-Dt
Ship-Method-ID
Ship-Method
Freight-Charge
Sales-Tax
Products Payments Employees
Payment-Mode- ID Phone-No
Payment-Mode
Credit Card-No
Card Holders-Name
CreditCardExpiry-Dt
TABLES AFTER 5 NF
In the Orders table, the attribute Ship-Method depends on Ship-Method-ID and not on
Order-Code. Therefore, for the tables to be in 3 NF, we need to create another table,
Shipment Methods. Also, in the Payments table, the attribute Payment-Mode depends
on Payment-Mode-ID and not on Payment-Code. Therefore, we need to create a
separate table, Payment Modes. In addition, the attributes Cardholders-Name and
CreditCardExpiry-Dt depend on CreditCard-No and not on Payment-Code. Therefore,
we need to create another table, Credit Cards. Now, the tables are:
Customers Orders Order Details
Phone-No Ship-Country
Ship-Phone
Ship-Dt
Ship-Method-ID
Ship-Method
Freight-Charge
Sales-Tax
Products Payments Employees
Payment-Mode-ID Phone-No
Credit Card-No
CreditCardExpiry-
Dt
TABLES AFTER DENORMALIZATION
When we place the information about credit card in a separate table, the query
performance during the generation of payment receipt will get affected due to creation
of joins in every payment receipt. Therefore, for optimum performance, we
denormalize and place the credit card information back into the Payments table. Now,
the tables are as follows:
Customers Orders Order Details
Phone-No Ship-Country
Ship-Phone
Ship-Dt
Ship-Method-ID
Ship-Method
Freight-Charge
Sales-Tax
Products Payments Employees
Payment-Mode-ID Phone-No
Credit Card-No
Ship-Method-ID Payment-Mode-ID
Ship-Method Payment-Mode
PRIMARY AND FOREIGN KEYS
Customers
Primary key: Cust-Code
Orders
Primary key: Order-Code
Foreign keys: Cust-Code, Emp-Code, Ship-Method-ID
Order Details
Primary key: OrderDetail-ID
Foreign keys: Order-Code, Prod-Code
Shipment Methods
Primary key: Ship-Method-ID
Products
Primary key: Prod-Code
Payments
Primary key: Payment-Code
Foreign keys: Order-Code, Payment-Mode-ID
Payment Modes
Primary key: Payment-Mode-ID
Employees
Primary key: Emp-Code
RELATIONSHIPS BETWEEN FINAL TABLES
Order Details Products
Ship-Country
Phon e-No
Shipment Methods
Ship-Phone
Field Name
Ship-Dt
Ship-
Ship-Method-ID Method-ID
Ship-Method
Freight-Charge
Payments Sales-Tax
Employees
Field Name
Field Name
Payment-Code
Emp-Code
Order-Code
First-Name
Payment-Amount
Last-Name
Payment-Dt
Title
Payme nt Modes
Payment-Mode-ID
Phone-No
Field Name
CreditCard-No
Payment-
CardHolders-Name
Mode-ID
CreditCardExpiry-Dt
Payment-Mode
BLANK DOCUMENTATION FORMATS
PROJECT ON
Developed by
Name:
Reg. No.:
(Project Title)
Batch Code :
Start Date : End Date:
Name of the Coordinator :
Name of Developer :
Date of Submission :
CERTIFICATE
Coordinator:
ACKNOWLEDGEMENT
SYSTEM ANALYSIS
System Summary:
ENTITIES
Number of entities:
Names of entities:
ATTRIBUTES
Attributes:
E/R DIAGRAM
TABLES
Number of Tables:
TABLES AFTER 1 NF
TABLES AFTER 2 NF
TABLES AFTER 3 NF
TABLES AFTER DENORMALIZATION
PRIMARY AND FOREIGN KEYS
RELATIONSHIPS BETWEEN FINAL TABLES