Computer AwarenessHardIBPS SO IT Officer
A relation is in Boyce–Codd Normal Form (BCNF) when:
- A. Every non-key attribute depends on the whole of every candidate key
- B. For every non-trivial dependency X → Y, X is a superkey
- C. No non-key attribute depends on another non-key attribute
- D. Every attribute holds only atomic, single values
Correct answer: B. For every non-trivial dependency X → Y, X is a superkey
BCNF demands that every determinant be a superkey, which is stricter than 3NF (3NF also allows X → Y when Y is a prime attribute). The other options describe 2NF, 3NF and 1NF ideas.
हिंदी में
कोई रिलेशन बॉयस–कॉड सामान्य रूप (BCNF) में तब होता है जब:
- A. प्रत्येक गैर-की एट्रिब्यूट प्रत्येक कैंडिडेट की के संपूर्ण भाग पर निर्भर हो
- B. प्रत्येक अतुच्छ निर्भरता X → Y के लिए X एक सुपरकी हो
- C. कोई गैर-की एट्रिब्यूट किसी अन्य गैर-की एट्रिब्यूट पर निर्भर न हो
- D. प्रत्येक एट्रिब्यूट में केवल परमाणु, एकल मान हों
उत्तर: B. BCNF की माँग है कि प्रत्येक निर्धारक सुपरकी हो, जो 3NF से अधिक कठोर है (3NF में Y के प्राइम एट्रिब्यूट होने पर X → Y भी स्वीकार्य है)। अन्य विकल्प 2NF, 3NF और 1NF की धारणाओं का वर्णन करते हैं।
More Computer Awareness questions
- 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?
- Which statement about DELETE and TRUNCATE in SQL is correct?