You are on page 1of 22

A

Micro Project Report


On

“Design a Normalized Database & E-R Diagram for Grocery


Management System”

Submitted by:-
Aaditya V. Sarode
Darshan S. Dingar
Yash S. Phadol

Under the Guidance of


Prof. G.K.Gaikwad

In the Partial Fulfilment of Third Semester of Diploma in


Computer Engineering

Department of Computer Engineering


Sandip Polytechnic
Mahiravani, Nashik - 422213

Affiliated to

Maharashtra State
Board of Technical Education

Academic Year 2022-23


Maharashtra State
Board of Technical Education

Certificate

This is to certify that Mr./Ms. Aditya V. Sarode with Roll No-48 has successfully completed Micro-
project in course “DATA BASE MANAGENMENT SYSTEM” for the academic year 2022-23 as
prescribed in the 'Assessment Manual' during his/her tenure of completing Third Semester of Diploma
Programme in Computer Engineering from institute, Sandip Polytechnic with institute code 1167.

Place: Nashik Enrollment No: 2111670176

Date: Exam Seat No: 373136

Course Teacher Head of the Department Head of the Institute


Maharashtra State
Board of Technical Education

Certificate

This is to certify that Mr./Ms. Darshan S. Dingar with Roll No-49 has successfully completed Micro-
project in course “DATA BASE MANAGENMENT SYSTEM” for the academic year 2022-23 as
prescribed in the 'Assessment Manual' during his/her tenure of completing Third Semester of Diploma
Programme in Computer Engineering from institute, Sandip Polytechnic with institute code 1167.

Place: Nashik Enrollment No: 2111670177

Date: Exam Seat No:373137

Course Teacher Head of the Department Head of the Institute


Maharashtra State
Board of Technical Education

Certificate

This is to certify that Mr./Ms. Yash S. Phadol with Roll No-53 has successfully completed Micro-
project in course “DATA BASE MANAGENMENT SYSTEM” for the academic year 2022-23 as
prescribed in the 'Assessment Manual' during his/her tenure of completing Third Semester of Diploma
Programme in Computer Engineering from institute, Sandip Polytechnic with institute code 1167.

Place: Nashik Enrollment No: 2111670181

Date: Exam Seat No:373141

Course Teacher Head of the Department Head of the Institute


Annexure – I

Micro Project Proposal


Design a Normalized Database & E-R Diagram for Grocery
Management System

Aims/Benefits of the Micro-Project:

This micro-project aims at:

1. To know the entire concept about Database Management System.

2. Enhancing knowledge of about how to run SQL queries securely store


all information in one place.
Literature Review:

This report attempts to understand the design normalized


database on grocery management system. First, we have gone
through different wed sites, we have seen YouTube videos; we have
seen various books about this micro-project.

In order to make this business become easier, we made Database


Design for Grocery Management System Project which they can
manage the transaction of their business more effectively and
efficientlyin over all this system will gives to the customer and to
the owner a convenience timed and easiest way to manage their
business.
°4
: NORAMALIZATION OF TABLE

Why Normalization: Database normafization is the process of removing


redundant data from your tables in order to improve storage efficiency, data
integrity, and scalability.

➢ Normalization generally involves splitting existing tables into multiple


ones, which must be rejoined or linked each time a query is issued.
-

➢ Given table is converted to its INF as follows.


➢ • STEP NUMBER 1: elimination of duplicative columns from table I.
STEP NUMBEREE 2: create separate table for each group of related
data and Identify each row with unique column (primary key).
➢ 2 Nd normal form A tabre is in first normal form and each nonley -

field is functionally dependent upon primary key.


➢ Now we'll take the table above and design new tables that will
eliminate the reputed date in non-key_fiefd to decide what fields
belong together in a table, think about which field determines the
values in other fields,
➢ Create a table for those fields and enter the sampre data.
➢ Think about what the primary key for each table would be and about
the relationship between the tables.
➢ Mark the primary key for each table and make sure that you do not
have repeated data in non key fields-
-

o Third normal form (3NF) requires that there are no


functional dependencies of non-key attributes on
something other than a candidate key.
➢ A table is in 3i\IF if all of the non-primary-key attributes are mutually
independent. There should not be transitive defences.

1. First Normal Form —

If a reration contain composite or multi-valued attribute, it violates first


normal form or a relation is in first normal form if it does not contain
any composite or multi-valued attribute. A relation is in first normal
form if every attribute in that relation is singled valued attribute.
2. Second Normal Form —

To be in second normal forme a relation must be in first norrnal form and


reration must not contain any partiaT dependency. A relation is in 2NF if
it has No Partial Dependency, I.e., no non-prime attribute (attributes
which are not part of any candidate key) is dependent on any proper
subset of any candidate key of the table.

Partial Dependency— If the proper subset of candidate key determines


non-prime attribute, it is called partial dependency.

3. Third Normal Form —


A relation is in third normal form, if there is no transitive dependency for
non-prime attributes as well as it Is in second normal form.

A relation is In 3N1 If at least one of the following condition holds In every


non-trivial function dependency X —>

X is a super key.

Y is a prime attribute leach element of V is part of some candidate key).

Boyce-Cold Normal Form (BCNF) —

A relation R is in BCNF if R is in Third Normal Form and for every FD, WS is


super key. A relation is in BCNF if in every non-trivial functional
dependency X —> V. X is a super key.

Exercise 1: Find the highest normal form in R (A, B, C, D, El under following


functional dependencies.

ABC --> D
CD --> AE

Important Points for solving above type of question.

1) it is always a good idea to start checking from BCNF, then 3 NF, and so
on.

2) If any functional dependency satisfied a normal form then there Is no


need to check for lower normal form. For example, ABC —> D Is In 8CN[
(Note that ABC is a superkey), so no need to check this dependency for
lower normal forms.
Candidate keys in the given relation are ABC, BCD)

BCNF: ABC -> D is in BCNF. Let us check CD -> AE, CD is not a super key so
this dependency is not in BCNF. So, R is not in BCNF.

3NF: ABC -› D we don't need to check for this dependency as it already


satisfied BCNF. Let us consider CD -> AE. Since E is not a prime attribute,
so the relation is not in 3NF.

2NF: In 1INIF, we need to check for partial dependency. CD is a proper


subset of a candidate key .and it determines E. which is non-prime
attribute. So, given relation is also not in 2 NF. 5% the highest normal
form is 1 F
1.0 Course Outcomes Addressed:
1: Design Normalized database on given data
2: Create & manage database using SQL command
3: Write PL/SQL code for given database
4: Apply triggers on database also create procedure & function according to condition
5: Apply security & confidentiality on given database

Proposed Methodology:

Select the Topic.

Searching the information from the internet.

Book Reference.

Get the information about the topic on Internet and other sources.

To collect information about the how to create the tables on Grocery


Ma nagement System,

To increase knowledge about this topic,

To prepare soft copy of the Microproject.


Application of this Micro-Project:

1. Railway Reservation System: The database is required to keep


record of ttcket booking, train departure, and arrival status. Also
if trains get late then people get to know it through database
updates.
2. Library ManagementSystem: There are thousands of books in the
Library so it's very difficult to keep record of all the books in a copy or
register. So DBMS is used to maintain all the information related to book
issuing dates, name of the book" author, and availa bility of the book.

3. Banking : We make thousands of tran5actIons through banks daily and we


can this without going to the bank, so how banking has become so easy
that by sitting at home we can send or get money through banks. That is
all possible just because of DBMS that manages all the bank
transactions.
4. Universities and colleges: Examinations are done online today and
universities and colleges maintain all these records through DBMS.
Student's registrations details, results, courses, and grades all the
information are stored in the database.
5. Telecommunication: Any telecommunication company cannot even
think about its business without DBMS. DBMS Is a must for these
companies to store the call details and monthly post-paid bills.
2.0 Action Plan:

Sr Planned Planned Name of Responsible Team


Details of Activity
No Start Date Finish Date Members

1 Topic Discussion & Selection

2 Review of Literature

3 Aim/Benefits & Importance

4 Resources Required

5 Analysis of Collected Data


1. Aaditya V. Sarode
6 Design of System
2. Darshan S. Dingar
7 Design of ER Diagrams 3. Yash S. Phadol

8 Design of Database

9 Creation of Tables
Apply the Busniess rules &
10
I/O Rules
11 Presentation of Seminar

12 Final Submission

5.0 Resources Required:

Sr
Name of Resource/Material Specification Qty. Remarks
No
Desktop with Intel -
Core 2 Duo 2.93
1 Hardware Resource 1
GHz, RAM 2GB,
HDD 160 GB
2 Software Resource ORICAL 10g 1 -
3 Any Other Resource - - -

SANDIP POLYTECHNIC
Name of Team Members with Roll Nos:

Roll No Name of Team Members

48 Aaditya V. Sarode
49 Darshan S. Dingar
53 Yash S. Phadol

Prof G.K.Gaikwad
Name & Signature of Course Teacher

SANDIP POLYTECHNIC
Annexure – IV

Micro Project Evaluation Sheet


Name of Student: Aaditya V. Sarode Enrollment No: 2111670176
Name of Programme: Computer Engineering Semester: III
Course Title: Database Management System Course Code: 22319
Title of Micro Project: Design a Normalized Database & E-R Diagram for Grocery Management System

Learning Outcomes Achieved:


1: Design Normalized database on given data
2: Create & manage database using SQL command
3: Write PL/SQL code for given database
4: Apply triggers on database also create procedure & function according to condition
5: Apply security & confidentiality on given database

Poor Average Good Excellent


Sr Sub
Characteristic to be Assessed Marks Marks Marks Marks
No Total
(1-3) (4-5) (6-8) (9-10)
(A) Process and Product Assessment (6 Marks)
1 Relevance to the Course
2 Literature Review/Information Collection
3 Completion of the Target as per Project Proposal
4 Analysis of Data & Representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva (4 Marks)
7 Presentation
8 Viva

(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)

Comments/Suggestions about Teamwork/Leadership/Inter-personal Communication (if any)


…………………………………..……………………………………………………………………………
Name & Designation of Course Teacher: Prof.G.K.Gaikwad, HOD
Dated Signature:

SANDIP POLYTECHNIC
Annexure – IV

Micro Project Evaluation Sheet


Name of Student: Darshan S. Dingar Enrollment No: 2111670177
Name of Programme: Computer Engineering Semester: III
Course Title: Database Management System Course Code: 22319
Title of Micro Project: Design a Normalized Database & E-R Diagram for Grocery Management System

Learning Outcomes Achieved:


1: Design Normalized database on given data
2: Create & manage database using SQL command
3: Write PL/SQL code for given database
4: Apply triggers on database also create procedure & function according to condition
5: Apply security & confidentiality on given database

Poor Average Good Excellent


Sr Sub
Characteristic to be Assessed Marks Marks Marks Marks
No Total
(1-3) (4-5) (6-8) (9-10)
(A) Process and Product Assessment (6 Marks)
1 Relevance to the Course
2 Literature Review/Information Collection
3 Completion of the Target as per Project Proposal
4 Analysis of Data & Representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva (4 Marks)
7 Presentation
8 Viva

(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)

Comments/Suggestions about Teamwork/Leadership/Inter-personal Communication (if any)


…………………………………..……………………………………………………………………………
Name & Designation of Course Teacher: Prof.G.K.Gaikwad, HOD
Dated Signature:
SANDIP POLYTECHNIC
Annexure – IV

Micro Project Evaluation Sheet


Name of Student: Yash S. Phadol Enrollment No: 2111670181
Name of Programme: Computer Engineering Semester: III
Course Title: Database Management System Course Code: 22319
Title of Micro Project: Design a Normalized Database & E-R Diagram for Grocery Management System

Learning Outcomes Achieved:


1: Design Normalized database on given data
2: Create & manage database using SQL command
3: Write PL/SQL code for given database
4: Apply triggers on database also create procedure & function according to condition
5: Apply security & confidentiality on given database

Poor Average Good Excellent


Sr Sub
Characteristic to be Assessed Marks Marks Marks Marks
No Total
(1-3) (4-5) (6-8) (9-10)
(A) Process and Product Assessment (6 Marks)
1 Relevance to the Course
2 Literature Review/Information Collection
3 Completion of the Target as per Project Proposal
4 Analysis of Data & Representation
5 Quality of Prototype/Model
6 Report Preparation
(B) Individual Presentation/Viva (4 Marks)
7 Presentation
8 Viva

(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)

Comments/Suggestions about Teamwork/Leadership/Inter-personal Communication (if any)


…………………………………..……………………………………………………………………………
Name & Designation of Course Teacher: Prof.G.K.Gaikwad, HOD
Dated Signature:
SANDIP POLYTECHNIC
SANDIP POLYTECHNIC

You might also like