Computer AwarenessVery hardIBPS SO IT Officer
EMPLOYEE(EmpID, Name, DeptID, DeptName) has key EmpID, and DeptID → DeptName also holds. All values are atomic. What is the highest normal form the table satisfies?
- A. 1NF
- B. 3NF
- C. BCNF
- D. 2NF
Correct answer: D. 2NF
A single-attribute key rules out partial dependencies, so it is in 2NF. But EmpID → DeptID → DeptName is a transitive dependency of a non-key attribute, which breaks 3NF.
हिंदी में
EMPLOYEE(EmpID, Name, DeptID, DeptName) की की EmpID है, और DeptID → DeptName भी लागू है। सभी मान परमाणु हैं। तालिका जिस उच्चतम सामान्य रूप को संतुष्ट करती है वह क्या है?
- A. 1NF
- B. 3NF
- C. BCNF
- D. 2NF
उत्तर: D. एकल-एट्रिब्यूट वाली की आंशिक निर्भरताओं को रोकती है, इसलिए यह 2NF में है। परंतु EmpID → DeptID → DeptName एक गैर-की एट्रिब्यूट की संक्रामक निर्भरता है, जो 3NF को भंग करती है।
More Computer Awareness questions
- A relation is in Boyce–Codd Normal Form (BCNF) when:
- A CUSTOMER table keeps several phone numbers in one Phone column, separated by commas (for example '98xxxxxx01, 98xxxxxx02'). Which normal…
- A relation R(A, B, C) has A as its only candidate key. How many superkeys does R have?
- Table ACCOUNT has 5 rows and table NOMINEE has 4 rows. Three accounts match exactly one nominee each, and two accounts match none. How…
- Table A has 6 rows and 3 columns, and table B has 4 rows and 2 columns. What does SELECT FROM A, B (with no WHERE clause) return?
- A column Bonus holds the values 10, 20, NULL and 30 in four rows. What does SELECT AVG(Bonus) return?