पहले 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
ADisjoint
BPartial
COverlapping
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
AEllipse
BDashed ellipse
CRectangle
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
AEllipse
BDashed ellipse
CRectangle
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
AEllipse
BDashed ellipse
CRectangle
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
ATuple
BRelation
CAttribute
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.
APeter Chen
BRaymond Boyce
CE. F. CoddEF Codd
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.
AEntity Integrity Constraints
BReferential Integrity Constraints
CDomain Integrity Constraints
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.
AWeak entity
BStrong entity
CNon attributes entity
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.
AEntity
BAttribute
CRelationship
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
ASpecialization
BGeneralization
CAggregation
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 — अभ्यास, हल और आपकी प्रगति
निम्नलिखित में से कौन-से कथन सही हैं? 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
Conceptual design (वैचारिक डिज़ाइन) के संबंध में सबसे उपयुक्त विकल्प चुनिए।
Choose the most appropriate choice with respect to conceptual design.
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
Bडेटाबेस का आकार तय करने के लिए conceptual design को data volume और processing frequencies चाहिएConceptual design needs data volume and processing frequencies to determine the size of the database
Cकिसी भी conceptual design का output एक E-R आरेख होता हैOutput of any conceptual design is an E-R diagram
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.
A weak entity set in an E-R diagram is an entity set that:
Aजिसकी primary key होती हैhas a primary key
Bकिसी one-to-many relationship set का हिस्सा होना ही चाहिएmust be part of a one to many relationship set
Cकिसी dominant entity पर अपने अस्तित्व के लिए निर्भर नहीं होताis not existence dependent on a dominant entity
Dकिसी दूसरे entity set के साथ identifying relationship में owner के रूप में भाग नहीं ले सकताmust not participate as owner in an identifying relationship with another entity set