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

Database Design — प्रश्न और उत्तर

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

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

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

भाषा
प्रश्न 1उत्तर + हल
यदि कोई entity केवल एक ही lower-level entity set की सदस्य हो सकती है, तो वह constraint क्या कहलाती है?
If an entity can belong to only one lower level entity set, then the constraint is
  1. ADisjoint
  2. BPartial
  3. COverlapping
  4. DSingle

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

हल / Solution
Specialization में disjointness constraint बताती है कि एक entity कितने subclasses में जा सकती है। Disjoint में एक entity अधिक से अधिक एक lower-level entity set में होती है, जैसे Account या तो Savings होगा या Current। Overlapping में वही entity कई subclasses में हो सकती है। Partial तो completeness constraint का प्रकार है, इस प्रश्न से उसका संबंध नहीं। Single कोई मानक नाम नहीं है।
In specialization the disjointness constraint says how many subclasses an entity may belong to. With disjoint, an entity belongs to at most one lower-level entity set, for example an Account is either Savings or Current. With overlapping, the same entity can be in several subclasses. Partial is a kind of completeness constraint, which is a different idea. Single is not a standard term.
प्रश्न 2उत्तर + हल
ER आरेख में generalization को किससे दर्शाया जाता है?
In E-R diagram generalization is represented by
  1. AEllipse
  2. BDashed ellipse
  3. CRectangle
  4. DTriangle

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

हल / Solution
Generalization में कई मिलती-जुलती lower-level entity sets को मिलाकर एक higher-level entity set बनाया जाता है। यह bottom-up प्रक्रिया है। ER आरेख में इसे ISA लिखे triangle से दिखाते हैं, जो ऊपर की entity को नीचे की entities से जोड़ता है। Ellipse attribute का चिह्न है। Dashed ellipse derived attribute दिखाता है। Rectangle entity set का चिह्न है।
Generalization combines several similar lower-level entity sets into one higher-level entity set. It is a bottom-up process. In an ER diagram it is drawn as a triangle labelled ISA, which joins the higher-level entity to the lower-level ones. An ellipse stands for an attribute. A dashed ellipse shows a derived attribute. A rectangle is the symbol for an entity set.
प्रश्न 3उत्तर + हल
ER आरेख में relationship type को किससे दर्शाया जाता है?
In E-R diagram relationship type is represented by
  1. AEllipse
  2. BDashed ellipse
  3. CRectangle
  4. DDiamond

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

हल / Solution
ER आरेख में relationship type को diamond से दिखाते हैं और उसके अंदर संबंध का नाम लिखते हैं, जैसे Student और Course के बीच Enrolls। Diamond दोनों ओर lines से entities के rectangles से जुड़ता है। Ellipse सामान्य attribute का चिह्न है। Dashed ellipse derived attribute दिखाता है। Rectangle entity set का चिह्न है। इसलिए सही उत्तर Diamond है।
In an ER diagram a relationship type is drawn as a diamond with the name of the relationship inside, such as Enrolls between Student and Course. The diamond is joined by lines to the entity rectangles on both sides. An ellipse stands for an ordinary attribute. A dashed ellipse shows a derived attribute. A rectangle is the symbol for an entity set. So the answer is Diamond.
प्रश्न 4उत्तर + हल
ER आरेख में derived attribute को किससे दर्शाया जाता है?
In E-R Diagram derived attribute are represented by
  1. AEllipse
  2. BDashed ellipse
  3. CRectangle
  4. DTriangle

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

हल / Solution
Derived attribute वह है जिसकी value दूसरे attribute से गणना करके निकाली जा सके। जैसे Date_of_birth से Age। ER आरेख में इसे dashed ellipse यानी टूटी रेखा वाले अंडाकार से दिखाते हैं। साधारण ellipse सामान्य attribute का चिह्न है। Rectangle entity set को दिखाता है। Triangle specialization या generalization (ISA) के लिए है। इसलिए सही उत्तर Dashed ellipse है।
A derived attribute is one whose value can be computed from another attribute, such as Age from Date_of_birth. In an ER diagram it is drawn as a dashed ellipse. A plain ellipse stands for an ordinary attribute. A rectangle shows an entity set. A triangle is used for specialization or generalization (ISA). So the answer is Dashed ellipse.
प्रश्न 5उत्तर + हल
RDBMS की शब्दावली में row को क्या कहते हैं?
The RDBMS terminology for a row is
  1. ATuple
  2. BRelation
  3. CAttribute
  4. DDegree

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

हल / Solution
Relational model में table को relation, column को attribute और row को tuple कहते हैं। हर tuple एक पूरा record होता है, जैसे किसी एक student की पूरी जानकारी। Relation पूरी table है। Attribute एक column है। Degree किसी relation में attributes यानी columns की संख्या है। Rows की संख्या को cardinality कहते हैं। इसलिए row का सही नाम Tuple है।
In the relational model a table is called a relation, a column is called an attribute and a row is called a tuple. Each tuple is one complete record, such as all the details of one student. Relation means the whole table. Attribute means one column. Degree is the number of attributes, or columns, in a relation. The number of rows is called cardinality. So a row is a Tuple.
प्रश्न 6उत्तर + हल
______ ने relational database के नियम दिए थे।
______ introduced the relational database rules.
  1. APeter Chen
  2. BRaymond Boyce
  3. CE. F. CoddEF Codd
  4. Dउपरोक्त सभीAll of the Above

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

हल / Solution
E. F. Codd ने सन् 1970 में relational model दिया। बाद में उन्होंने यह जाँचने के लिए 12 नियम भी दिए कि कोई DBMS सचमुच relational है या नहीं। इन्हें Codd के 12 नियम कहते हैं। Peter Chen ने सन् 1976 में ER model दिया था। Raymond Boyce ने Codd के साथ मिलकर BCNF दिया था, पर relational नियम Codd के ही हैं। इसलिए "उपरोक्त सभी" भी ग़लत है।
E. F. Codd proposed the relational model in 1970. Later he also gave 12 rules to test whether a DBMS is truly relational, known as Codd's 12 rules. Peter Chen introduced the ER model in 1976. Raymond Boyce worked with Codd to define BCNF, but the relational rules are Codd's own. So "All of the Above" is also wrong.
प्रश्न 7उत्तर + हल
______ एक विशेष प्रकार की integrity constraint है जो दो relations को जोड़ती है और उनके बीच consistency बनाए रखती है।
______ is a special type of integrity constraint that relates two relations & maintains consistency across the relations.
  1. AEntity Integrity Constraints
  2. BReferential Integrity Constraints
  3. CDomain Integrity Constraints
  4. DDomain Constraints

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

हल / Solution
Referential integrity दो relations को foreign key के ज़रिए जोड़ती है। इसका नियम है कि foreign key की हर value या तो NULL हो, या दूसरी table की किसी मौजूद primary key value से मेल खाए। इससे दोनों tables में consistency बनी रहती है। Entity integrity बस यह कहती है कि primary key NULL नहीं हो सकती। Domain constraints एक ही attribute की values की सीमा तय करती हैं। ये दो relations को नहीं जोड़तीं।
Referential integrity links two relations through a foreign key. Its rule is that every foreign key value must either be NULL or match an existing primary key value in the other table. This keeps the two tables consistent. Entity integrity only says a primary key cannot be NULL. Domain constraints limit the allowed values of a single attribute. None of these others relate two relations.
प्रश्न 8उत्तर + हल
एक ______ का अपना कोई पहचान कराने वाला (distinguishing) attribute नहीं होता। ये अधिकतर आश्रित entities होती हैं, जो किसी दूसरी entity का हिस्सा होती हैं।
A ______ does not have a distinguishing attribute of its own and mostly are dependent entities, which are part of some another entity.
  1. AWeak entity
  2. BStrong entity
  3. CNon attributes entity
  4. DDependent entity

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

हल / Solution
Weak entity के पास अपना ऐसा attribute नहीं होता जो हर entity को अलग पहचान दे सके। इसकी पहचान owner entity की primary key और अपने partial key को मिलाकर होती है। जैसे किसी Employee के Dependents। Strong entity की अपनी primary key होती है। तने में ख़ुद लिखा है कि ये "अधिकतर आश्रित होती हैं", यानी आश्रित होना इनका एक गुण है, पहचान वाला नाम नहीं। Non attributes entity मानक शब्द नहीं है।
A weak entity has no attribute of its own that can tell each entity apart. It is identified by combining the primary key of its owner entity with its own partial key, like the Dependents of an Employee. A strong entity has its own primary key. The stem itself says such entities are "mostly dependent", so being dependent is a feature they share, not their defining name. Non attributes entity is not a standard term.
प्रश्न 9उत्तर + हल
ER model में ______ का वर्णन डेटाबेस में उसका डेटा संग्रहीत करके किया जाता है।
In an ER model ______ is described in the database by storing its data.
  1. AEntity
  2. BAttribute
  3. CRelationship
  4. DNotation

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

हल / Solution
Entity वास्तविक दुनिया की कोई वस्तु है, जैसे कोई student या कोई किताब। डेटाबेस में उसका वर्णन उसके attributes की values संग्रहीत करके किया जाता है, जैसे Roll_no, Name, Class। यानी जिसका डेटा रखा जाता है, वह entity है। Attribute ख़ुद वह गुण है जिससे entity का वर्णन होता है। Relationship entities को जोड़ता है। Notation तो आरेख बनाने के चिह्न हैं।
An entity is a real-world object, such as a student or a book. It is described in the database by storing the values of its attributes, like Roll_no, Name and Class. So the thing whose data is stored is the entity. An attribute is the property used to describe it, not the thing described. A relationship links entities, and notation just means the symbols used to draw a diagram.
प्रश्न 10उत्तर + हल
ER model में top-down approach को किस नाम से जाना जाता है?
In ER model, the top-down approach is known as
  1. ASpecialization
  2. BGeneralization
  3. CAggregation
  4. DInheritance

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

हल / Solution
Specialization में एक सामान्य entity set से शुरू करके उसे छोटे subgroups में बाँटा जाता है, जैसे Person से Student और Employee। ऊपर से नीचे की ओर चलने के कारण यह top-down approach है। Generalization इसका उलटा है। उसमें छोटे sets मिलाकर बड़ा set बनता है, इसलिए वह bottom-up है। Aggregation relationships के बीच संबंध दिखाता है। Inheritance attributes का नीचे की ओर जाना है।
Specialization starts from a general entity set and splits it into smaller subgroups, such as Person into Student and Employee. Since it moves from top to bottom, it is the top-down approach. Generalization is the reverse. It combines smaller sets into a bigger one, so it is bottom-up. Aggregation shows relationships among relationships. Inheritance is the passing of attributes down to subclasses.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
App खोलिए
प्रश्न 16उत्तर app में
निम्नलिखित में से कौन-से कथन सही हैं?
I. Entity Relationship Model एक process-oriented model है
II. Entity Relationship model, semantic model की श्रेणी में आता है
Which of the following statements are true?
I. Entity Relationship Model is process oriented Model
II. Entity Relationship model belong to Semantic model category
  1. Aकेवल I सहीI Only True
  2. Bकेवल II सहीII Only True
  3. CI और II दोनोंBoth I And II
  4. Dइनमें से कोई नहींNone of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 19उत्तर app में
Conceptual design (वैचारिक डिज़ाइन) के संबंध में सबसे उपयुक्त विकल्प चुनिए।
Choose the most appropriate choice with respect to conceptual design.
  1. AConceptual design एक documentation तकनीक है। Relation schemes तय हो जाने के बाद documentation के लिए उनसे E-R आरेख बनाए जा सकते हैंConceptual design is a documentation technique. Once the relation schemes are defined one can draw E-R diagrams from the relation schemes for documentation
  2. Bडेटाबेस का आकार तय करने के लिए conceptual design को data volume और processing frequencies चाहिएConceptual design needs data volume and processing frequencies to determine the size of the database
  3. Cकिसी भी conceptual design का output एक E-R आरेख होता हैOutput of any conceptual design is an E-R diagram
  4. DConceptual design में data requirements को DBMS, operating system और hardware से स्वतंत्र रखकर model किया जाता हैConceptual design involves modeling the data requirements independent of the DBMS, operating system and the hardware.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 20उत्तर app में
एक E-R में Y प्रमुख (dominant) entity है और X अधीनस्थ (subordinate) entity है। तो निम्नलिखित में से कौन-सा ग़लत है?
In an E-R, Y is the dominant entity and X is a subordinate entity. Then which of the following is incorrect?
  1. Aकार्य के स्तर पर, यदि Y delete होता है, तो X भी delete हो जाता हैOperationally, if Y is deleted, so is X
  2. Bकार्य के स्तर पर, यदि X delete होता है, तो Y वैसा ही रहता हैOperationally, if X is deleted, Y remains the same
  3. Cकार्य के स्तर पर, यदि X delete होता है, तो Y भी delete हो जाता हैOperationally, if X is deleted, so is Y
  4. DX का अस्तित्व Y पर निर्भर हैX existence is dependent on Y
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 21उत्तर app में
ER आरेख में weak entity set वह entity set है जो:
A weak entity set in an E-R diagram is an entity set that:
  1. Aजिसकी primary key होती हैhas a primary key
  2. Bकिसी one-to-many relationship set का हिस्सा होना ही चाहिएmust be part of a one to many relationship set
  3. Cकिसी dominant entity पर अपने अस्तित्व के लिए निर्भर नहीं होताis not existence dependent on a dominant entity
  4. Dकिसी दूसरे entity set के साथ identifying relationship में owner के रूप में भाग नहीं ले सकताmust not participate as owner in an identifying relationship with another entity set
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 23उत्तर app में
ER model में entities का ब्योरा उपयोगकर्ता से छिपा रहता है। इस प्रक्रिया को क्या कहते हैं?
In ER model the details of the entities are hidden from the user. This process is called:
  1. AGeneralizationgeneralization
  2. BSpecializationspecialization
  3. CAbstractionabstraction
  4. Dइनमें से कोई नहींnone of these above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 25उत्तर app में
हर weak entity set को strong entity set में किस तरह बदला जा सकता है?
Every weak entity set can be converted into a strong entity set by:
  1. AGeneralization का उपयोग करकेusing generalization
  2. Bउचित attributes जोड़करadding appropriate attributes
  3. CAggregation का उपयोग करकेusing aggregation
  4. Dइनमें से कोई नहींnone of the above
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 27उत्तर app में
Entity set "व्यक्ति" (person) को student और employee में बाँटा जाता है। इस प्रक्रिया को ______ कहते हैं।
The entity set person is classified as student and employee. This process is called ______
  1. AGeneralization
  2. BSpecialization
  3. CInheritance
  4. DConstraint generalization
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 30उत्तर app में
Relationship set advisor से दोनों entity sets instructor और student की ओर एक directed line (->) खींची गई है। यह ______ cardinality को दर्शाता है।
Consider a directed line (->) from the relationship set advisor to both entity sets instructor and student. This indicates ______ cardinality.
  1. AOne to many
  2. BOne to one
  3. CMany to many
  4. DMany to one
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
Database Design के सभी 89 प्रश्न — उत्तर, हल और अभ्यास

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

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

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

DBMS के दूसरे topics

सभी topics