- The Entity-Relationship model is
- a way to graphically represent the logical relation-ships of entities in a database.
- a way to graphically represent the data in adatabase.
- a way to graphically represent only the constraintsin a database.
- a way to graphically represent strong entity setsbut not weak entity sets.
- In the Entity-Relationship model, to what does an entity refer (or represent)?
- The organization in which the model is created.
- A distinctly identifiable item, thing or object.
- A particular instance of data.
- A database schema.
- An entity set is
- a collection of databases.
- a collection of relationships connecting a singleentity to many other entities.
- a collection of entities of the same type that sharethe same properties.
- a collection of attribute values that are the sameacross all entities.
- Entities can be associated with one another by using which of the following?
- Entities
- Attributes
- Identifiers
- Relationships
- In a one-to-many relationship, the entity that is on the many side of the relationship is called what type of entity?
- parent
- child
- instance
- subtype
- In an Entity-Relationship model, attributes may be which of the following?
- simple
- composite
- multi-valued
- All of the above.
- None of the above.
- In an Entity-Relationship model, relationship sets are represented by which of the following?
- Rectangles
- Diamonds
- Lines
- Ovals
- Directed lines from a relationship set to all of its related entity sets indicates which type of relationship?
- One-to-one
- One-to-many
- Many-to-one
- Many-to-many
- Consider the entity set instructor containing the attributes ID, name, deptName and salary with ID as the primary key and the entity set department containing the attributes deptName, building and budget with deptName as the primary key. In order to represent the relationship between instructor and department we need to do which of the following?
- The relationship is properly representedby the deptName attribute in the instructor entity set.
- Add a one-to-one relationship instructorDepartment that explicitly relates instructor to department and leave the entity sets unchanged.
- Add a one-to-one relationship instructorDepartment that explicitly relates instructor to department and remove the deptName attribute from the instructor entity set.
- Add a one-to-many relationship instructorDepartment that explicitly relates instructor to department and remove the deptName attribute from the instructor entity set.
- Which of the following is NOT a basic element of the Chen version of the E-R model?
- Entities
- Attributes
- Relationships
- All of the above.
- None of the above.
- An attribute that names or identifies entity instances is a(n):
- entity
- attribute
- identifier
- relationship
- In an Entity-Relationship model, double lines connecting
2
an entity set to a relationship set indicates which of the following?
- Two constraints on the entity set.
- Every entity participates in up to two relationshipsof the given type.
- Some entities participate in more than one relation-ship of the given type.
- Every entity participates in at least one relationshipof the given type.
- Relationship sets can be used to directly represent which of the following?
- Entity attributes.
- Relationships between attribute values.
- Relationship between multiple entity sets.
- All of the above.
- None of the above.
- In the Entity-Relationship model, attributes may be represented as which of the following?
- The only name within the top of a double sectionedrectangle.
- Ovals
- Names above lines
- The only name within a diamond.
- In crows foot notation of the Entity-Relationship model, consider the simple ER model of entity E1 and entity E2 connected by a relationship line R where the line ends in a crows foot at E1 but ends simply as a line at E2. This represents which of the following relationship types?
- One-to-one
- Many-to-one
- One-to-many
- Many-to-many
Reviews
There are no reviews yet.