Week 2: Assignment 2
The due date for submitting this assignment has passed.
Due on 2023-02-08, 23:59 IS
Assignment submitted on 2023-02-08, 23:11 IST
The ER model is a 2 po
Record-based data model
Representational data model
Conceptual data model
All of the above
Yes, the answer is correct.
Score: 2
Accepted Answers:
Conceptual data model
State TRUE or FALSE:
Entities in an entity set can have different properties. 0.5 po
True
False
No, the answer is incorrect.
Score: 0
Accepted Answers:
False
Entity sets need to be disjoint. 0.5 po
True
False
Yes, the answer is correct.
Score: 0.5
Accepted Answers:
False
Values of some attributes of an entity type need not uniquely identify a specific entity of that type. 0.5 po
True
False
Yes, the answer is correct.
Score: 0.5
Accepted Answers:
True
Relationships describe associations among entities. 0.5 po
True
False
Yes, the answer is correct.
Score: 0.5
Accepted Answers:
True
State TRUE or FALSE:
Only entity types can have attributes. 0.5 po
True
False
Yes, the answer is correct.
Score: 0.5
Accepted Answers:
False
The Salary attribute of an Employee entity can be a derived attribute. 0.5 po
True
False
Yes, the answer is correct.
Score: 0.5
Accepted Answers:
True
A Relationship type can not have an attribute. 0.5 po
True
False
Yes, the answer is correct.
Score: 0.5
Accepted Answers:
False
A Relationship type can not have more than one attribute. 0.5 po
True
False
Yes, the answer is correct.
Score: 0.5
Accepted Answers:
False
Consider the following statements: 2 po
S1: The key of an entity type always consists of more than one attribute.
S2: An entity type has exactly one key.
S3: An entity type may have more than one key.
Choose the correct option:
S1: TRUE; S2: TRUE; S3: TRUE
S1: FALSE; S2: TRUE; S3: FALSE
S1: TRUE; S2: FALSE; S3: TRUE
S1: FALSE; S2: FALSE; S3: TRUE
No, the answer is incorrect.
Score: 0
Accepted Answers:
S1: FALSE; S2: FALSE; S3: TRUE
Consider the following sets: 2 po
S1: {p: entity; q: weak entity; r: relationship; s: derived attribute; t: multi-valued attribute}
S2: {v: double-line rectangle; w: rectangle; x: double-line ellipse; y: diamond;z: dash-line ellipse}
Choose the correct mapping between S1 and S2:
p: v; q: w; r: x; s: y; t:z
p: w; q: v; r: y; s: x; t:z
p: w; q: v; r: y; s: z; t:x
p: v; q: w; r: y; s: z; t:x
No, the answer is incorrect.
Score: 0
Accepted Answers:
p: w; q: v; r: y; s: z; t:x
Consider the statements given below: 2 po
S1: The participation of an entity set S in a relationship set R is said to be total if every entity in S participates in at least o
relationship in R.
S2: The participation of an entity set S in a relationship set R is said to be partial if some entities in S participate in R.
Choose the correct option:
S1: TRUE; S2: TRUE
S1: FALSE; S2: TRUE
S1: FALSE; S2: FALSE
S1: TRUE; S2: FALSE
Yes, the answer is correct.
Score: 2
Accepted Answers:
S1: TRUE; S2: TRUE
Choose the FALSE statement: 2 po
A weak entity set may not have appropriate attributes to form a primary key.
Every weak entity must be associated with an identifying entity.
The identifying relationship from the weak entity set to the owner entity set is always one-to-many.
The participation of the weak entity set in the identifying relationship is always total.
No, the answer is incorrect.
Score: 0
Accepted Answers:
The identifying relationship from the weak entity set to the owner entity set is always one-to-many.
Suppose hasPresident is a relationship type with two participating entity types Country and Person. What is the 2 po
appropriate cardinality ratio for Country:Person?
1:1
1:M
M:1
M:N
No, the answer is incorrect.
Score: 0
Accepted Answers:
1:1
Consider the binary relationship type hasBranchbetween entity types Bank and Branch. Suppose the cardinality 2 po
ratio (Bank: Branch) constraint of the relationship is expressed using (min, max) notation as (u, v) on the line connecting
Bank to hasBranch and (x, y) on the line connecting Branch to hasBranch, which one of the following is correct:
(u,v) = (1,1) and (x, y) = (1, N)
(u,v) = (1,N) and (x, y) = (1, 1)
(u,v) = (1,1) and (x, y) = (M, N)
(u,v) = (M,N) and (x, y) = (1, 1)
Yes, the answer is correct.
Score: 2
Accepted Answers:
(u,v) = (1,N) and (x, y) = (1, 1)
Consider two entity sets A = {a, b, c, d, e} and B = {p, q, r, s, t}, and they participate in a relationship R. The 2 po
instances of R are given as: { (a, p), (b, q), (b, r), (c, r), (d, t), (e, t)}.
Which one of the following is correct:
Cardinality ratio of A:B is one-to-many; A participates partially; B participates completely
Cardinality ratio of A:B is one-to-many; A participates partially; B participates partially
Cardinality ratio of A:B is many-to-many; A participates completely; B participates completely
Cardinality ratio of A:B is many-to-many; A participates completely; B participates partially
Yes, the answer is correct.
Score: 2
Accepted Answers:
Cardinality ratio of A:B is many-to-many; A participates completely; B participates partially