Difficulty: Medium
Correct Answer: One owner record type and one member record type are defined; there can be many owner and member occurrences at runtime
Explanation:
Introduction / Context:CODASYL (Conference on Data Systems Languages) defined the classic network data model used by early DBMSs. Understanding ‘‘set types’’—which relate an owner record type to a member record type—is central to reasoning about CODASYL schemas and navigation.
Given Data / Assumptions:
Concept / Approach:In CODASYL, each set type specifies one owner record type and one member record type. ‘‘Occurrences’’ are runtime instances: there can be many owner occurrences and many member occurrences linked through set occurrences. Navigation uses currency indicators to traverse owner-to-member and member-to-owner.
Step-by-Step Solution:
Identify schema-level cardinality: 1 owner type : 1 member type (per set type).Recognize runtime multiplicity: many occurrences of each type can participate.Select the option that states both facts accurately.Verification / Alternative check:Example: Set type EMP-OF-DEPT has owner DEPARTMENT and member EMPLOYEE. Many departments and many employees exist; each set occurrence links one department to zero or more employees.
Why Other Options Are Wrong:
Common Pitfalls:Confusing schema definitions (types) with runtime instances (occurrences), and assuming multiple member types belong to one set type.
Final Answer:One owner record type and one member record type are defined; there can be many owner and member occurrences at runtime
Discussion & Comments