Question 21
EasyWhat is a recursive (unary) relationship?
- A.
A relationship between three entity sets
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
DBMS
What is a recursive (unary) relationship?
A relationship between three entity sets
A relationship with no attributes
A relationship that is never used
A relationship between entities of the same entity set, such as an employee who manages other employees
Sign up free to see the answer and a step-by-step explanation.
What is a binary relationship?
A relationship between two entity sets
A relationship with two attributes
A relationship of one entity with itself
A relationship stored as 0s and 1s
Sign up free to see the answer and a step-by-step explanation.
Where would you store the date on which a student enrolled in a course?
As an attribute of the Enrols relationship
As an attribute of Student only
As a separate entity set
As an attribute of Course only
Sign up free to see the answer and a step-by-step explanation.
In an ER diagram, what does a double line between an entity set and a relationship show?
A foreign key
Total participation of that entity set
A one-to-one relationship
A derived attribute
Sign up free to see the answer and a step-by-step explanation.
What is partial participation of an entity set in a relationship?
The entity set has no key
Some entities in the set may not take part in the relationship
Every entity must take part
The relationship has no attributes
Sign up free to see the answer and a step-by-step explanation.
Who introduced the Entity–Relationship model?
E. F. Codd
Alan Turing
Peter Chen
Charles Babbage
Sign up free to see the answer and a step-by-step explanation.
What is generalisation in the extended ER model?
Splitting an entity set into subgroups
Combining entity sets that share features into a higher-level entity set
Deleting an entity set
Turning attributes into entities
Sign up free to see the answer and a step-by-step explanation.
What is a weak entity?
An entity that is rarely used
An entity that cannot be identified by its own attributes alone and depends on an owner entity
An entity with no relationships
An entity with few attributes
Sign up free to see the answer and a step-by-step explanation.
What does total participation of an entity set in a relationship mean?
The relationship is one-to-one
Only some entities take part
The entity has no key
Every entity in the set must take part in the relationship
Sign up free to see the answer and a step-by-step explanation.
How is a many-to-many relationship usually converted into tables?
A separate table holding the keys of both entities
It cannot be stored in tables
Merging both entities into one table
A foreign key in either table
Sign up free to see the answer and a step-by-step explanation.