Question 1
EasyWhat is the main goal of normalisation?
- A.
To increase storage use
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
DBMS
What is the main goal of normalisation?
To increase storage use
To make queries use more joins
To encrypt the data
To reduce data redundancy and avoid update anomalies
Answer: D
Normalisation splits tables so each fact is stored once, preventing insert, update and delete anomalies.
When is a table in First Normal Form (1NF)?
When every column holds atomic (indivisible) values
When it has no transitive dependencies
When it has no partial dependencies
When it has only one column
Answer: A
1NF forbids repeating groups and lists in a cell, such as 'Maths, Physics' in one column.
What is a functional dependency X → Y?
Y is a foreign key of X
Each value of X determines exactly one value of Y
X is calculated from Y
X and Y are always equal
Answer: B
For example, roll_no → name: one roll number always gives the same name.
What is an update anomaly?
A missing primary key
An update that is too fast
A table that cannot be updated
The same fact stored in many rows must be changed in all of them, or the data becomes inconsistent
Answer: D
If a department's location is repeated for every employee, changing it in only some rows leaves contradictions.
What is an insertion anomaly?
Inserting NULL values
Being unable to record a fact without also recording an unrelated one
Inserting rows too slowly
Inserting duplicate rows
Answer: B
For example, you can't store a new course until some student enrols, if courses are stored only inside enrolment rows.
What is a deletion anomaly?
Deleting a row by mistake
Being unable to delete rows
Deleting an index
Deleting one fact accidentally removes another, unrelated fact
Answer: D
If the last student of a course is deleted, the course's details may disappear too.
What is denormalisation?
Converting a table to 1NF
Removing all keys
Deleting duplicate rows
Deliberately adding redundancy to speed up reads
Answer: D
Data warehouses often denormalise to avoid costly joins, accepting extra storage and update work.
A column 'phones' stores values like '98765, 91234' (two numbers in one cell). Which normal form does this break?
First Normal Form (1NF)
Third Normal Form (3NF)
BCNF
Second Normal Form (2NF)
Answer: A
1NF requires each cell to hold a single, atomic value.
What is a partial dependency?
A missing value in a table
A dependency that holds only sometimes
A non-key attribute depending on only part of a composite primary key
A dependency between two keys
Answer: C
Partial dependencies are what 2NF removes.
What is a transitive dependency?
A dependency on the whole key
A dependency that has been deleted
A dependency between two tables
A non-key attribute depending on another non-key attribute, which depends on the key
Answer: D
Key → A and A → B together make B transitively dependent on the key; 3NF removes this.