Er Diagram Question And Solution Pdf To Jpg

Er diagram example Some er diagram example: Question 1: Suppose you are given the following requirements for a simple database for the National Hockey League (NHL): • the NHL has many teams, • each team has a name, a city, a coach, a captain, and a set of players, • each player belongs to only one team, • each player has a name, a position (such as left wing or goalie), a skill level, and a set of injury records, • a team captain is also a player, • a game is played between two teams (referred to as host_team and guest_team) and has a date (such as May 11th, 1999) and a score (such as 4 to 2). Construct a clean and concise ER diagram for the NHL database. Answer: Question 2: A university registrars office maintains data about the following entities: • courses, including number, title, credits, syllabus, and prerequisites; • course offerings, including course number, year, semester, section number, instructor(s), timings, and classroom; • students, including student-id, name, and program; • instructors, including identication number, name, department, and title. Download Free Fundamentals Of Esthetics Rufenacht Pdf Free more. Further, the enrollment of students in courses and grades awarded to students in each course they are enrolled for must be appropriately modeled. Construct an E-R diagram for the registrars ofce.Document all assumptions that you make about the mapping constraints. Answer: Question 3: (a) Construct an E-R diagram for a car-insurance company whose customers own one or more cars each. Each car has associated with it zero to any number of recorded accidents.
Answer: (b) Construct appropriate tables for the above ER Diagram? Mind Of A Serial Killer Video Questions Editor here. Car insurance tables: person ( driver-id, name, address) car ( license, year,model) accident ( report-number, date, location) participated( driver-id, license, report-number, damage-amount) Question 4: (a) Construct an E-R diagram for a hospital with a set of patients and a set of medical doctors. Associate with each patient a log of the various tests and examinations conducted. Answer: (b) Construct appropriate tables for the above ER Diagram: Patient(SS#, name, insurance) Physician ( name, specialization) Test-log( SS#, test-name, date, time) Doctor-patient (physician-name, SS#) Patient-history(SS#, test-name, date) Question 5: Consider a database used to record the marks that students get in different exams of different course offerings. A) Construct an E-R diagram that models exams as entities, and uses a ternary relationship, for the above database. Answer a: b) Construct an alternative E-R diagram that uses only a binary relationship between students and course-offerings. Make sure that only one relationship exists between a particular student and course-offering pair, yet you can represent the marks that a student gets in different exams of a course offering.
