Here we are going to design an Entity Relationship (ER) model for a college database.Say we have the following statements.1. A college contains many departments 2. Each department can offer any number of courses 3. Many instructors can work in a department 4. An instructor can work only in one department 5. For each department there is a Head 6. An instructor can be head of only one department 7. Each instructor can take any number of courses 8. A course can be taken by only one instructor9. A student can enroll for any number of courses 10. Each course can have any number of students From the statements given, the entities are
Question
Here we are going to design an Entity Relationship (ER) model for a college database.Say we have the following statements.1. A college contains many departments 2. Each department can offer any number of courses 3. Many instructors can work in a department 4. An instructor can work only in one department 5. For each department there is a Head 6. An instructor can be head of only one department 7. Each instructor can take any number of courses 8. A course can be taken by only one instructor9. A student can enroll for any number of courses 10. Each course can have any number of students From the statements given, the entities are
Solution
The entities in the given statements for designing an Entity Relationship (ER) model for a college database are:
- College
- Department
- Course
- Instructor
- Student
Now, let's define the relationships between these entities:
- A College contains many Departments (One-to-Many relationship between College and Department)
- Each Department can offer any number of Courses (One-to-Many relationship between Department and Course)
- Many Instructors can work in a Department (Many-to-One relationship between Instructor and Department)
- An Instructor can work only in one Department (One-to-One relationship between Instructor and Department)
- For each Department there is a Head (One-to-One relationship between Department and Instructor)
- An Instructor can be head of only one Department (One-to-One relationship between Instructor and Department)
- Each Instructor can take any number of Courses (One-to-Many relationship between Instructor and Course)
- A Course can be taken by only one Instructor (
Similar Questions
Consider the following scenario•A company provides catering services for clients who need special-occasion, celebratory dinners. For each dinner, a number of dishes are to be offered. The dinner will be held at a venue. The company will provide staff to serve meals at the venue.•The company needs a database to store data related to this business activitya. Identify and list the entitiesb. Identify pairs of entities where a direct relationship existc.-For each pair of relationship draw the entity relationship diagram justifying the choice of cardinalities
An Entity-Relationship (ER) Model represents: The various entity types of interest and the relationships among them in the domain being modeled. Various tables and links among them in the domain being modeled. The various entity types of interest and the relationships among them in the domain being modeled along with operations to be performed on data. Various tables and links among them in the domain being modeled along with operations to be performed on data.
state the relationships for all the entities
You have an application domain that consists of Cities, Towns, and Neighborhoods. A City has a name, zip code, state, and a country. A Town has a name, zip code, state, and country. A Neighborhood has a name, coordinate, and population. Using a relational model, what are Students, Courses, and Sections called?Select one:a.Attributesb.Constraintsc.Entitiesd.Relations
Consider the entities A1 and A2 in an ER diagram have simple single-valued attributes. B1 and B2 are the relations between A1 and A2. B1 is a one-to-many and B2 is a many-to-many relationship. There are no attributes present in B1 and B2. How many tables are required to represent this given model
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.