Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
sol ass 3

sol ass 3

|Views: 58|Likes:
Published by Yogesh Gandhi

More info:

Published by: Yogesh Gandhi on Dec 04, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





Homework 3Annexure
Homework type/no: Online/Third Course code: CSE-301Course instructor: Chavi Mam Course tutor:Date of allotment: Date of submission: 28-10-10Student roll no: RC2801B48 Section no: C2801
I declare that this assignment is my individual work. I have not copied from any other student’s work or from any other source except where due acknowledgment is madeexplicitly in the text, nor has been written for me another person.Student’s signature:Yogesh Gandhi
Evaluator’s comments:
Marks obtained _____________________ out of  ______________________________ Content of home work should start from this page only:
Question 1: Can we achieve 2NF without 1NF. Also differentiate 1NF and 2NFwith an example.
Answer: Normalization is the process of efficiently organizing data in a database.There are two goals of the normalization process: eliminating redundant data andensuring data dependencies make sense. Both of these are worthy goals as they reducethe amount of space a database consumes and ensure that data is logically stored. Nowe can’t achieve 2NF without 1NF because when a relation is in 1NF then it is atomici.e. only one value is associated with each attribute and the value is not a set of valuesthen only we are able to identify a primary key and all the non-primary key attribute ina relation are fully functionally dependent on the primary key.
The following table is not in 1NFDepartment NO
D10112345200002000120002ADITUSHAR RAVID102134563000030001YOGESHPANKAJ
Table in 1NFDPT_NO
InventoryDescription Supplier CostSupplier AddressHere, Cost is fully, functionally dependent upon the ENTIRE PK (Description-Supplier) for its existence. Therefore, Supplier Address is NOT functionallydependent upon the ENTIRE PK (Description-Supplier) for its existence.InventoryDescription Supplier CostSupplier  Name Supplier AddressThe above relation is now in 2NF
Question 2:- How is the concept of functional dependency associated with theprocess of normalization?Answer:-
 Normalization is based on the concept of dependencies between the attributes of atable. If more than one attributes of a single relation have relationships then this istermed as functional dependency because one attributes depends on the other for  providing complete detail. It is associated with the normalization becausenormalization is a technique that is used to remove these functional dependencies inorder to represent the information in simple way or in shape of tables.A functional dependency occurs between two attributes in a database, A and B, if there exists a relationship such that for each value of A there is only onecorresponding value of B (A -> B). This can be extended to a functional dependencywhere A may be a set of tuples (x, y, z) that correspond to a single value B ([x, y, z]-> B). In simple mathematical terms the functional dependency must pass the verticalline test for proper functions.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->