in ER diagram representing employee database, address of an employee is a good example ofA Derived attributeB Hierarchical attributeC Composite attributeD Simple attribute
Question
in ER diagram representing employee database, address of an employee is a good example ofA Derived attributeB Hierarchical attributeC Composite attributeD Simple attribute
Solution
The address of an employee in an ER diagram representing an employee database is a good example of a Composite attribute.
Here's why:
A. Derived Attribute: These are attributes that do not exist in the physical database, but their values are derived from other attributes present in the database. For example, Age can be derived from the Date of Birth. The address is not a derived attribute because it is not derived from any other attribute.
B. Hierarchical Attribute: This is not a standard term in ER modeling. Hierarchies in ER models are usually represented by relationships, not attributes.
C. Composite Attribute: These are attributes that can be divided into smaller sub-parts, which represent more basic attributes with independent meanings. An address can be broken down into smaller parts like street, city, state, and country. So, the address of an employee is a good example of a composite attribute.
D. Simple Attribute: These are atomic values, which cannot be divided further. The address is not a simple attribute because it can be divided into smaller parts.
Similar Questions
Which of the following best describes a derived attribute in an ER diagramAn attribute that uniquely identifies each entity within an entity set.An attribute that is derived from other attributes in the database and does not need to be stored explicitly.An attribute that can take multiple values for a single entity.An attribute that describes the number of instances of a relationship that can be associated with a single instance of an entity.Next
9. Explain the difference between an entity and an attribute in an ER diagram.
A university has three types of employees: Professor, Lecturer, and General Executive. All three types of employees have a common attribute called "employeeID". Professor and Lecturer also have additional attributes unique to them. General Executive has its own unique attributes as well. Which of the following UML class diagrams depicts the inheritance application for the above case study?a.b.c.d.
In ER Diagram, a relationship between two entities of similar entity type is called a
Question 3Entity Relationship Diagrams (ERDs) are the foundation for designing databases. After creating an ERD, what is the first step you must take to map the ERD to the table?1 pointArrange the attributes by importance List the attributes alphabeticallySeparate the entity from the attributesNone of the abov
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.