← RGPV CS-502 DBMS June 2026 solved question paper
RGPV CS-502 (GS) | June 2026 | Q2(b) | 7 marks (inferred)
Question (restated): Discuss attributes, relationship constraints and aggregation in ER modelling.
Answer

Attributes describe entities or relationships. Simple attributes are indivisible for the application; composite attributes contain components; single-valued attributes have one value per entity; multivalued attributes may contain several values; derived attributes are computed from other data. A key attribute uniquely identifies an entity. For Student, RollNo is a key, Address may be composite, Phone may be multivalued and Age may be derived from DateOfBirth.
Relationship constraints describe allowed associations. Cardinality specifies maximum participation: one-to-one, one-to-many or many-to-many. Participation specifies minimum involvement: total participation requires every entity to participate, while partial participation permits none. For example, every employee may be required to belong to exactly one department, while a department may have zero or more employees.
Aggregation treats a relationship and its participating entities as a higher-level conceptual object that can participate in another relationship. Suppose Employee works on Project through WorksOn, and Manager monitors that particular assignment. Monitoring Employee alone or Project alone would not identify the assignment. Aggregating WorksOn permits the monitoring relationship to refer to the employee-project pair.
In relational mapping, WorksOn(EmployeeID, ProjectID, Hours) can have a composite key; Monitors(ManagerID, EmployeeID, ProjectID) references that key. Aggregation is distinct from SQL aggregate functions and from generalization, which represents an is-a hierarchy. These constructs help express business semantics and enforce valid associations.
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion