CS Professional · Artificial Intelligence, Data Analytics and Cyber Security - Laws and Practice · Database Management
In an ER design for a listed company's compliance system, 'Dependent' (family members of an employee) has no key of its own and is identified only through the Employee it belongs to, using the employee ID plus the dependent's name. Which statement correctly describes this design?
Dependent is a weak entity. It has no key of its own, so it is identified through its owner Employee. Its primary key combines the employee ID with the partial key, the dependent's name, and it is drawn as a double rectangle.
- ADependent is a weak entity with a partial key, and its primary key combines the owner's key with that partial keyCorrect
- BDependent is a strong entity, because it has a composite attribute in its key
- CDependent is an associative entity that must hold no attributes of its own
- DDependent is a derived attribute of Employee stored as a multivalued oval
Explanation
A weak entity lacks a full key and depends on an identifying owner entity. Its name acts as a partial (discriminator) key, and the table's primary key is the owner's key plus the partial key. It is shown with a double rectangle. The other options misdescribe the construct.
Did you get it right without looking?
One question tells you little. A timed set on Database Management shows your real accuracy, how long you take and where you lose marks.
More Database Management questions
- A fintech firm in Pune executes the following in sequence: INSERT of a new loan record, then SAVEPOINT s1, then UPDATE of the interest rate,…
- A company's payment database transfers Rs 5,000 from Account A to Account B. The debit on A succeeds, but the system crashes before the cred…
- A bank's employee, while a transaction updating a customer's balance is still uncommitted, is shown by another session a balance value that …
- In the ETL process used to populate a data warehouse, which activity is performed in the 'Transform' step?
- Referential integrity in a relational database ensures that:
- An e-commerce firm stores personal data of buyers. Its database designer finds that a Buyer table holds buyer name, city and also the city's…