पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 20 के उत्तर और हल FliQi Question Bank app में।
भाषा
प्रश्न 1उत्तर + हल
समुच्चयन (aggregation) और संघटन (composition) के अंतर को कौन-सा कथन सबसे ठीक बताता है?
Which statement best describes the difference between aggregation and composition?
Aसंघटन की तुलना में समुच्चयन में पूरे और उसके अंशों का रिश्ता अधिक कड़ा होता है।Aggregation represents a stronger relationship between the whole and its parts compared to composition.
Bसमुच्चयन में अंश केवल पूरे के भीतर ही रह सकते हैं, संघटन में नहीं।Aggregation allows the parts to exist exclusively within the whole, while composition does not.
Cसमुच्चयन पूरे और अंशों के बीच उपसमुच्चय संबंध बताता है, जबकि संघटन पूर्ण-अंश संबंध बताता है।Aggregation implies a subset relationship between the whole and its parts, while composition implies a whole-part relationship.
Dसमुच्चयन में अंश पूरे से अलग भी बने रह सकते हैं, संघटन में नहीं।Aggregation allows the parts to exist independently of the whole, while composition does not.
सही उत्तर / Answer: (D)
हल / Solution
दोनों पूर्ण-अंश रिश्ते हैं; फ़र्क़ जुड़ाव की कसावट का है। समुच्चयन ढीला «has-a» है — अंश पूरे के बिना भी बने रहते हैं, जैसे विभाग बंद होने पर भी प्राध्यापक। संघटन कड़ा रूप है — अंश ठीक एक पूरे का होता है और पूरा मिटते ही अंश भी मिट जाता है, जैसे चालान के साथ उसकी पंक्तियाँ। इसलिए पहला और दूसरा विकल्प दोनों उलटे हैं, और तीसरे का उपसमुच्चय वाला रिश्ता विशेषीकरण का है, समुच्चयन का नहीं।
Both are whole-part links, and they differ only in how tight the binding is. Aggregation is the loose has-a form: the parts survive without the whole, as professors survive a department being closed. Composition is the strong form, where a part belongs to exactly one whole and dies with it, as invoice lines die with the invoice. The first two options reverse these facts, and a subset link belongs to specialization rather than to aggregation.
प्रश्न 2उत्तर + हल
किसी सॉफ़्टवेयर प्रणाली में समुच्चयन (aggregation) का उदाहरण क्या होगा?
In a software system, what would be an example of aggregation?
Aकोई सॉफ़्टवेयर अनुप्रयोग कई मॉड्यूल (module) से बना होता है।A software application is composed of various modules.
Bहर मॉड्यूल के अपने गुण और संबंध होते हैं।Each module has its own attributes and relationships.
Cहर मॉड्यूल को फलन (function) और चर (variable) — अलग entity में बाँट दिया जाता है।Each module is divided into separate entities for functions and variables.
Dहर फलन उसी मॉड्यूल के दूसरे फलनों का संदर्भ रखता है।Each function has a reference to other functions within the same module.
सही उत्तर / Answer: (A)
हल / Solution
समुच्चयन का रूप यही है कि एक «पूरा» कई अंशों से बने और अंश अपनी जगह बने रहें। सॉफ़्टवेयर अनुप्रयोग कई मॉड्यूल से बनता है, और वही मॉड्यूल दूसरे अनुप्रयोग में भी लगाया जा सकता है — इसलिए यह पूर्ण-अंश रिश्ता है। दूसरा विकल्प हर entity पर लागू है। तीसरा मॉड्यूल को उपवर्गों में बाँटता है, जो विशेषीकरण है, और चौथा फलनों का आपसी यानी स्वसंबंधी जुड़ाव है।
Aggregation means a whole built from parts that keep their own identity. A software application is made up of modules, and the same module can be reused in another application, so this is a genuine whole-part link. The second option is true of every entity set. The third splits a module into subclasses of functions and variables, which is specialization, and the fourth is a recursive relationship among functions.
प्रश्न 3उत्तर + हल
किसी कंप्यूटर प्रणाली में समुच्चयन (aggregation) का उदाहरण क्या होगा?
In a computer system, what would be an example of aggregation?
Aकोई कंप्यूटर प्रणाली कई परिधीय उपकरणों (peripherals) — माउस, कीबोर्ड और मॉनिटर — से बनी होती है।A computer system is composed of various peripherals such as mouse, keyboard, and monitor.
Bहर परिधीय उपकरण के अपने गुण और संबंध होते हैं।Each peripheral device has its own attributes and relationships.
Cकंप्यूटर प्रणाली के हर घटक को भंडारण और संसाधन — अलग entity में बाँट दिया जाता है।Each component of the computer system is divided into separate entities for storage and processing.
Dहर भंडारण उपकरण को डेटा फ़ाइलें सौंपी गई हैं।Each storage device has data files assigned to it.
सही उत्तर / Answer: (A)
हल / Solution
समुच्चयन में «पूरा» अपने अंशों से बनता है और अंश अलग भी चल सकते हैं। कंप्यूटर प्रणाली का माउस, कीबोर्ड और मॉनिटर से बनना यही पूर्ण-अंश रिश्ता है, क्योंकि वही माउस दूसरी मशीन पर भी लगाया जा सकता है। दूसरा विकल्प हर entity की बात कहता है। तीसरा विकल्प बाँटने यानी विशेषीकरण का है, और चौथा भंडारण उपकरण तथा फ़ाइल के बीच साधारण संबंध है।
In aggregation a whole is formed from its parts while the parts remain usable on their own. A computer system made up of a mouse, a keyboard and a monitor is that whole-part link, because the same mouse can be moved to another machine. The second option is true of every entity set. The third divides a set into subclasses, which is specialization, and the fourth is only a relationship between storage devices and files.
प्रश्न 4उत्तर + हल
किसी निर्माण प्रणाली में संघटन (composition) का उदाहरण क्या होगा?
In a manufacturing system, what would be an example of composition?
Aकोई कार कई घटकों — इंजन, पहिए और चेसिस — से बनी होती है।A car is composed of various components such as engine, wheels, and chassis.
Bहर घटक के अपने गुण और संबंध होते हैं।Each component has its own attributes and relationships.
Cहर संयोजन को श्रमिक और मशीन — अलग entity में बाँट दिया जाता है।Each assembly is divided into separate entities for workers and machines.
Dहर मशीन के लिए रखरखाव कार्यक्रम तय है।Each machine has a maintenance schedule assigned to it.
सही उत्तर / Answer: (A)
हल / Solution
संघटन पूर्ण-अंश रिश्ते का कड़ा रूप है — अंश ठीक एक ही पूरे का होता है और पूरा मिटने पर अंश भी नहीं बचता। किसी कार का इंजन, पहिए और चेसिस उसी कार के अंश हैं, इसलिए यही उदाहरण बैठता है। दूसरा विकल्प हर entity पर लागू है, तीसरा बाँटने यानी विशेषीकरण की बात करता है, और चौथा साधारण संबंध है। ढीले रूप को, जहाँ अंश अलग भी रह सकते हैं, समुच्चयन (aggregation) कहते हैं।
Composition is the strong form of the whole-part link: a part belongs to exactly one whole and does not survive the whole being deleted. The engine, wheels and chassis of one car are parts of that car, so this is the example asked for. The second option is true of every entity set, the third divides a set into subclasses and so is specialization, and the fourth is a plain relationship. The loose form, where parts live on, is aggregation.
प्रश्न 5उत्तर + हल
किसी संगीत स्ट्रीमिंग सेवा में समुच्चयन (aggregation) का उदाहरण क्या होगा?
In a music streaming service, what would be an example of aggregation?
Aकोई प्लेलिस्ट कई गानों से बनी होती है।A playlist is composed of various songs.
Bहर गाने के अपने गुण और संबंध होते हैं।Each song has its own attributes and relationships.
Cहर कलाकार को उसके एल्बम सौंपे गए हैं।Each artist has albums assigned to them.
Dहर एल्बम को गायक और संगीतकार — अलग entity में बाँट दिया जाता है।Each album is divided into separate entities for singers and composers.
सही उत्तर / Answer: (A)
हल / Solution
समुच्चयन «पूरा और अंश» का रिश्ता है, जहाँ अंश अपने-आप भी बने रहते हैं। प्लेलिस्ट कई गानों से बनती है, पर वही गाने दूसरी प्लेलिस्ट में भी रहते हैं और अकेले भी सुने जाते हैं — यही समुच्चयन है। दूसरा विकल्प हर entity की बात कहता है। तीसरा कलाकार और एल्बम के बीच साधारण संबंध है, और चौथा विकल्प entity को उपवर्गों में बाँटता है, जो विशेषीकरण (specialization) हुआ, समुच्चयन नहीं।
Aggregation is a whole-part link in which the parts keep their own existence. A playlist is built from many songs, yet the same songs sit in other playlists and can be played alone, which is just what aggregation means. The second option holds for every entity set. The third is a plain relationship between artist and album, and the fourth splits one set into subclasses, so it describes specialization instead.
प्रश्न 6उत्तर + हल
किसी निर्माण प्रणाली (manufacturing system) में समुच्चयन (aggregation) का उदाहरण क्या होगा?
In a manufacturing system, what would be an example of aggregation?
Aकोई उत्पाद कई घटकों — पुरज़ों और संयोजनों (assemblies) — से बना होता है।A product is composed of various components such as parts and assemblies.
Bहर घटक के अपने गुण और संबंध होते हैं।Each component has its own attributes and relationships.
Cहर संयोजन को श्रमिक और मशीन — अलग entity में बाँट दिया जाता है।Each assembly is divided into separate entities for workers and machines.
Dहर मशीन के लिए रखरखाव कार्यक्रम तय है।Each machine has a maintenance schedule assigned to it.
सही उत्तर / Answer: (A)
हल / Solution
समुच्चयन में एक «पूरा» अपने अंशों से बनता है और अंश अलग भी बने रह सकते हैं। उत्पाद का पुरज़ों तथा संयोजनों से बनना ठीक यही पूर्ण-अंश रिश्ता है, क्योंकि वही पुरज़े दूसरे उत्पादों में भी लग सकते हैं। दूसरा विकल्प हर entity पर लागू होता है, इसलिए वह कुछ ख़ास नहीं कहता। तीसरा विकल्प बाँटने की बात करता है, जो विशेषीकरण है, और चौथा मशीन तथा कार्यक्रम के बीच साधारण संबंध है।
In aggregation a whole is built from its parts, and the parts can still stand on their own. A product made up of parts and assemblies is exactly that whole-part link, since the same parts may also go into other products. The second option is true of every entity set and so says nothing special. The third divides one set into subsets, which is specialization, and the fourth is just an ordinary relationship between a machine and a schedule.
प्रश्न 7उत्तर + हल
आंशिक बंधन (partial constraint) वाले विशेषीकरण पदानुक्रम में, यदि कोई entity किसी भी उपवर्ग में भाग नहीं लेती, तो इसका क्या अर्थ है?
In a specialization hierarchy with a partial constraint, what does it mean if an entity does not participate in any subclass?
Aentity को कम से कम एक उपवर्ग में भाग लेना ही होगा।The entity must participate in at least one subclass.
Bentity एक साथ कई उपवर्गों में भाग ले सकती है।The entity can participate in multiple subclasses simultaneously.
Cयह पूरी तरह मान्य है — आंशिक बंधन में हर entity का किसी उपवर्ग में होना ज़रूरी नहीं।This is perfectly valid, because a partial constraint does not require every entity to belong to a subclass.
Dentity को केवल एक ही उपवर्ग में भाग लेना होगा।The entity must participate exclusively in one subclass.
सही उत्तर / Answer: (C)
हल / Solution
आंशिक बंधन पूर्णता की ढीली शर्त है — ऊपरी वर्ग की कुछ entity किसी भी उपवर्ग में न हों, यह चल जाता है। जैसे Employee में से Engineer और Manager छाँटे जाएँ, तो क्लर्क किसी उपवर्ग में नहीं बैठेगा और फिर भी डिज़ाइन सही रहेगा। «कम से कम एक में होना ही होगा» पूर्ण बंधन कहता है, इसलिए वह यहाँ ग़लत है। बाक़ी दो विकल्प असंयुक्त और अतिव्यापी बंधन की बात करते हैं, जो सदस्यता की गिनती तय करते हैं।
A partial constraint is the loose form of the completeness rule: some entities of the superclass may belong to no subclass at all. If Engineer and Manager are carved out of Employee, a clerk fits neither subclass and the design is still correct. The demand that every entity belong to at least one subclass is the total constraint, so it is wrong here. The other two options describe disjoint and overlapping constraints, which count memberships instead.
प्रश्न 8उत्तर + हल
सामान्यीकरण पदानुक्रम में, यदि अतिव्यापी बंधन (overlapping constraint) के कारण कोई entity एक से अधिक उपवर्ग में भाग ले रही है, तो क्या निष्कर्ष निकलता है?
In a generalization hierarchy, if an entity participates in more than one subclass due to overlapping constraints, what can be inferred?
Aentity को कम से कम एक उपवर्ग में भाग लेना ही होगा।The entity must participate in at least one subclass.
Bentity एक साथ कई उपवर्गों में भाग ले सकती है।The entity can participate in multiple subclasses simultaneously.
Centity किसी भी उपवर्ग में भाग नहीं ले सकती।The entity cannot participate in any subclass.
Dentity को केवल एक ही उपवर्ग में भाग लेना होगा।The entity must participate exclusively in one subclass.
सही उत्तर / Answer: (B)
हल / Solution
अतिव्यापी बंधन का मतलब यही है कि उपवर्ग आपस में entity साझा कर सकते हैं। इसलिए यदि कोई entity एक से अधिक उपवर्ग में दिख रही है, तो निष्कर्ष यही निकलता है कि यहाँ एक साथ कई उपवर्गों की सदस्यता मान्य है। «कम से कम एक में होना ही होगा» पूर्ण बंधन की शर्त है, «केवल एक ही में» असंयुक्त बंधन कहता है, और «किसी में नहीं» तो तने में दिए हुए तथ्य को ही काट देता है।
An overlapping constraint means the subclasses are allowed to share entities. So when one entity is seen in more than one subclass, the conclusion is simply that simultaneous membership of several subclasses is legal here. The claim that an entity must belong to at least one subclass is the total constraint, membership of exactly one subclass is the disjoint constraint, and saying it cannot join any subclass contradicts the fact given in the stem.
प्रश्न 9उत्तर + हल
किसी विश्वविद्यालय डेटाबेस में समुच्चयन (aggregation) का उदाहरण क्या होगा?
In a university database, what would be an example of aggregation?
Aकिसी छात्र का पाठ्यक्रम-भार (course load) उन कई पाठ्यक्रमों से बनता है जिनमें वह नामांकित है।A student's course load is made up of the several courses in which the student is enrolled.
Bकिसी विभाग को प्राध्यापक और कर्मचारी — अलग-अलग entity में बाँट दिया जाता है।A department is divided into separate entities for professors and staff.
Cहर पाठ्यक्रम के अपने गुण और संबंध होते हैं।Each course has its own attributes and relationships.
Dहर प्राध्यापक को एक शिक्षण सहायक (teaching assistant) दिया गया है।Each professor has a teaching assistant assigned to them.
सही उत्तर / Answer: (A)
हल / Solution
समुच्चयन «पूरा और उसके अंश» का रिश्ता दिखाता है, और अंश अपने-आप में भी बने रह सकते हैं। छात्र का पाठ्यक्रम-भार ऐसा ही पूरा है, जो कई पाठ्यक्रमों से बनता है, और वे पाठ्यक्रम उस छात्र के बिना भी चलते रहते हैं। विभाग को प्राध्यापक और कर्मचारी में बाँटना विशेषीकरण है। तीसरा विकल्प तो हर entity पर लागू होता है, और चौथा एक साधारण संबंध है — इनमें पूर्ण-अंश रिश्ता कहीं नहीं है।
Aggregation shows a whole together with its parts, and the parts may still exist on their own. A student's course load is such a whole: it is made up of several courses, and those courses go on running even without that student. Dividing a department into professors and staff is specialization. The third option is true of every entity set, and the fourth is an ordinary relationship, so none of them pictures a whole-part link.
प्रश्न 10उत्तर + हल
विस्तारित ER आरेख में विशेषीकरण (specialization) और सामान्यीकरण (generalization) में मुख्य अंतर क्या है?
What is the primary difference between specialization and generalization in an extended ER diagram?
Aविशेषीकरण कई entity को एक entity में मिलाता है, जबकि सामान्यीकरण एक entity को कई entity में बाँटता है।Specialization combines entities into one entity, while generalization divides one entity into multiple entities.
Bविशेषीकरण समान विशेषताओं के आधार पर entity का उपसमुच्चय परिभाषित करता है, जबकि सामान्यीकरण कई entity को मिलाकर एक entity बनाता है।Specialization defines a subset of entities based on common characteristics, while generalization combines multiple entities into one entity.
Cविशेषीकरण entity के बीच पूर्ण-अंश संबंध दर्शाता है, जबकि सामान्यीकरण उपसमुच्चय संबंध दर्शाता है।Specialization represents a whole-part relationship between entities, while generalization represents a subset relationship.
Dविशेषीकरण उपसमुच्चय संबंध दर्शाता है, जबकि सामान्यीकरण entity के बीच पूर्ण-अंश संबंध दर्शाता है।Specialization represents a subset relationship, while generalization represents a whole-part relationship between entities.
सही उत्तर / Answer: (B)
हल / Solution
विशेषीकरण ऊपर से नीचे चलता है — एक entity set में से अलग पहचान वाले उपसमूह छाँटे जाते हैं, जैसे Employee से Engineer और Manager। सामान्यीकरण नीचे से ऊपर चलता है — कई entity set के साझा गुण एक ऊपरी set में समेटे जाते हैं, जैसे Car और Truck से Vehicle। पहला विकल्प दोनों दिशाएँ उलट देता है। पूर्ण-अंश रिश्ता दिखाना समुच्चयन (aggregation) का काम है, इसलिए तीसरा और चौथा विकल्प भी ग़लत हैं।
Specialization is a top-down step: distinctive subgroups are carved out of one entity set, as Engineer and Manager are carved out of Employee. Generalization is bottom-up: the shared attributes of several entity sets are collected into one higher level set, as Car and Truck give Vehicle. The first option simply swaps the two directions. Showing a whole-part link is the job of aggregation, not of either abstraction, so the last two options are wrong as well.
आगे के 20 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
किसी कर्मचारी डेटाबेस में यदि entity का सामान्यीकरण पूर्णकालिक (Full-time) और अंशकालिक (Part-time) कर्मचारी में किया गया है, तो अतिव्यापी बंधन (overlapping constraint) का उदाहरण क्या होगा?
In an employee database, if there is a generalization of entities into Full-time and Part-time employees, what would be an example of an overlapping constraint?
Aकोई पूर्णकालिक कर्मचारी एक ही समय अंशकालिक कर्मचारी नहीं हो सकता।A full-time employee cannot be a part-time employee simultaneously.
Bहर पूर्णकालिक कर्मचारी को अंशकालिक कर्मचारी भी होना ही चाहिए।A full-time employee must also be a part-time employee.
Cकोई कर्मचारी एक ही समय पूर्णकालिक और अंशकालिक दोनों हो सकता है।An employee can be both full-time and part-time simultaneously.
Dकोई कर्मचारी न पूर्णकालिक हो सकता है, न अंशकालिक।An employee cannot be either full-time or part-time.
विस्तारित ER आरेख में विशेषीकरण (specialization) किसे दर्शाता है?
In an extended ER diagram, what does specialization represent?
Aकई entity को मिलाकर एक entity बनाने की प्रक्रिया।Process of combining multiple entities into one entity.
Bअतिरेक (redundancy) हटाने के लिए एक table को छोटी tables में तोड़ने की प्रक्रिया।Process of splitting one table into smaller tables to remove redundancy.
Cसमान विशेषताओं के आधार पर entity का उपसमुच्चय (subset) परिभाषित करने की प्रक्रिया।Process of defining a subset of entities based on common characteristics.
Dentity के बीच संबंध दर्शाने की प्रक्रिया।Process of representing relationships between entities.
मूल ER तथा रिलेशनल मॉडल को देखते हुए, निम्नलिखित में से कौन-सा कथन ग़लत (INCORRECT) है?
Given the basic ER and relational models, which of the following is INCORRECT?
Aकिसी entity के गुण (attribute) का एक से अधिक मान हो सकता है।An attribute of an entity can have more than one value
Bकिसी entity का गुण संयुक्त (composite) हो सकता है।An attribute of an entity can be composite
Cरिलेशनल table की एक पंक्ति में किसी गुण के एक से अधिक मान हो सकते हैं।In a row of a relational table, an attribute can have more than one value
Dरिलेशनल table की एक पंक्ति में किसी गुण का ठीक एक मान या NULL मान हो सकता है।In a row of a relational table, an attribute can have exactly one value or a NULL value
मान लीजिए phone_number पर विचार किया जा रहा है, जिसके एक या कई मान हो सकते हैं। phone_number को ________ मानने पर हर प्राध्यापक (instructor) के साथ कई फ़ोन नंबर — शून्य सहित — जोड़े जा सकते हैं।
Let us consider phone_number, which can take a single value or several values. Treating phone_number as an ________ permits instructors to have several phone numbers, including zero, associated with them.
परिदृश्य: विद्यार्थी पंजीकरण प्रणाली entity: विद्यार्थी (StudentID, नाम, ईमेल) पाठ्यक्रम (CourseID, शीर्षक, क्रेडिट) संबंध: पंजीकरण (StudentID, CourseID) कार्डिनैलिटी: विद्यार्थी से पंजीकरण — एक-से-अनेक पाठ्यक्रम से पंजीकरण — एक-से-अनेक भागीदारी: दोनों ओर से पंजीकरण में पूर्ण भागीदारी प्रश्न: इस विद्यार्थी पंजीकरण प्रणाली को दिखाने के लिए कितनी सारणियाँ चाहिए?
Scenario: Student Registration System Entities: Student (StudentID, Name, Email) Course (CourseID, Title, Credits) Relationships: Enrolls In (StudentID, CourseID) Cardinality Ratios: Student to Enrolls In: One-to-Many Course to Enrolls In: One-to-Many Participation Constraints: Total participation for Enrolls In from both Student and Course entities. Question: How many tables are required to represent the Student Registration System?
वंशानुक्रम वाले ER मॉडल को संबंधात्मक schema में बदलते समय, केवल संतान entity के attribute को कैसे सँभाला जाएगा?
When converting an ER model with inheritance to a relational schema, how would you handle attributes that belong only to the child entities?
Aउन्हें जनक सारणी में ही रख दिया जाए।Include them in the parent table.
Bहर संतान entity के लिए अलग सारणी बनाई जाए, जिसमें उसके सारे attribute रहें।Create a separate table for each child entity holding all of its attributes.
Cसारे संतान attribute जनक सारणी के एक ही अतिरिक्त column में एक साथ भर दिए जाएँ।Put all the child attributes together in one extra column of the parent table.
Dउन्हें schema से बाहर ही रखा जाए।Exclude them from the schema.
ER मॉडल को संबंधात्मक schema में बदलते समय बहुमानी attribute को अलग सारणी में कैसे रखा जाएगा?
When converting an ER model to a relational schema, how would you represent a multivalued attribute in a separate table?
Aसारे मान एक ही column में रख दिए जाएँ।Store all values in a single column.
Bहर मान के लिए अलग सारणी बनाई जाए।Create a separate table for each value.
Cबहुमानी attribute के लिए एक अलग सारणी बने, जिसमें मूल सारणी की foreign key हो।Create a separate table for the multivalued attribute with a foreign key reference.
Dहर attribute के लिए नेस्टेड सारणी का ढाँचा बनाया जाए।Implement a nested table structure for each attribute.