FliQi Education App Download
प्रश्न-बैंक · Programmer DBMS

Basic of Functional Dependencies and normalization relational database — प्रश्न और उत्तर

Programmer DBMS · 83 जाँचे हुए (verified) प्रश्न

  • 83 जाँचे हुए प्रश्न
  • हिंदी + English

पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 20 के उत्तर और हल FliQi Question Bank app में।

भाषा
प्रश्न 1उत्तर + हल
डेटाबेस डिज़ाइन में normalization का मुख्य लक्ष्य क्या है?
What is the primary goal of normalization in database design?
  1. Aडेटाबेस में टेबल की संख्या घटानाTo reduce the number of tables in the database
  2. Bडेटा का दोहराव (redundancy) घटाना और बदलाव की गड़बड़ियाँ (update anomalies) मिटानाTo reduce data redundancy and remove update anomalies
  3. Cडेटाबेस के ढाँचे को और जटिल बनानाTo increase the complexity of the database schema
  4. Dडेटाबेस query की रफ़्तार बढ़ानाTo improve the performance of database queries

सही उत्तर / Answer: (B)

हल / Solution
normalization रिलेशन को उसकी functional dependency के हिसाब से तोड़ती है, ताकि एक तथ्य एक ही जगह रखा जाए। इससे दोहराव घटता है और जोड़ने, बदलने तथा मिटाने की गड़बड़ियाँ ख़त्म होती हैं। ध्यान रखिए, हर तरह का दोहराव मिटता नहीं, क्योंकि foreign key का मान तो दोनों टेबल में रहता ही है। विकल्प 1 उलटा है, टेबल बढ़ती हैं। विकल्प 3 बेतुका है। और रफ़्तार लक्ष्य नहीं, join बढ़ने से वह घट भी सकती है।
Normalization splits a relation according to its functional dependencies so that one fact is stored in exactly one place. Redundancy therefore drops and the insert, update and delete anomalies disappear. Note that not every kind of repetition goes away, since a foreign key value still sits in both tables. Option 1 is backwards because the number of tables grows, option 3 is absurd, and speed is not the goal, as extra joins can even reduce it.
प्रश्न 2उत्तर + हल
एक ई-कॉमर्स डेटाबेस के रिलेशन में attribute Order_ID, Customer_ID, Product_ID और Quantity हैं। functional dependency {Order_ID, Product_ID → Customer_ID, Order_ID → Quantity} दी हैं। इनका minimal cover क्या होगा?
In an e-commerce database, consider a relation containing attributes Order_ID, Customer_ID, Product_ID, and Quantity. Given the functional dependencies {Order_ID, Product_ID → Customer_ID, Order_ID → Quantity}, what is the minimal cover for these dependencies?
  1. A{Order_ID, Product_ID → Customer_ID, Order_ID → Quantity}
  2. B{Order_ID, Product_ID → Customer_ID, Order_ID → Quantity, Product_ID → Quantity}
  3. C{Order_ID → Customer_ID, Order_ID → Quantity}
  4. D{Product_ID → Customer_ID, Product_ID → Quantity}

सही उत्तर / Answer: (A)

हल / Solution
पहली dependency के बाएँ पक्ष में Product_ID फ़ालतू है या नहीं, यह closure से तय होगा। अकेले Order_ID का closure {Order_ID, Quantity} है, उसमें Customer_ID नहीं मिलता, इसलिए Product_ID ज़रूरी है। अकेले Product_ID से भी कुछ नहीं निकलता। दूसरी dependency अलग बात कहती है, इसलिए वह भी हटाई नहीं जा सकती। यानी दिया हुआ समुच्चय ही minimal cover है। विकल्प 2 नई dependency जोड़ता है और विकल्प 3 बाएँ पक्ष से Product_ID गिरा देता है।
Whether Product_ID is extraneous on the left of the first dependency is settled by a closure. The closure of Order_ID alone is {Order_ID, Quantity} and does not contain Customer_ID, so Product_ID is needed, and Product_ID alone determines nothing. The second dependency states something else, so it cannot be dropped either. The given set is therefore the minimal cover. Option 2 adds a dependency that does not follow, and option 3 drops Product_ID from the left side.
प्रश्न 3उत्तर + हल
एक पुस्तकालय (library) डेटाबेस के रिलेशन में attribute Book_ID, Title, Author और Genre हैं। functional dependency {Book_ID → Title, Book_ID → Author} दी हैं। इनका minimal cover क्या होगा?
Consider a database for a library system with a relation containing attributes Book_ID, Title, Author, and Genre. Given the functional dependencies {Book_ID → Title, Book_ID → Author}, what is the minimal cover for these dependencies?
  1. A{Book_ID → Title, Book_ID → Author}
  2. B{Book_ID → Title, Book_ID → Author, Title → Author}
  3. C{Book_ID → Title, Book_ID → Author, Author → Title}
  4. D{Title → Author, Author → Title}

सही उत्तर / Answer: (A)

हल / Solution
minimal cover की तीन शर्तें परखिए। दोनों पक्षों में एक-एक attribute है, तो फ़ालतू कुछ नहीं। और दोनों में से कोई हटाने पर Book_ID उस attribute तक नहीं पहुँचता। इसलिए जो दिया है वही minimal cover है। विकल्प 2 और 3 शीर्षक तथा लेखक के बीच नई dependency मान लेते हैं, जो निकलती नहीं, क्योंकि एक ही शीर्षक की किताबें अलग लेखकों की हो सकती हैं। विकल्प 4 में Book_ID छोड़ दिया गया है।
Test the three conditions of a minimal cover here. Each right side is already a single attribute, each left side is a single attribute too, so nothing is extraneous, and dropping either dependency leaves Book_ID unable to reach that attribute. So the given set is the minimal cover. Options 2 and 3 assume a new dependency between title and author, which does not follow, as two different books may share a title. Option 4 drops Book_ID.
प्रश्न 4उत्तर + हल
एक कूरियर कंपनी (shipping company) के डेटाबेस में एक रिलेशन में attribute Package_ID, Sender_Name, Receiver_Name और Destination हैं। functional dependency {Package_ID → Sender_Name, Package_ID → Receiver_Name} दी हैं। इनका minimal cover क्या होगा?
Suppose you have a database for a shipping company with a relation containing attributes Package_ID, Sender_Name, Receiver_Name, and Destination. Given the functional dependencies {Package_ID → Sender_Name, Package_ID → Receiver_Name}, what is the minimal cover for these dependencies?
  1. A{Package_ID → Sender_Name, Package_ID → Receiver_Name}
  2. B{Package_ID → Sender_Name, Package_ID → Receiver_Name, Sender_Name → Receiver_Name}
  3. C{Package_ID → Sender_Name, Package_ID → Receiver_Name, Receiver_Name → Sender_Name}
  4. D{Sender_Name → Receiver_Name, Receiver_Name → Sender_Name}

सही उत्तर / Answer: (A)

हल / Solution
दोनों dependency का बायाँ पक्ष एक ही attribute है और दायाँ पक्ष भी एक-एक, इसलिए घटाने की कोई जगह नहीं। एक को हटाइए तो Package_ID से वह नाम मिलना बंद हो जाता है, यानी closure घटता है और दोनों ज़रूरी हैं। इसलिए दिया हुआ समुच्चय ही minimal cover है। विकल्प 2 और 3 में दोनों नामों के बीच नई dependency मान ली गई है, जो दिए तथ्यों से निकलती नहीं, और विकल्प 4 में Package_ID ही छूट गया है।
Both dependencies have a single attribute on the left and a single attribute on the right, so there is nothing left to shorten. Drop either one and Package_ID stops determining that name, which shrinks the closure, so both are needed and the given set is itself the minimal cover. Options 2 and 3 assume a new dependency between the two names that does not follow from the given facts, and option 4 drops Package_ID altogether.
प्रश्न 5उत्तर + हल
functional dependency {AB → C, C → D, AD → E} का minimal cover क्या है?
What is the minimal cover for the functional dependencies {AB → C, C → D, AD → E}?
  1. A{AB → C, C → D, AD → E}
  2. B{AB → C, C → D, AD → E, D → E}
  3. C{AB → C, C → D, AD → E, A → D}
  4. D{AB → C, C → D, AD → E, A → B}

सही उत्तर / Answer: (A)

हल / Solution
तीनों dependency का दायाँ पक्ष एक attribute का है। अब बायाँ पक्ष जाँचिए। AB → C में A या B अकेला कुछ तय नहीं करता, इसलिए दोनों ज़रूरी हैं। AD → E में भी A का closure {A} और D का {D} है। कोई dependency हटाइए तो closure घट जाता है। इसलिए दिया हुआ समुच्चय minimal cover है। बाक़ी विकल्प D → E, A → D या A → B जोड़ देते हैं, जो दिए समुच्चय से निकलते ही नहीं।
Every right side here is a single attribute. Check the left sides: in AB → C neither A nor B alone determines anything, so both are needed, and in AD → E the closure of A is {A} and of D is {D}, so nothing is extraneous. Removing any dependency shrinks the closure. So the given set is already a minimal cover. The other options add D → E, A → D or A → B, none of which follows.
प्रश्न 6उत्तर + हल
डेटाबेस डिज़ाइन में functional dependency का minimal cover रखने का फ़ायदा क्या है?
What is the benefit of having a minimal cover of functional dependencies in database design?
  1. Aइससे डेटा के बेमेल (inconsistency) होने का ख़तरा घटता हैIt reduces the risk of data inconsistency
  2. Bइससे डेटाबेस के लिए ज़्यादा जगह चाहिए होती हैIt increases the storage space required for the database
  3. Cइससे query चलने की रफ़्तार बढ़ जाती हैIt speeds up query processing
  4. Dइससे रिलेशन में नई पंक्ति जोड़ना आसान हो जाता हैIt allows for easier insertion of new tuples into the relation

सही उत्तर / Answer: (A)

हल / Solution
छोटे और साफ़ dependency समुच्चय पर normalization करने से हर तथ्य अपनी एक ही जगह बैठता है। एक जगह बदलाव करने पर दूसरी जगह पुराना मान बचा नहीं रहता, इसलिए बेमेल डेटा का ख़तरा घटता है। विकल्प 2 उलटा है, क्योंकि दोहराव घटने से जगह बचती है। विकल्प 3 भी ठीक नहीं, टेबल बँटने से join बढ़ते हैं और query अक्सर धीमी पड़ती है। विकल्प 4 cover का काम नहीं, वह टेबल के ढाँचे से तय होता है।
When normalization is carried out on a small, clean dependency set, every fact sits in exactly one place. A change made in that one place leaves no stale copy behind, so the risk of inconsistent data goes down. Option 2 is backwards, since less redundancy saves space. Option 3 is not right either, because splitting tables adds joins and often slows queries down. Option 4 depends on table structure, not on the cover.
प्रश्न 7उत्तर + हल
रिलेशन R(A, B, C, D) में functional dependency {A → B, B → C, C → D} हैं। इस रिलेशन की dependency का minimal cover क्या होगा?
Consider a relation R(A, B, C, D) with functional dependencies {A → B, B → C, C → D}. What is the minimal cover of functional dependencies for this relation?
  1. A{A → B, B → C, C → D}
  2. B{A → B, B → C}
  3. C{A → B, B → C, C → D, A → D}
  4. D{A → B, B → C, C → D, D → A}

सही उत्तर / Answer: (A)

हल / Solution
तीनों dependency के दोनों पक्षों में एक-एक attribute है, इसलिए वहाँ कुछ फ़ालतू नहीं। अब हटाकर देखिए। A → B हटाने पर A का closure सिर्फ़ {A} रह जाता है, B → C हटाने पर C नहीं मिलता, और C → D हटाने पर D छूट जाता है। यानी तीनों ज़रूरी हैं। विकल्प 3 का A → D पहले से निकलता है, इसलिए अनावश्यक है, और विकल्प 4 का D → A निकलता ही नहीं।
Each given dependency has one attribute on each side, so nothing is extraneous. Now test removal: without A → B the closure of A is only {A}, without B → C we never reach C, and without C → D the attribute D is lost. All three are needed. Option 3 adds A → D, which already follows and is therefore redundant, and option 4 adds D → A, which does not follow.
प्रश्न 8उत्तर + हल
minimal cover निकालने के संदर्भ में attribute के closure समुच्चय का क्या महत्त्व है?
What is the significance of the closure set of attributes in the context of finding the minimal cover of functional dependencies?
  1. Aयह रिलेशन के बेमतलब attribute पहचानने में मदद करता हैIt helps identify irrelevant attributes in the relation
  2. Bयह रिलेशन की primary key का काम करता हैIt serves as the primary key of the relation
  3. Cयह तय करने का आधार देता है कि कौन-सी functional dependency ज़रूरी हैIt provides a starting point for determining essential functional dependencies
  4. Dयह बताता है कि रिलेशन में कुल कितने attribute हैंIt indicates the total number of attributes in the relation

सही उत्तर / Answer: (C)

हल / Solution
हर कटौती का फ़ैसला closure से होता है। कोई dependency हटाकर उसके बाएँ पक्ष का closure निकालिए; उसमें दायाँ पक्ष अब भी मिल जाए तो वह dependency ज़रूरी नहीं थी, और न मिले तो वह ज़रूरी है। बाएँ पक्ष का फ़ालतू attribute भी इसी जाँच से पकड़ा जाता है। closure न primary key तय करता है, जैसा विकल्प 2 कहता है, और न attribute गिनता है; रिलेशन के बेमतलब attribute ढूँढ़ना भी इसका काम नहीं।
Every reduction is decided by a closure. Drop a dependency, then work out the closure of its left side: if the right side still shows up, that dependency was not essential, and if it does not, the dependency has to stay. The same test catches an extraneous attribute on a left side. A closure neither fixes the primary key, as option 2 claims, nor counts attributes, and finding pointless attributes of the relation is not its job.
प्रश्न 9उत्तर + हल
minimal cover निकालते समय मुख्य उद्देश्य क्या होता है?
When finding the minimal cover of functional dependencies, what is the primary objective?
  1. Aरिलेशन से सारी dependency हटा देनाTo remove all dependencies from the relation
  2. Bयह पक्का करना कि हर attribute किसी दूसरे attribute को विशिष्ट रूप से तय करेTo ensure each attribute uniquely determines another attribute
  3. Cअनावश्यक dependency हटाना, पर attribute का closure वैसा ही रखनाTo eliminate redundant dependencies while preserving the closure of attributes
  4. Dरिलेशन में functional dependency की संख्या बढ़ानाTo increase the number of functional dependencies in the relation

सही उत्तर / Answer: (C)

हल / Solution
मक़सद दो हिस्सों का है। समुच्चय छोटा कीजिए, पर उसकी ताक़त वही रहने दीजिए। इसलिए हर कटौती के बाद closure से जाँचा जाता है कि पुरानी हर dependency अब भी निकल रही है या नहीं; निकलती रहे तो कटौती पक्की, वरना वापस। विकल्प 1 में सब हटाने की बात है, जिससे जानकारी ही ख़त्म हो जाएगी। विकल्प 2 key की शर्त जैसा लगता है, और विकल्प 4 ठीक उलटी दिशा में जाता है।
The aim has two halves: make the set smaller, but keep its power unchanged. So after every reduction a closure test checks whether each original dependency can still be derived. If it can, the reduction stands; if it cannot, the reduction is undone. Option 1 would delete the information itself, option 2 reads like a condition on keys rather than on a cover, and option 4 moves in the opposite direction.
प्रश्न 10उत्तर + हल
functional dependency के संदर्भ में अघटनीय (irreducible) का क्या अर्थ है?
In the context of functional dependencies, what does 'irreducible' mean?
  1. Aवे dependency जिन्हें और सरल नहीं किया जा सकताDependencies that cannot be simplified further
  2. Bवे dependency जो normalization के लिए ज़रूरी हैंDependencies that are essential for normalization
  3. Cवे dependency जो अनावश्यक हैंDependencies that are redundant
  4. Dवे dependency जो रिलेशन में मौजूद ही नहीं हैंDependencies that are missing in the relation

सही उत्तर / Answer: (A)

हल / Solution
अघटनीय (irreducible) समुच्चय उसे कहते हैं जिसमें कटौती की जगह बची ही न हो। दायाँ पक्ष एक-एक attribute का हो, बाएँ पक्ष में कोई फ़ालतू attribute न हो, और कोई भी dependency हटाने पर closure घट जाए। इसी वजह से minimal cover को irreducible cover भी कहा जाता है। विकल्प 3 उलटी बात है, क्योंकि अनावश्यक dependency तो हटा दी जाती हैं। विकल्प 2 और 4 परिभाषा नहीं, बस आसपास की बातें कहते हैं।
An irreducible set is one in which no reduction is left to make: every right side is a single attribute, no left side carries an extraneous attribute, and dropping any dependency would shrink the closure. This is why a minimal cover is also called an irreducible cover. Option 3 says the opposite, because redundant dependencies are the ones thrown away, while options 2 and 4 state loose remarks instead of the definition.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
App खोलिए
प्रश्न 11उत्तर app में
minimal cover निकालने में इनमें से कौन-सा क़दम शामिल होता है?
Which of the following is a step involved in finding the minimal cover of functional dependencies?
  1. Aएक जैसे attribute आपस में जोड़ देनाCombining similar attributes
  2. Bअनावश्यक dependency जोड़नाAdding redundant dependencies
  3. Cअनावश्यक dependency हटानाRemoving redundant dependencies
  4. Dfunctional dependency की संख्या बढ़ानाIncreasing the number of functional dependencies
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 12उत्तर app में
minimal cover निकालते समय cover शब्द का आशय किससे है?
When finding the minimal cover of functional dependencies, what does the term 'cover' refer to?
  1. Aरिलेशन में संभव सारी functional dependency का समुच्चयThe set of all possible functional dependencies in the relation
  2. Bdependency का ऐसा सबसे छोटा समुच्चय जिससे रिलेशन की बाक़ी सारी dependency तार्किक रूप से निकल आएँA minimal set of functional dependencies that logically implies all other dependencies in the relation
  3. Cरिलेशन की primary keyThe primary key of the relation
  4. Dवह attribute समुच्चय जो बाक़ी सारे attribute तय कर देता हैThe set of attributes that determines all other attributes in the relation
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 13उत्तर app में
डेटाबेस normalization में functional dependency का minimal cover निकालने का उद्देश्य क्या है?
What is the purpose of finding the minimal cover of functional dependencies in database normalization?
  1. Aदोहराव (redundancy) घटाना और डेटाबेस को और कारगर बनानाTo reduce redundancy and improve database efficiency
  2. Bरिलेशन में attribute की संख्या बढ़ानाTo increase the number of attributes in the relation
  3. Cरिलेशन में और functional dependency जोड़नाTo introduce more functional dependencies into the relation
  4. Dquery optimization की algorithm सरल करनाTo simplify query optimization algorithms
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 14उत्तर app में
किसी functional dependency समुच्चय का minimal cover निकालने के लिए आम तौर पर किस तरह की algorithm इस्तेमाल होती है?
Which of the following algorithms is commonly used to find the minimal cover of a set of functional dependencies?
  1. Aविस्तार-पहले खोज (Breadth-first search, BFS)Breadth-first search (BFS)
  2. Bगहराई-पहले खोज (Depth-first search, DFS)Depth-first search (DFS)
  3. Cलोभी algorithm (Greedy algorithm)Greedy algorithm
  4. Dफ़्लॉयड-वॉरशल algorithm (Floyd-Warshall algorithm)Floyd-Warshall algorithm
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 15उत्तर app में
minimal cover निकालते समय बाएँ पक्ष से फ़ालतू (extraneous) attribute हटाने का उद्देश्य क्या है?
In the context of finding the minimal cover of a set of functional dependencies, what is the purpose of removing extraneous attributes?
  1. Aदोहराव (redundancy) पैदा करनाTo introduce redundancy
  2. Bdependency की संख्या बढ़ानाTo increase the number of dependencies
  3. Cdependency का अर्थ बदले बिना उन्हें सरल करनाTo simplify the dependencies without changing their meaning
  4. Dसंयुक्त (composite) dependency बनानाTo create composite dependencies
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 16उत्तर app में
किसी functional dependency समुच्चय का minimal cover निकालते समय, attribute समुच्चय का closure किसे दर्शाता है?
In the context of finding the minimal cover of a set of functional dependencies, what does the closure of an attribute set represent?
  1. Aरिलेशन में attribute की अधिकतम संख्याThe maximum number of attributes in the relation
  2. Bवे attribute जो दिए गए समुच्चय से तय नहीं हो सकतेThe subset of attributes that cannot be determined by the given set
  3. Cवे attribute जो दिए गए समुच्चय से तय हो जाते हैंThe subset of attributes that can be determined by the given set
  4. Dसमुच्चय से अनावश्यक attribute हटानाThe elimination of redundant attributes from the set
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 17उत्तर app में
functional dependency का समुच्चय {A → B, B → C, AC → D} दिया है। इसका minimal cover क्या होगा?
Consider a set of functional dependencies {A → B, B → C, AC → D}. What is the minimal cover of this set?
  1. A{A → B, B → C, AC → D}
  2. B{A → B, B → C, A → D}
  3. C{A → B, B → C, C → D}
  4. D{A → B, B → C, D → A}
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 18उत्तर app में
किसी functional dependency समुच्चय के minimal cover की विशेषता इनमें से कौन-सी है?
Which of the following is a characteristic of the minimal cover of a set of functional dependencies?
  1. Aइसमें संभव सारी dependency शामिल रहती हैं।It includes all possible dependencies.
  2. Bइसमें अनावश्यक (redundant) dependency बची रहती हैं।It contains redundant dependencies.
  3. Cयह मूल समुच्चय के समतुल्य (equivalent) सबसे छोटा dependency समुच्चय होता है।It is a minimal set of dependencies equivalent to the original set.
  4. Dइसमें सिर्फ़ संयुक्त (composite) dependency होती हैं।It consists of composite dependencies only.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 19उत्तर app में
एक निर्माण कंपनी (manufacturing company) के डेटाबेस में production order वाले रिलेशन में attribute Order_ID, Product_ID, Quantity और Deadline_Date हैं। functional dependency है {Order_ID, Product_ID → Quantity, Deadline_Date}। इस रिलेशन की संभावित candidate key क्या है?
In a database for a manufacturing company, consider a relation representing production orders with attributes Order_ID, Product_ID, Quantity, and Deadline_Date. The functional dependencies are {Order_ID, Product_ID → Quantity, Deadline_Date}. What is a potential candidate key for this relation?
  1. A{Order_ID, Quantity}
  2. B{Product_ID, Deadline_Date}
  3. C{Order_ID, Product_ID}
  4. D{Product_ID, Quantity}
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 20उत्तर app में
एक ऑनलाइन नीलामी (online auction) डेटाबेस के रिलेशन में attribute Auction_ID, Item_ID, Bidder_ID और Bid_Amount हैं। functional dependency है {Auction_ID, Item_ID → Bidder_ID, Bid_Amount}। इस रिलेशन की candidate key क्या हो सकती है?
Consider a database for an online auction platform with a relation containing attributes Auction_ID, Item_ID, Bidder_ID, and Bid_Amount. The functional dependencies are {Auction_ID, Item_ID → Bidder_ID, Bid_Amount}. What could be a candidate key for this relation?
  1. A{Auction_ID, Item_ID}
  2. B{Auction_ID, Bidder_ID}
  3. C{Item_ID, Bidder_ID}
  4. D{Bidder_ID, Bid_Amount}
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 21उत्तर app में
एक होटल प्रबंधन (hotel management) डेटाबेस के रिलेशन में attribute Reservation_ID, Guest_ID, Room_Number और Check-in_Date हैं। functional dependency है {Reservation_ID → Guest_ID, Room_Number, Check-in_Date}। इस रिलेशन की candidate key क्या हो सकती है?
Consider a database for a hotel management system with a relation containing attributes Reservation_ID, Guest_ID, Room_Number, and Check-in_Date. The functional dependencies are {Reservation_ID → Guest_ID, Room_Number, Check-in_Date}. What could be a candidate key for this relation?
  1. A{Reservation_ID}
  2. B{Guest_ID, Room_Number}
  3. C{Guest_ID, Check-in_Date}
  4. D{Room_Number, Check-in_Date}
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 22उत्तर app में
एक सोशल नेटवर्किंग (social networking) डेटाबेस के रिलेशन में attribute User_ID, Post_ID, Content और Timestamp हैं। functional dependency है {User_ID, Post_ID → Content, Timestamp}। इस रिलेशन की संभावित candidate key क्या है?
Suppose you have a database for a social networking platform with a relation containing attributes User_ID, Post_ID, Content, and Timestamp. The functional dependencies are {User_ID, Post_ID → Content, Timestamp}. What is a potential candidate key for this relation?
  1. A{User_ID, Post_ID}
  2. B{User_ID, Content}
  3. C{Post_ID, Content}
  4. D{Post_ID, Timestamp}
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 23उत्तर app में
किसी कर्मचारी प्रबंधन डेटाबेस में कर्मचारी का रिकॉर्ड Employee_ID, Name, Department और Manager_ID एट्रिब्यूट में रखा जाता है। यदि functional dependency {Employee_ID → Name, Name → Department} हों, तो इस रिलेशन की candidate key क्या होगी?
Consider an employee management database system where a relation stores employee records with attributes Employee_ID, Name, Department, and Manager_ID. If the functional dependencies are {Employee_ID → Name, Name → Department}, what is a candidate key for the employee relation?
  1. A{Employee_ID}
  2. B{Name}
  3. C{Department}
  4. Dउपरोक्त में से कोई नहींNone of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 24उत्तर app में
किसी अस्पताल के डेटाबेस में मरीज़ का विवरण Patient_ID, Name, Date_of_Birth और Insurance_ID एट्रिब्यूट में रखा जाता है। यदि functional dependency {Patient_ID → Name, Name → Date_of_Birth} हों, तो इस रिलेशन की candidate key क्या होगी?
Consider a hospital database system where a relation stores patient details with attributes Patient_ID, Name, Date_of_Birth, and Insurance_ID. If the functional dependencies are {Patient_ID → Name, Name → Date_of_Birth}, what is a candidate key for the patient relation?
  1. A{Patient_ID}
  2. B{Name}
  3. C{Date_of_Birth}
  4. Dउपरोक्त में से कोई नहींNone of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 25उत्तर app में
किसी विश्वविद्यालय के डेटाबेस में छात्र का रिकॉर्ड Student_ID, Name, Email और Phone_Number एट्रिब्यूट में रखा जाता है। यदि functional dependency {Student_ID → Name, Name → Email, Email → Phone_Number} हों, तो इस रिलेशन की candidate key क्या होगी?
In a university database system, a relation stores student records with attributes Student_ID, Name, Email, and Phone_Number. If the functional dependencies are {Student_ID → Name, Name → Email, Email → Phone_Number}, what is a candidate key for the student relation?
  1. A{Student_ID}
  2. B{Name}
  3. C{Email}
  4. D{Student_ID, Name}
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 27उत्तर app में
रिलेशन R(A, B, C, D) में functional dependency {AB → C, C → D, D → A} हैं। इनमें से कौन-सा समूह candidate key है?
In a relation R(A, B, C, D) with functional dependencies {AB → C, C → D, D → A}, which of the following sets is a candidate key?
  1. A{A, B}
  2. B{A, C}
  3. C{C, D}
  4. D{D, A}
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 28उत्तर app में
रिलेशन R(A, B, C, D, E) में functional dependency {AB → C, C → D, D → AE} हैं। इनमें से कौन-सा समूह इस रिलेशन की candidate key है?
Given a relation R(A, B, C, D, E) with functional dependencies {AB → C, C → D, D → AE}. Which of the following sets of attributes is a candidate key for relation R?
  1. A{A, B}
  2. B{A, C}
  3. C{B, E}
  4. D{C, D}
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 29उत्तर app में
रिलेशन R(A, B, C, D) में functional dependency {A → B, B → C, CD → A} हैं। इस रिलेशन की candidate key क्या है?
Consider a relation R(A, B, C, D) with functional dependencies {A → B, B → C, CD → A}. What is the candidate key for this relation?
  1. A{A}
  2. B{A, B}
  3. C{B, C}
  4. D{C, D}
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 30उत्तर app में
रिलेशन R(A, B, C, D, E) में functional dependency {A → BC, CD → E} हैं। इनमें से कौन-सा समूह इस रिलेशन की super key नहीं है?
Consider a relation R(A, B, C, D, E) with functional dependencies {A → BC, CD → E}. Which of the following is not a super key for this relation?
  1. A{A, B, C}
  2. B{A, C, D}
  3. C{A, C, D, E}
  4. D{A, B, C, D}
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
Basic of Functional Dependencies and normalization relational database के सभी 83 प्रश्न — उत्तर, हल और अभ्यास

FliQi Question Bank app में topic-वार अभ्यास, कठिनाई-स्तर और आपकी प्रगति।

  • पहला test मुफ़्त
  • हिंदी + English
  • जाँचे हुए उत्तर और हल

यह topic किन परीक्षाओं में आता है

Programmer DBMS के दूसरे topics

सभी topics