...
UGC NET CS 2006 Dec-paper-2
May 20, 2024
Shortest-Path
May 20, 2024
UGC NET CS 2006 Dec-paper-2
May 20, 2024
Shortest-Path
May 20, 2024

Database-Management-System

Question 664
Consider the following Entity-Relationship (E-R) diagram and three possible relationship sets (I, II and III) for this E-R diagram:


If different symbols stand for different values (e.g., t​1​ is definitely not equal to t​2 ) ​, then which of the above could not be the relationship set for the E-R diagram ?
A
I only
B
I and II only
C
II only
D
I, II and III
Question 664 Explanation: 
In the given E-R diagram there is Many-To-Many relationship between entity P and Q it means single value in P can relate to Multiple values in Q and vice-versa. And there is One-To-One
relationship between S and T it means single value in S can relate to single value in T and vice-versa .
In table1:​ there is One to many relationship between S and T because “s1” in S attribute related with two values “t1” and “t2” in T attribute. so this table is violating One-to-One relationship of S and T as shown in E-R diagram so it can’t be the relationship set of given E-R diagram.
In Table 2:​ There is one to one relationship between S and T and In P and Q also many-to many relationship constraints are not violated. So it could be the relationship set of given E-R diagram.
In Table 3:​ “p1” in P attribute is related with two values in Q attribute so many to many relationship constraints are not violate here and S and T attributes are also obeying one-to-one relationship constraints. So it could be the relationship set of given E-R diagram.
Correct Answer: A
Question 664 Explanation: 
In the given E-R diagram there is Many-To-Many relationship between entity P and Q it means single value in P can relate to Multiple values in Q and vice-versa. And there is One-To-One
relationship between S and T it means single value in S can relate to single value in T and vice-versa .
In table1:​ there is One to many relationship between S and T because “s1” in S attribute related with two values “t1” and “t2” in T attribute. so this table is violating One-to-One relationship of S and T as shown in E-R diagram so it can’t be the relationship set of given E-R diagram.
In Table 2:​ There is one to one relationship between S and T and In P and Q also many-to many relationship constraints are not violated. So it could be the relationship set of given E-R diagram.
In Table 3:​ “p1” in P attribute is related with two values in Q attribute so many to many relationship constraints are not violate here and S and T attributes are also obeying one-to-one relationship constraints. So it could be the relationship set of given E-R diagram.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!