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

Relational database design — प्रश्न और उत्तर

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

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

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

भाषा
प्रश्न 1उत्तर + हल
किसी table में primary key unique होनी चाहिए ताकि वह हर row की पहचान कर सके। निम्नलिखित में से कौन-सी constraint (बाधा) इस शर्त को दर्शाती है?
Within a table, the primary key must be unique so that it will identify each row. Which of the following constraints exhibits the above criterion?
  1. Aरेफ़रेंशियल इंटीग्रिटीReferential integrity
  2. Bएंटिटी इंटीग्रिटीEntity integrity
  3. Cएनफ़ोर्स्ड इंटीग्रिटीEnforced integrity
  4. Dडोमेन इंटीग्रिटीDomain integrity

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

हल / Solution
Primary key का unique और NOT NULL होना entity integrity कहलाता है। इससे हर row की अलग पहचान पक्की रहती है। Referential integrity foreign key और primary key के मेल की जाँच करती है, एक table के अंदर पहचान की नहीं। Domain integrity देखती है कि हर column में उसके domain के सही मान ही आएँ, जैसे उम्र में अक्षर न हों। Enforced integrity कोई मानक प्रकार नहीं है।
A primary key being unique and NOT NULL is called entity integrity. It keeps the identity of every row certain. Referential integrity checks that foreign keys match primary keys, not identity within one table. Domain integrity checks that each column only holds valid values from its domain, such as no letters in an age column. Enforced integrity is not a standard type. So entity integrity is the constraint described.
प्रश्न 2उत्तर + हल
एक foreign key को:
A foreign key must:
  1. Aन्यूमेरिक होना चाहिएBe numeric
  2. Bयूनिक होना चाहिएBe unique
  3. Cdatabase की सभी tables में परिभाषित होना चाहिएBe defined in all tables within the database
  4. Dसंबंधित table की primary key के field मान से मेल खाना चाहिएMatch the field value of a primary key in a related table

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

हल / Solution
Foreign key का काम दूसरी table से जुड़ना है, इसलिए उसका हर मान संबंधित table की किसी primary key के मान से मेल खाना चाहिए। यही referential integrity है। Foreign key का numeric होना ज़रूरी नहीं, वह text भी हो सकती है। वह unique भी नहीं होती, जैसे कई orders में एक ही Customer_ID। उसे हर table में रखना भी ज़रूरी नहीं, वह सिर्फ़ जुड़ने वाली tables में होती है।
A foreign key exists to link to another table, so each of its values must match a primary key value in the related table. This is referential integrity. A foreign key need not be numeric; it can be text. It is not unique either, since many orders can share one Customer_ID. It also need not be defined in every table, only in the tables that are linked. So option 4 is correct.
प्रश्न 3उत्तर + हल
जिस relation में कोई partial dependency (आंशिक निर्भरता) नहीं है, वह ___________ normal form में होता है।
A relation that has no partial dependencies is in ___________ normal form.
  1. Aपहले (First)First
  2. Bदूसरे (Second)Second
  3. Cतीसरे (Third)Third
  4. Dचौथे (Fourth)Fourth

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

हल / Solution
Partial dependency तब होती है जब कोई non-key attribute composite primary key के सिर्फ़ एक हिस्से पर निर्भर हो। जैसे key (StudentID, CourseID) हो और CourseID → TeacherName। 1NF में रहते हुए यह निर्भरता हटा दी जाए, तो relation 2NF में आ जाता है। 1NF सिर्फ़ atomic मान माँगता है। 3NF में transitive dependency भी हटानी पड़ती है। 4NF multivalued dependency से जुड़ा है।
A partial dependency exists when a non-key attribute depends on only part of a composite primary key. For example, with key (StudentID, CourseID), the dependency CourseID → TeacherName is partial. When a 1NF relation has no such dependency, it is in 2NF. 1NF only asks for atomic values. 3NF also removes transitive dependencies. 4NF deals with multivalued dependencies, so the answer is the second normal form.
प्रश्न 4उत्तर + हल
यह key हर record की अलग पहचान करती है-
This key uniquely identifies each record-
  1. Aयूनिक कीunique key
  2. Bकी रिकॉर्डkey record
  3. Cफ़ील्ड का नामfield name
  4. Dप्राइमरी कीprimary key

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

हल / Solution
Primary key हर record की पक्की पहचान है। इसके मान unique होते हैं और NULL नहीं हो सकते, इसलिए हर row इससे अलग पहचानी जाती है। Unique key भी duplicate रोकती है, पर उसमें NULL की छूट होती है। इसलिए उससे हर record की पहचान पक्की नहीं होती। Key record कोई मानक शब्द नहीं है। Field name सिर्फ़ column का नाम है, वह किसी record को नहीं पहचानता।
The primary key is the firm identifier of every record. Its values are unique and cannot be NULL, so each row can be told apart by it. A unique key also blocks duplicates, but it allows NULL, so it does not guarantee that every record is identified. Key record is not a standard term. A field name is just the name of a column and does not identify any record.
प्रश्न 5उत्तर + हल
A_____________ database के किसी relation का वह attribute है जो उसी database के किसी दूसरे relation की primary key का काम करता है।
A_____________ is an attribute in a relation of a database that serves as the primary key of another relation in the same database.
  1. Aकम्पोज़िट कीComposite Key
  2. Bफ़ॉरेन कीForeign Key
  3. Cप्राइमरी कीPrimary Key
  4. Dयूनिक कीUnique Key

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

हल / Solution
जो attribute एक relation में रखा हो पर किसी दूसरे relation की primary key हो, वह foreign key है। जैसे Result table का Student_ID, Student table की primary key है। इसी से दोनों tables जुड़ती हैं। Composite key कई attributes से बनी key है। Primary key अपनी ही table की rows पहचानती है, दूसरी की नहीं। Unique key सिर्फ़ duplicate मान रोकती है, किसी दूसरी table से नहीं जुड़ती।
An attribute that sits in one relation but is the primary key of another relation is a foreign key. For example, Student_ID in the Result table is the primary key of the Student table, and this links the two tables. A composite key is a key made of several attributes. A primary key identifies rows of its own table, not another's. A unique key only prevents duplicates and does not link tables.
प्रश्न 6उत्तर + हल
किस database संरचना में दो या अधिक संबंधित tables का समूह होता है, जिनके बीच कम से कम एक साझा field होता है?
Which database structure consists of a set of two or more related tables with a minimum of one shared field between them?
  1. Aहायरार्किकल (पदानुक्रमित)Hierarchical
  2. Bनेटवर्कNetwork
  3. Cऑब्जेक्ट-ओरिएंटेडObject-oriented
  4. DरिलेशनलRelational

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

हल / Solution
Relational database में data कई tables में बँटा रहता है। ये tables किसी साझा field से जुड़ती हैं, जैसे Student और Marks दोनों में StudentID। यही साझा field joins को संभव बनाती है। Hierarchical मॉडल में data पेड़ जैसी parent-child संरचना में होता है। Network मॉडल में records graph की तरह pointers से जुड़े होते हैं। Object-oriented मॉडल objects और classes पर टिका है, tables पर नहीं।
In a relational database, data is split across several tables. These tables are linked through a shared field, for example StudentID in both Student and Marks. This shared field is what makes joins possible. The hierarchical model keeps data in a tree-like parent-child structure. In the network model, records are linked by pointers like a graph. The object-oriented model is built on objects and classes, not tables.
प्रश्न 7उत्तर + हल
referential integrity (संदर्भात्मक अखंडता) नियम के अनुसार ज़रूरी है कि ________
The referential integrity rule requires that ________
  1. Aहर null foreign key मान किसी मौजूद primary key मान को refer करेEvery null foreign key value must reference an existing primary key value
  2. Bकिसी attribute का एक संगत मान होAn attribute have a corresponding value
  3. Cआपने एक table की वह row मिटाई जिसकी primary key का दूसरी table में कोई मिलता foreign key मान नहीं हैYou deleted a row in one table whose primary key does not have a matching foreign key value in another table
  4. Dहर non-null foreign key मान किसी मौजूद primary key मान को refer करेEvery non-null foreign key value reference an existing primary key value

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

हल / Solution
Referential integrity नियम कहता है कि foreign key में जो भी असली मान लिखा है, वह दूसरी table की किसी मौजूद primary key से मेल खाना चाहिए। NULL का मतलब है कि अभी कोई जुड़ाव नहीं है, इसलिए NULL को refer करने की ज़रूरत नहीं। इसी वजह से पहला विकल्प ग़लत है। दूसरा विकल्प अधूरी और गोल-मोल बात है। तीसरा विकल्प एक delete की घटना बताता है, नियम नहीं।
The referential integrity rule says that every actual value stored in a foreign key must match an existing primary key value in the other table. NULL means there is no link yet, so a NULL does not need to refer to anything. That is why option 1 is wrong. Option 2 is vague and incomplete. Option 3 describes a delete event, not a rule. So option 4 states the rule correctly.
प्रश्न 8उत्तर + हल
………… attributes का एक समूह है जिसका उपयोग किसी एक entity instance की पहचान के लिए किया जाता है।
………… is a group of attributes used to identify a single entity instance.
  1. Aकैंडिडेट कीCandidate key
  2. Bकॉन्कैटिनेटेड की (संयोजित कुंजी)Concatenated key
  3. Cऑल्टरनेट कीAlternate key
  4. Dप्राइमरी कीPrimary key

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

हल / Solution
जब अकेला कोई attribute पहचान के लिए काफ़ी न हो, तो कई attributes को जोड़कर key बनाई जाती है। ऐसी key को concatenated key या composite key कहते हैं। जैसे Student_ID और Course_ID मिलकर एक enrolment की पहचान करते हैं। Candidate key और primary key एक attribute की भी हो सकती हैं, इसलिए 'समूह' उनकी पहचान नहीं है। Alternate key वह candidate key है जो primary key नहीं चुनी गई।
When no single attribute is enough to identify an instance, several attributes are joined to form the key. Such a key is called a concatenated key or composite key. For example, Student_ID and Course_ID together identify one enrolment. Candidate keys and primary keys can be a single attribute, so being a group is not what defines them. An alternate key is a candidate key that was not chosen as primary.
प्रश्न 9उत्तर + हल
दो या अधिक non-key (गैर-कुंजी) attributes के बीच की functional dependency क्या कहलाती है?
A functional dependency between two or more non-key attributes is called a:
  1. Aपार्शियल फ़ंक्शनल डिपेंडेंसीPartial functional dependency
  2. Bपार्शियल नॉन-की डिपेंडेंसीPartial non-key dependency
  3. Cट्रांज़िटिव डिपेंडेंसी (सकर्मक निर्भरता)Transitive dependency
  4. Dपार्शियल ट्रांज़िटिव डिपेंडेंसीPartial transitive dependency

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

हल / Solution
जब एक non-key attribute किसी दूसरे non-key attribute को तय करता है, तो key का असर उस तक एक बीच वाले attribute से होकर पहुँचता है। जैसे StudentID → DeptID और DeptID → DeptName, तो StudentID → DeptName transitive है। इसे transitive dependency कहते हैं और 3NF इसे हटाता है। Partial dependency में non-key attribute composite key के सिर्फ़ एक हिस्से पर निर्भर होता है। बाक़ी दो नाम मानक शब्द नहीं हैं।
When one non-key attribute determines another non-key attribute, the key reaches it only through a middle attribute. For example, StudentID → DeptID and DeptID → DeptName make StudentID → DeptName transitive. This is called a transitive dependency, and 3NF removes it. In a partial dependency, a non-key attribute depends on only part of a composite key. The other two names are not standard terms.
प्रश्न 10उत्तर + हल
यदि K किसी relation R1 में foreign key है, तो:
If K is a foreign key in a relation R1, then:
  1. AR1 के हर tuple में K का मान अलग होता हैEvery tuple of R1 has a distinct value for K
  2. BR1 के tuples में K का मान null नहीं हो सकताK cannot have a null value for tuples in R1
  3. CK किसी दूसरे relation की key हैK is a key for some other relation
  4. DK, R1 की primary key हैK is a primary key for R1

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

हल / Solution
Foreign key की पहचान यही है कि वह किसी दूसरे relation की primary key या candidate key को refer करती है। इसलिए K किसी दूसरे relation की key है। R1 में K के मान दोहराए जा सकते हैं, जैसे कई कर्मचारियों का एक ही DeptID, इसलिए पहला विकल्प ग़लत है। Foreign key NULL भी हो सकती है, जब तक कोई और रोक न हो। K का R1 की primary key होना ज़रूरी नहीं।
The defining property of a foreign key is that it refers to the primary key or candidate key of another relation. So K is a key of some other relation. Values of K may repeat in R1, such as many employees sharing one DeptID, so option 1 is wrong. A foreign key may also be NULL unless another rule forbids it. K need not be the primary key of R1 itself.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
App खोलिए
प्रश्न 11उत्तर app में
वह super key जिसमें attributes का ऐसा कोई उपसमूह न हो जो ख़ुद super key हो, क्या कहलाती है?
A super key that does not contain a subset of attributes that is itself a super key is called a:
  1. Aकैंडिडेट कीCandidate key
  2. Bप्राइमरी कीPrimary key
  3. Cसुपर कीSuper key
  4. Dसेकेंडरी कीSecondary key
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 12उत्तर app में
database table के संदर्भ में, कथन "A determines B" (A, B को निर्धारित करता है) क्या बताता है?
In the context of a database table, the statement “A determines B” indicates that:
  1. Aattribute A का मान जानकर आप attribute B का मान नहीं खोज सकतेKnowing the value of attribute A you can not look up the value of attribute B
  2. Battribute B का मान खोजने के लिए आपको attribute A का मान जानने की ज़रूरत नहीं हैYou do not need to know the value of attribute A in order to look up the value of attribute B
  3. Cattribute B का मान जानकर आप attribute A का मान खोज सकते हैंKnowing the value of attribute B you can look up the value of attribute A
  4. Dattribute A का मान जानकर आप attribute B का मान खोज सकते हैंKnowing the value of attribute A you can look up the value of attribute B
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 13उत्तर app में
entity integrity (इकाई अखंडता) नियम के अनुसार ज़रूरी है कि:
The entity integrity rule requires that:
  1. Akey का कोई हिस्सा null हो सकता हैA part of the key may be null
  2. Bforeign key के मान primary key के मानों को refer न करेंForeign key values do not reference primary key values
  3. Cदोहराए गए (duplicate) object मानों की अनुमति हैDuplicate object values are allowed
  4. Dprimary key की सभी प्रविष्टियाँ अद्वितीय (unique) होंAll primary key entries are unique
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 14उत्तर app में
relational database मॉडल का एक फ़ायदा है:
One of the advantages of a relational database model is:
  1. Aसंरचनात्मक निर्भरता (structural dependence)Structural dependence
  2. Bवैचारिक जटिलताConceptual complexity
  3. Cजटिल database designComplex database design
  4. Dआसान database designEasier database design
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 15उत्तर app में
एक table को दूसरी table से तार्किक रूप से जोड़ने के लिए क्या परिभाषित किया जाता है?
A table can be logically connected to another table by defining a:
  1. AहाइपरलिंकHyperlink
  2. Bसाझा (common) attributeCommon attribute
  3. Cप्राइमरी कीprimary key
  4. Dकैंडिडेट कीCandidate key
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 16उत्तर app में
एक candidate key (उम्मीदवार कुंजी) को निम्नलिखित में से किसे छोड़कर बाक़ी सभी शर्तें पूरी करनी चाहिए?
A candidate key must satisfy all of the following conditions EXCEPT:
  1. Akey को row की अलग पहचान करनी चाहिएThe key must uniquely identify the row
  2. Bkey को table में row की स्थिति (position) बतानी चाहिएThe key must indicate the row’s position in the table
  3. Ckey में कोई फ़ालतू (redundant) attribute नहीं होना चाहिएThe key must be nonredundant
  4. Dहर non-key attribute functionally dependent होता हैEach nonkey attribute is functionally dependent
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 17उत्तर app में
निम्नलिखित में से कौन-सी relational DBMS की विशेषता नहीं है?
Which of the following is NOT a characteristic of relational DBMS?
  1. Aटेबल्सTables
  2. Bपेड़ जैसी (tree-like) संरचनाएँtree-like structures
  3. Cजटिल तार्किक संबंधcomplex logical relationships
  4. Dरिकॉर्ड्सrecords
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 18उत्तर app में
निम्नलिखित में से कौन-सा सही है? कई tables वाले relational database का उपयोग करने में user को केवल यह जानने की ज़रूरत होती है:
Which one of the following is correct? In using a relational database consisting of a number of tables, a user only needs to know:
  1. Aहर relation में rows की संख्याThe number of rows in each relation
  2. Bहर relation में columns की संख्याThe number of columns in each relation
  3. Cहर relation में data तक पहुँचने के रास्ते (access paths)The access paths to the data in each relation
  4. Dtables के नाम और उनके ज़रूरी columns के नामThe name of the tables and the names of their relevant columns
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 19उत्तर app में
RDBMS में tables के बीच संबंध किसके उपयोग से बनाए जाते हैं?
In RDBMS, relationships between tables are created by using:
  1. Aकम्पोज़िट कीज़Composite keys
  2. Bफ़ॉरेन कीज़Foreign keys
  3. Cकैंडिडेट कीज़Candidate keys
  4. Dलोकल कीज़Local keys
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 20उत्तर app में
एक key (कुंजी):
A key:
  1. Aकेवल एक column की ही हो सकती हैCan only be one column
  2. Bएक row की पहचान करती हैIdentifies a row
  3. Cहमेशा दो या अधिक columns से बनी होनी चाहिएMust always composed of two or more column
  4. Dएक column की पहचान करती हैIdentifies a column
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 22उत्तर app में
ER आरेख में relationship (संबंध) को किसके द्वारा दर्शाया जाता है?
In an ER diagram, a relationship is represented through a:
  1. Aआयत (Rectangle)Rectangle
  2. Bहीरा/समचतुर्भुज (Diamond)Diamond
  3. Cअंडाकार (Oval)Oval
  4. Dरेखा (Line)Line
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 23उत्तर app में
ER और relational मॉडलों के लिए निम्नलिखित में से कौन-सा कथन सही है?
Which of the following statements is correct for ER and relational models?
  1. Aकिसी entity का attribute composite (संयुक्त) हो सकता हैAn attribute of an entity can be composite
  2. Bकिसी entity के attribute के एक से अधिक मान हो सकते हैंAn attribute of an entity can have more than one value
  3. Crelational table की किसी row में एक attribute का ठीक एक मान या NULL मान हो सकता हैIn a row of a relational table, an attribute can have exactly one value or a NULL value
  4. Dये सभीAll of these
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 24उत्तर app में
वह relation जिसमें हर non-key attribute primary key पर पूरी तरह functionally dependent (कार्यात्मक रूप से निर्भर) हो और कोई transitive dependency (सकर्मक निर्भरता) न हो, किस रूप में होता है?
A relation in which every non-key attribute is fully functionally dependent on the primary key and which has no transitive dependency is in:
  1. ABCNF
  2. B2NF
  3. C3NF
  4. D4NF
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 25उत्तर app में
functional dependency में, यदि A → B है, तो AC → BC होना किस नियम के रूप में जाना जाता है?
In functional dependency, if A → B, then AC → BC is referred to as:
  1. Aरिफ़्लेक्सिविटी (स्वतुल्यता)Reflexivity
  2. Bट्रांज़िटिविटी (सकर्मकता)Transitivity
  3. Cऑग्मेंटेशन (संवर्धन)Augmentation
  4. Dयूनियन (संघ)Unions
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 26उत्तर app में
entity integrity (इकाई अखंडता) के मामले में primary key कैसी हो सकती है?
In case of entity integrity, the primary key may be:
  1. Aनॉट नल (Not Null)Not Null
  2. Bनल (Null)Null
  3. Cनल और नॉट नल दोनोंBoth Null and not null
  4. Dकोई भी मानAny value
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 27उत्तर app में
कौन-से दो तरीक़े हैं जिनसे entities किसी relationship में भाग ले सकती हैं?
Which are the two ways in which entities can participate in a relationship?
  1. Aपैसिव और एक्टिवPassive and active
  2. Bटोटल और पार्शियल (पूर्ण और आंशिक)Total and partial
  3. Cसिंपल और कॉम्प्लेक्सSimple and complex
  4. Dउपरोक्त सभीAll of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 28उत्तर app में
रिलेशनल मॉडल की एक विशेषता यह है कि इसमें:
A feature of the relational model is that there:
  1. Aprimary key data की कोई ज़रूरत नहीं होतीIs no need for primary key data
  2. Bकुछ दूसरे database मॉडलों की तुलना में कहीं अधिक data independence (डेटा स्वतंत्रता) होती हैIs much more data independence than some other database models
  3. Crecords के बीच स्पष्ट (explicit) संबंध होते हैंAre explicit relationships among records.
  4. Dकई आयामों वाली tables होती हैंAre table with many dimensions
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 29उत्तर app में
A…………… columns का एक ऐसा समूह है जो table की हर row की पहचान करता है।
A…………… is a set of columns that identifies every row in a table.
  1. Aकम्पोज़िट कीComposite key
  2. Bकैंडिडेट कीCandidate key
  3. Cफ़ॉरेन कीForeign key
  4. Dसुपर कीSuper key
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 30उत्तर app में
………… का उपयोग उन entities की संख्या बताने के लिए किया जाता है जिनसे कोई दूसरी entity एक relationship set के ज़रिए जुड़ सकती है।
………… expresses the number of entities to which another entity can be associated via a relationship set.
  1. Aमैपिंग कार्डिनैलिटीMapping cardinality
  2. BटेबलTable
  3. Cस्कीमाSchema
  4. DसूचनाInformation
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
Relational database design के सभी 78 प्रश्न — उत्तर, हल और अभ्यास

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

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

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

DBMS के दूसरे topics

सभी topics