PGDCA, BCA, B-Tech, MCA, M-Tech, B.Sc computer science राजस्थान सूचना सहायक व कंप्यूटर शिक्षक विशेष नोट्स: इस अध्याय में हम Data Models: Hierarchical, Network, Relational and Object-Oriented (डेटा मॉडल्स: पदानुक्रमित, नेटवर्क, रिलेशनल और ऑब्जेक्ट-ओरिएंटेड मॉडल्स) की संपूर्ण थ्योरी, मुख्य तकनीकी बिंदु, तुलनात्मक तालिका और विगत परीक्षाओं के पैटर्न पर आधारित 20 अति-महत्वपूर्ण बहुविकल्पीय प्रश्न (MCQs) विस्तृत हिंदी व अंग्रेजी व्याख्या सहित पढ़ेंगे।
Overview: Data Models provide conceptual blueprints for organizing data, relationships, and constraints—evolving from navigational Tree (Hierarchical) and Graph (Network) models to E.F. Codd's Relational tables and Object-Oriented / Object-Relational systems.
अध्याय सार: डेटा मॉडल्स डेटा, उनके संबंधों और नियमों को व्यवस्थित करने का ढांचा प्रदान करते हैं—जिनका विकास नेविगेशनल ट्री (पदानुक्रमित) व ग्राफ (नेटवर्क) मॉडल्स से ई.एफ. कॉड के रिलेशनल मॉडल तथा ऑब्जेक्ट-ओरिएंटेड सिस्टम तक हुआ है।
Data Models: Hierarchical, Network, Relational and Object-Oriented: Detailed Notes & Architecture (डेटा मॉडल्स: पदानुक्रमित, नेटवर्क, रिलेशनल और ऑब्जेक्ट-ओरिएंटेड मॉडल्स)
1. Classification of Data Models (Conceptual, Representational, Physical) (डेटा मॉडल्स का वर्गीकरण (कॉन्सेप्चुअल, रिप्रेजेंटेशनल, फिजिकल))
[EN] A Data Model is a collection of concepts describing data structure, relationships, semantics, and consistency constraints. High-level (Conceptual) models like the ER Model capture business semantics close to human perception. Representational (Implementation) models—Hierarchical, Network, Relational, and Object-Oriented—balance user readability with machine storage, while Low-level (Physical) models specify disk record formats, access paths, and B+ tree indexes.
[HI] डेटा मॉडल डेटा की संरचना, आपसी संबंधों और संगतता नियमों को परिभाषित करने का वैचारिक ढांचा है। उच्च-स्तरीय (कॉन्सेप्चुअल) मॉडल जैसे ER मॉडल मानवीय समझ के करीब होते हैं; रिप्रेजेंटेशनल मॉडल्स (पदानुक्रमित, नेटवर्क, रिलेशनल, ऑब्जेक्ट-ओरिएंटेड) तार्किक तालिकाओं या ग्राफ का रूप देते हैं; और निम्न-स्तरीय (फिजिकल) मॉडल डिस्क पर रिकॉर्ड व इंडेक्स प्रारूप बताते हैं।
2. Hierarchical & Network Models (1960s Navigational Models) (पदानुक्रमित और नेटवर्क मॉडल्स (1960 के नेविगेशनल मॉडल्स))
[EN] The Hierarchical Model (pioneered by IBM's IMS in 1966) organizes records in an inverted Tree structure with strict parent-child 1:N links; every child node has at most one parent, making M:N relationships awkward without duplicating records. The Network Model (standardized by CODASYL DBTG in 1969/1971, e.g., IDMS) generalizes the tree into a Directed Graph using Owner-Member sets so a child record can link to multiple parents. Both are 'navigational', forcing programmers to traverse physical record pointers step-by-step.
[HI] पदानुक्रमित मॉडल (जैसे IBM IMS) डेटा को एक ट्री संरचना में रखता है जहाँ हर चाइल्ड का केवल एक पैरेंट (1:N) होता है, इसलिए M:N संबंध दिखाने पर डेटा दोहराव होता है। नेटवर्क मॉडल (CODASYL DBTG मानक, जैसे IDMS) इसे डायरेक्टेड ग्राफ में बदलकर Owner-Member सेट के माध्यम से एक चाइल्ड को कई पैरेंट्स से जोड़ने देता है। ये दोनों मॉडल 'नेविगेशनल' हैं जिनमें प्रोग्रामर को पॉइंटर के सहारे चलना पड़ता है।
3. Relational Model (E.F. Codd, 1970) (रिलेशनल मॉडल (ई.एफ. कॉड, 1970))
[EN] Proposed by Edgar F. Codd in his landmark 1970 paper, the Relational Model eliminates physical pointer navigation by storing data in mathematical 2D Relations (Tables) composed of rows (Tuples) and columns (Attributes). Every attribute draws values from an atomic Domain, the number of columns defines the Degree (Arity), and row count defines Cardinality. Relationships (1:1, 1:N, and M:N) are modeled declaratively via Primary Keys and Foreign Keys and queried using set-based SQL.
[HI] 1970 में ई.एफ. कॉड द्वारा प्रतिपादित रिलेशनल मॉडल पॉइंटर नेविगेशन समाप्त कर डेटा को गणितीय 2D तालिकाओं (Relations) में रखता है, जहाँ पंक्तियों को 'टपल' (Tuples) और कॉलमों को 'एट्रिब्यूट्स' कहते हैं। कॉलम की संख्या को डिग्री (Degree) और पंक्तियों की संख्या को कार्डिनैलिटी कहते हैं। इसमें प्राइमरी व फॉरेन-की द्वारा 1:1, 1:N और M:N संबंध आसानी से बनते हैं और SQL से क्वेरी होती है।
4. Object-Oriented (OODBMS) & Object-Relational (ORDBMS) Models (ऑब्जेक्ट-ओरिएंटेड (OODBMS) और ऑब्जेक्ट-रिलेशनल (ORDBMS) मॉडल्स)
[EN] Complex domains such as CAD/CAM engineering, GIS maps, and multimedia suffer from 'object-relational impedance mismatch' when flattened into tables. Object-Oriented DBMSs (OODBMS) store persistent objects directly with Classes, Encapsulation, Inheritance, Methods, and immutable system-generated Object Identifiers (OIDs). Hybrid Object-Relational DBMSs (ORDBMS like PostgreSQL and Oracle) extend relational tables with user-defined types, inheritance, arrays, and semi-structured JSONB.
[HI] CAD/CAM, GIS और मल्टीमीडिया जैसे जटिल डेटा को साधारण तालिकाओं में तोड़ने पर 'इम्पीडेंस मिसमैच' आता है। OODBMS ऑब्जेक्ट-ओरिएंटेड अवधारणाओं—क्लास, एनकैप्सुलेशन, इनहेरिटेंस, मेथड्स और स्थायी ऑब्जेक्ट पहचानकर्ता (OID)—को सीधे डेटाबेस में सहेजता है। वहीं ORDBMS (जैसे PostgreSQL) रिलेशनल तालिकाओं में यूजर-डिफाइंड डेटा टाइप, इनहेरिटेंस और JSONB जैसी आधुनिक सुविधाएं जोड़ता है।
Syntax, Formula & Technical Example (Data Models: Hierarchical, Network, Relational and Object-Oriented)
# Structural Comparison Across the Four Data Models
# 1. HIERARCHICAL (Tree: 1 Parent/Node) : College -> Dept -> Student (M:N duplicates nodes)
# 2. NETWORK (Graph: Multiple Owners) : Dept --\ (CODASYL Owner-Member Sets)
# -> Student (Supports M:N via link records)
# Club --/
# 3. RELATIONAL (2D Tables + Keys) : SELECT s.Name, d.Title FROM Student s JOIN Dept d ON s.DeptID=d.ID;
# 4. OBJECT-ORIENTED (OID + Inheritance): class GradStudent extends Student { OID: #9041; method calcGPA(); }
Data Models: Hierarchical, Network, Relational and Object-Oriented Quick Reference & Comparison Table
| Data Model | Underlying Structure & Key Mechanism | Strength & Exam Limitation |
|---|---|---|
| Hierarchical Model | Inverted Tree structure with strict single-parent 1:N pointers | Fast 1:N traversal (IBM IMS), but M:N causes duplication |
| Network Model (CODASYL) | Directed Graph of Owner-Member sets allowing multiple parents | Handles M:N naturally, yet complex pointer navigation remains |
| Relational Model (Codd) | 2D Tables (Relations) linked logically via Primary & Foreign Keys | Declarative SQL, high Data Independence, industry standard |
| Object-Oriented Model | Persistent objects using Classes, Inheritance, Methods, and OID | Eliminates impedance mismatch for CAD/GIS; lacks SQL ubiquity |
Data Models: Hierarchical, Network, Relational and Object-Oriented Top 20 Bilingual MCQs with Answers
Q1. Who proposed the Relational Data Model in his famous 1970 research paper?
(1970 के प्रसिद्ध शोध-पत्र में रिलेशनल डेटा मॉडल का प्रस्ताव किसने दिया था?)
(A) Charles Bachman
(B) Alan Turing
(C) Peter P. Chen
(D) Dr. Edgar F. Codd (E.F. Codd)
Correct Answer: (D)
[EN] E.F. Codd published 'A Relational Model of Data for Large Shared Data Banks' in 1970 while working at IBM.
[HI] आईबीएम के वैज्ञानिक डॉ. ई.एफ. कॉड ने 1970 में रिलेशनल डेटा मॉडल प्रस्तुत किया था।
Q2. What fundamental data structure underlies the Hierarchical Data Model (such as IBM's IMS)?
(पदानुक्रमित डेटा मॉडल (जैसे IBM IMS) के मूल में कौन सी डेटा संरचना होती है?)
(A) Undirected Cyclic Graph
(B) 2D Normalized Relation Matrix
(C) Tree (Inverted Tree with single parent per child)
(D) Distributed Key-Value Hash Ring
Correct Answer: (C)
[EN] In a Hierarchical database, records form parent-child trees where every child node has strictly one parent (1:N).
[HI] पदानुक्रमित मॉडल एक ट्री संरचना पर आधारित होता है जहाँ प्रत्येक चाइल्ड नोड का केवल एक पैरेंट हो सकता है।
Q3. Which standards task group formalized the Network Data Model using Owner-Member sets?
(किस मानक समूह ने Owner-Member सेट का उपयोग करके नेटवर्क डेटा मॉडल को औपचारिक रूप दिया था?)
(A) ANSI/SPARC
(B) IETF RFC Working Group
(C) IEEE 802.11 Committee
(D) CODASYL DBTG (Data Base Task Group)
Correct Answer: (D)
[EN] CODASYL DBTG published the Network model specification (1969/1971), pioneered practically by Charles Bachman's IDS.
[HI] CODASYL DBTG ने Owner-Member सेट अवधारणा के साथ नेटवर्क डेटा मॉडल का मानकीकरण किया था।
Q4. How does the Network Model improve upon the Hierarchical Model for representing Many-to-Many (M:N) relationships?
(Many-to-Many (M:N) संबंधों को दर्शाने के लिए नेटवर्क मॉडल, पदानुक्रमित मॉडल से किस प्रकार बेहतर है?)
(A) Network databases store all files as flat CSV spreadsheets
(B) Hierarchical databases do not allow 1:N relationships
(C) Network databases prohibit parent-child relationships altogether
(D) A member record in a Network database can belong to multiple owner records simultaneously via graph links
Correct Answer: (D)
[EN] Because Network models form a general Directed Graph rather than a strict tree, a child can have multiple parents without data duplication.
[HI] नेटवर्क मॉडल डायरेक्टेड ग्राफ होता है, जिसमें एक मेंबर (चाइल्ड) रिकॉर्ड एक साथ कई ओनर (पैरेंट) रिकॉर्ड से जुड़ सकता है।
Q5. In the Relational Model, what are the mathematical terms for a table's rows, columns, number of columns, and number of rows?
(रिलेशनल मॉडल में किसी तालिका की पंक्तियों, कॉलमों, कॉलम की संख्या और पंक्तियों की संख्या को क्रमशः क्या कहते हैं?)
(A) Classes, Methods, Encapsulation, and OID
(B) Vertices, Edges, Weight, and Span
(C) Segments, Roots, Pointers, and Offsets
(D) Tuples, Attributes, Degree, and Cardinality
Correct Answer: (D)
[EN] A Relation has Tuples (rows) and Attributes (columns); its Degree (Arity) is attribute count, and Cardinality is tuple count.
[HI] रिलेशनल तालिका में पंक्ति = टपल, कॉलम = एट्रिब्यूट, कॉलम संख्या = डिग्री और पंक्तियों की संख्या = कार्डिनैलिटी कहलाती है।
Q6. Why are Hierarchical and Network models classified as 'Navigational' models?
(पदानुक्रमित और नेटवर्क मॉडल्स को 'नेविगेशनल' (Navigational) मॉडल्स क्यों कहा जाता है?)
(A) They store data exclusively in SQL Views
(B) They require web browsers for every database query
(C) Application programs must explicitly follow physical pointers step-by-step from record to record to fetch data
(D) They automatically plot GPS navigation routes on screen
Correct Answer: (C)
[EN] Unlike declarative SQL ('say WHAT you want'), navigational APIs use `GET FIRST`, `GET NEXT WITHIN PARENT` commands traversing linked pointers.
[HI] इनमें डेटा प्राप्त करने के लिए प्रोग्रामर को 'क्या चाहिए' के बजाय 'कैसे पहुंचना है' (पॉइंटर-दर-पॉइंटर नेविगेशन) कोड में लिखना पड़ता था।
Q7. What does an Object Identifier (OID) represent in an Object-Oriented DBMS (OODBMS)?
(ऑब्जेक्ट-ओरिएंटेड DBMS (OODBMS) में ऑब्जेक्ट आइडेंटिफ़ायर (OID) क्या दर्शाता है?)
(A) A system-generated, globally unique, immutable identifier assigned to an object independent of its attribute values
(B) A temporary cookie string expiring when the browser closes
(C) A user-editable telephone number stored in plaintext
(D) The physical sector offset of a Windows FAT32 partition
Correct Answer: (A)
[EN] Unlike Relational Primary Keys (which change if SSN/email updates), an OID permanently identifies an object throughout its entire lifecycle even if attributes change.
[HI] OID सिस्टम द्वारा प्रदत्त एक अद्वितीय व अपरिवर्तनीय पहचानकर्ता है, जो ऑब्जेक्ट के एट्रिब्यूट मान बदलने पर भी स्थिर रहता है।
Q8. What problem known as 'Object-Relational Impedance Mismatch' motivated Object-Oriented and Object-Relational DBMSs?
(किस 'ऑब्जेक्ट-रिलेशनल इम्पीडेंस मिसमैच' समस्या ने OODBMS और ORDBMS के विकास को प्रेरित किया?)
(A) A mismatch between AC and DC power supplies inside server racks
(B) A bug preventing numeric integers from sorting alphabetically
(C) The friction and overhead of translating nested in-memory OOP objects (with inheritance/lists) into flat 2D relational tables
(D) An incompatibility between Ethernet cables and SQL keywords
Correct Answer: (C)
[EN] Flattening complex inheritance hierarchies and nested collections across relational joins requires heavy ORM glue code, which OODBMS/ORDBMS avoids.
[HI] प्रोग्रामिंग भाषाओं के जटिल नेस्टेड ऑब्जेक्ट्स व इनहेरिटेंस को 2D रिलेशनल तालिकाओं में बार-बार तोड़ने व जोड़ने की कठिनाई को इम्पीडेंस मिसमैच कहते हैं।
Q9. Which modern open-source database exemplifies an Object-Relational DBMS (ORDBMS) supporting table inheritance, custom types, and JSONB?
(कौन सा आधुनिक ओपन-सोर्स डेटाबेस टेबल इनहेरिटेंस, कस्टम डेटा टाइप और JSONB का समर्थन करने वाले ऑब्जेक्ट-रिलेशनल DBMS (ORDBMS) का उदाहरण है?)
(A) PostgreSQL
(B) MS-DOS FAT16
(C) Early dBase II
(D) IBM IMS (1966)
Correct Answer: (A)
[EN] PostgreSQL grew from UC Berkeley's POSTGRES project specifically to merge Relational SQL with Object-Oriented extensibility.
[HI] PostgreSQL एक प्रमुख ORDBMS है जो रिलेशनल SQL के साथ ऑब्जेक्ट-ओरिएंटेड एक्सटेंसिबिलिटी, कस्टम टाइप और इनहेरिटेंस देता है।
Q10. In the Relational Model, how are relationships between two tables logically represented without explicit memory pointers?
(रिलेशनल मॉडल में बिना भौतिक मेमोरी पॉइंटर्स के दो तालिकाओं के बीच संबंध तार्किक रूप से कैसे दिखाए जाते हैं?)
(A) By storing hexadecimal RAM addresses in every cell
(B) By keeping all tables inside a single text column
(C) By matching attribute values via Primary Keys and Foreign Keys
(D) By physically sorting the entire hard disk alphabetically
Correct Answer: (C)
[EN] Storing a parent's Primary Key value as a Foreign Key inside the child table links rows logically across relations.
[HI] एक तालिका की प्राइमरी-की को दूसरी तालिका में फॉरेन-की के रूप में रखकर तार्किक संबंध स्थापित किए जाते हैं।
Q11. Which data model category includes the Entity-Relationship (ER) Model?
(एंटिटी-रिलेशनशिप (ER) मॉडल किस श्रेणी के डेटा मॉडल में आता है?)
(A) High-level / Conceptual Data Model
(B) Navigational Pointer Model
(C) Assembly Register Model
(D) Low-level Physical Storage Model
Correct Answer: (A)
[EN] The ER model is a high-level semantic conceptual tool used during initial database design before mapping to relational tables.
[HI] ER मॉडल एक उच्च-स्तरीय (कॉन्सेप्चुअल) डेटा मॉडल है जिसका उपयोग शुरुआती डिज़ाइन चरण में किया जाता है।
Q12. In a Hierarchical database, what anomaly occurs if you must store a newly hired employee before they are assigned to any department?
(पदानुक्रमित डेटाबेस में यदि किसी नए कर्मचारी का डेटा किसी विभाग के आवंटन से पहले सहेजना हो, तो कौन सी समस्या आती है?)
(A) Insertion Anomaly (a child record cannot easily exist independently without its parent node in a strict hierarchy)
(B) Normalization Perfection
(C) Multi-Valued Atomicity
(D) Object Encapsulation
Correct Answer: (A)
[EN] Strict parent-child dependency in trees makes storing orphan children awkward without dummy parent nodes.
[HI] ट्री संरचना में पैरेंट के बिना चाइल्ड नोड को अलग से डालना कठिन होता है, जिससे इंसर्शन विसंगति (Insertion Anomaly) होती है।
Q13. Which feature of OODBMS binds both data attributes and behavioral operations (methods) together inside a single persistent unit?
(OODBMS की कौन सी विशेषता डेटा एट्रिब्यूट्स और उनसे जुड़े ऑपरेशंस (Methods) को एक ही इकाई में बांधती है?)
(A) Encapsulation
(B) Fragmentation
(C) Denormalization
(D) Cartesian Product
Correct Answer: (A)
[EN] Encapsulation bundles state (attributes) and behavior (methods) within object classes while hiding internal representation.
[HI] एनकैप्सुलेशन डेटा और उस पर काम करने वाले मेथड्स को एक क्लास/ऑब्जेक्ट के भीतर समेकित रूप से बांधता है।
Q14. If a relational table `Course(CourseID, Title, Credits, Dept)` currently stores 450 rows, what are its Degree and Cardinality?
(यदि एक रिलेशनल तालिका `Course(CourseID, Title, Credits, Dept)` में वर्तमान में 450 पंक्तियां हैं, तो इसकी डिग्री (Degree) और कार्डिनैलिटी (Cardinality) क्या होगी?)
(A) Degree = 454 and Cardinality = 0
(B) Degree = 450 and Cardinality = 4
(C) Degree = 4 and Cardinality = 450
(D) Degree = 1 and Cardinality = 4
Correct Answer: (C)
[EN] Degree equals the number of columns/attributes (4), whereas Cardinality equals the number of rows/tuples (450).
[HI] डिग्री कॉलमों की संख्या (4) होती है और कार्डिनैलिटी पंक्तियों की संख्या (450) होती है।
Q15. Why did the Relational Model eventually replace Hierarchical and Network databases for mainstream enterprise applications?
(मुख्यधारा के एंटरप्राइज सिस्टम में रिलेशनल मॉडल ने पदानुक्रमित और नेटवर्क मॉडल्स का स्थान क्यों ले लिया?)
(A) It prohibited all foreign keys and joins
(B) It offered strong mathematical foundations (relational algebra), declarative SQL, and high Physical Data Independence
(C) It required zero RAM and zero CPU power
(D) It forced programmers to manually manage disk cylinder addresses
Correct Answer: (B)
[EN] Relational databases freed programmers from brittle pointer traversal while providing flexible ad-hoc querying via SQL.
[HI] रिलेशनल मॉडल ने मजबूत गणितीय आधार, सरल डिक्लेरेटिव SQL और उच्च फिजिकल डेटा इंडिपेंडेंस प्रदान किया।
Q16. Which of the following statements about Data Models is FALSE?
(डेटा मॉडल्स के बारे में निम्नलिखित में से कौन सा कथन असत्य (FALSE) है?)
(A) OODBMS extends database persistence with OOP concepts like inheritance and OIDs
(B) The Network Model uses a graph structure capable of modeling M:N relationships
(C) In the Hierarchical Data Model, a child node can simultaneously belong to three different parent nodes directly
(D) E.F. Codd introduced the Relational Model in 1970 using 2D tables
Correct Answer: (C)
[EN] In a strict Hierarchical Tree, every child node has at most ONE parent; multiple parents require the Network Graph model.
[HI] पदानुक्रमित (Hierarchical) मॉडल के ट्री ढांचे में एक चाइल्ड का केवल एक ही पैरेंट हो सकता है; एक से अधिक पैरेंट केवल नेटवर्क मॉडल में संभव हैं।
Q17. Within Data Models: Hierarchical, Network, Relational and Object-Oriented, which data model directly maps to: "Inverted Tree structure with strict single-parent 1:N pointers"?
(Data Models: Hierarchical, Network, Relational and Object-Oriented में कौन सा Data Model सीधे "Inverted Tree structure with strict single-parent 1:N pointers" से संबंधित है?)
(A) Network Model (CODASYL)
(B) Hierarchical Model
(C) Object-Oriented Model
(D) Relational Model (Codd)
Correct Answer: (B)
[EN] In Data Models: Hierarchical, Network, Relational and Object-Oriented, 'Hierarchical Model' handles 'Inverted Tree structure with strict single-parent 1:N pointers' (Fast 1:N traversal (IBM IMS), but M:N causes duplication).
[HI] Data Models: Hierarchical, Network, Relational and Object-Oriented में 'Hierarchical Model' का कार्य/विवरण 'Inverted Tree structure with strict single-parent 1:N pointers' (Fast 1:N traversal (IBM IMS), but M:N causes duplication) है।
Q18. Which option accurately describes 'Network Model (CODASYL)' in Data Models: Hierarchical, Network, Relational and Object-Oriented?
(Data Models: Hierarchical, Network, Relational and Object-Oriented के संदर्भ में 'Network Model (CODASYL)' की सही विशेषता कौन सी है?)
(A) 2D Tables (Relations) linked logically via Primary & Foreign Keys
(B) Persistent objects using Classes, Inheritance, Methods, and OID
(C) Directed Graph of Owner-Member sets allowing multiple parents
(D) Inverted Tree structure with strict single-parent 1:N pointers
Correct Answer: (C)
[EN] 'Network Model (CODASYL)' provides 'Directed Graph of Owner-Member sets allowing multiple parents' — key point: Handles M:N naturally, yet complex pointer navigation remains.
[HI] 'Network Model (CODASYL)' का मुख्य विवरण 'Directed Graph of Owner-Member sets allowing multiple parents' है (Handles M:N naturally, yet complex pointer navigation remains)।
Q19. In Data Models: Hierarchical, Network, Relational and Object-Oriented, identify the correct parameter for the specification: "2D Tables (Relations) linked logically via Primary & Foreign Keys".
(Data Models: Hierarchical, Network, Relational and Object-Oriented में "2D Tables (Relations) linked logically via Primary & Foreign Keys" विवरण किस विकल्प के लिए सही है?)
(A) Network Model (CODASYL)
(B) Hierarchical Model
(C) Relational Model (Codd)
(D) Object-Oriented Model
Correct Answer: (C)
[EN] 'Relational Model (Codd)' corresponds to '2D Tables (Relations) linked logically via Primary & Foreign Keys' (Declarative SQL, high Data Independence, industry standard).
[HI] 'Relational Model (Codd)' का संबंध '2D Tables (Relations) linked logically via Primary & Foreign Keys' (Declarative SQL, high Data Independence, industry standard) से है।
Q20. Considering Data Models: Hierarchical, Network, Relational and Object-Oriented, what key behavior defines 'Object-Oriented Model'?
(Data Models: Hierarchical, Network, Relational and Object-Oriented में 'Object-Oriented Model' की मुख्य भूमिका या मान क्या है?)
(A) 2D Tables (Relations) linked logically via Primary & Foreign Keys
(B) Inverted Tree structure with strict single-parent 1:N pointers
(C) Directed Graph of Owner-Member sets allowing multiple parents
(D) Persistent objects using Classes, Inheritance, Methods, and OID
Correct Answer: (D)
[EN] 'Object-Oriented Model' represents 'Persistent objects using Classes, Inheritance, Methods, and OID' (Eliminates impedance mismatch for CAD/GIS; lacks SQL ubiquity).
[HI] 'Object-Oriented Model' का अर्थ/मान 'Persistent objects using Classes, Inheritance, Methods, and OID' है (Eliminates impedance mismatch for CAD/GIS; lacks SQL ubiquity)।
Data Models: Hierarchical, Network, Relational and Object-Oriented — Exam FAQs
Q1: What is the main difference between Hierarchical and Network Data Models?
पदानुक्रमित (Hierarchical) और नेटवर्क (Network) डेटा मॉडल में मुख्य अंतर क्या है?
[EN] Hierarchical models follow a strict tree where each child has only one parent (1:N), whereas Network models use a directed graph allowing a child (member) to have multiple parents (owners), naturally supporting M:N relationships.
[HI] पदानुक्रमित मॉडल एक ट्री जैसा होता है जहाँ हर चाइल्ड का एक ही पैरेंट होता है, जबकि नेटवर्क मॉडल एक ग्राफ होता है जिसमें एक चाइल्ड के कई पैरेंट हो सकते हैं।
Q2: Why are NoSQL document/graph stores used alongside Relational models today?
आज रिलेशनल मॉडल के साथ NoSQL डॉक्यूमेंट या ग्राफ डेटाबेस का उपयोग क्यों किया जाता है?
[EN] While RDBMS excels at structured ACID transactions and complex joins, semi-structured high-velocity data (MongoDB JSON) and deep social traversals (Neo4j Graphs) benefit from schema-flexible NoSQL models.
[HI] जहाँ RDBMS सख्त ACID लेनदेन के लिए सर्वश्रेष्ठ है, वहीं बदलते स्कीमा वाले बड़े वेब डेटा (JSON) या सोशल नेटवर्क ग्राफ के लिए NoSQL अधिक लचीलापन देता है।
Q3: Does Relational Model order of rows or columns matter mathematically?
क्या रिलेशनल मॉडल में पंक्तियों या कॉलमों का क्रम गणितीय रूप से मायने रखता है?
[EN] No. Mathematically a relation is a set of tuples, so row order is insignificant and column attributes are identified by name rather than left-to-right position.
[HI] नहीं, गणितीय रूप से रिलेशन टपल्स का एक सेट होता है, इसलिए पंक्तियों का क्रम कोई मायने नहीं रखता और कॉलम अपने नाम से पहचाने जाते हैं।
Post a Comment
Post a Comment