Ask Question, Ask an Expert


Ask DBMS Expert

Home >> DBMS

Instructions: You may draw the diagrams using any program. HOWEVER, the constructs must conform to the Crow’s Foot diagramming conventions.

1.  For problem 1, turn in 3 ER diagrams.

a. Draw an ERD containing Patient, the Physician and Visit entity types connected by 1-M relationships from Patient to Visit and Physician to Visit.  Choose appropriate names for the relationships. Define minimum cardinalities so that Patients and Physicians are mandatory for a Visit but Visits are optional for Patients and Physicians. For the Patient entity type, add attributes PatNo (primary key), PatFirstName, PatLastName, PatStree, PatCity, PatState, PatZip and PatHealthPlan. For the Physician entity type, add attribues PhyNo (primary key), PhyFirstName, PhyLastName, PhySpecialty, PhyPhone, PhyEmail, PhyHospital, PhyCertification. For the Visit entity type, add attributes VisitNo (primary key), VisitDate, VisitPayMethod, and VisitCharge.  You do not need to specify datatypes.

b. Draw a second ERD. Extend the ERD from 1.a. with the Nurse, the Item and the VisitDetail entity types connected by 1-M relationships between Visit to VisitDetail, Nurse to VisitDetail, and Item to VisitDetail.  VisitDetail is a weak entity with the 1-M relationship from Visit to VisitDetail an identifying relationship. Choose appropriate names for the relationships.  Define minimum cardinalities so that a Nurse is optional for a VisitDetail, an Item is mandatory for a VisitDetail, and VisitDetails are optional for Nurses and Items.  For the Item entity type add attributes ItemNo (primary key), ItemDesc, ItemPrice and ItemType.  for the Nurse entity type, add attributes NurseNo (primary key), NurseFirstName, NurseLastName, NurseTitle, NurseSpecialty, NursePhone and NursePayGrade.  For the VisitDetail entity type, add attributes for the DetailNo (part of the primary key), and DetailCharge. 

c. Draw a third ERD. Refine the ERD from 1.b. with a generalization hierarchy consisting of Provider, Physician and Nurse entity types.  The supertype of the Generalization hierarchy is the Provider.  The primary key of Provider is ProvNo, replacing the attributes PhyNo and NurseNo.  The other attributes in Provider should be the attributes in common between Physician and Nurse (rename them to be consistent with the Provider entity type).  A provider must be either a Nurse or a Physician but cannot be both.

d. Check your diagram for violations of the completeness and consistency rules (Table 5.4).  Now, draw a fourth ERD to modify your diagram to add violations of Completeness Rule 3, and of Consistency Rules 3, 8 and 9.   Make a list of those violations.

2.  “Read” the relationships of the following diagram, being sure to include in the statements phrases to express both minimum and maximum cardinality for each relationship.


3. Convert the following  Generalization–Specialization diagram into relational tables.  Show THREE different ways that you can do this. Show the table SCHEMAS but NOT the CREATE TABLE statements. 


4.  Convert the following diagram into relational database tables.  You do not need to list the conversion rules. Show the table SCHEMAS but NOT the CREATE TABLE statements. 


5. Convert the following diagram  into relational database tables.  You do not need to list the conversion rules.  Show the table SCHEMAS but NOT the CREATE TABLE statements.


DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M91347

Have any Question? 

Related Questions in DBMS

1 draw and explain erm diagram andnbsp explain what is

1. Draw and explain ERM diagram and  explain what is REM 2. Explain what is Normalization . what is 0NF,1NF, 2NFand ,3NF and explain what is in the tables Entity Relationship Modeling and Normalization: 1 System Analysis ...

Project database and programming designthis assignment

Project: Database and Programming Design This assignment consists of two sections: a design document and a revised Gantt chart or project plan. You must submit both sections as separate files for the completion of this a ...

Data analysis projectyou have contracted with a local

Data Analysis Project You have contracted with a local school district to help them decide whether to use an interactive computer program or a standard chapter from a textbook to teach students to use fractions. The scho ...

Assignmentyou are to design a program that will serve as a

Assignment You are to design a program that will serve as a database for keeping track of video games and various statistics for the games. This application will allow for the storing of the name of a video game, its gen ...

Database normalizationnormalize the below orders table to

Database Normalization Normalize the below Orders table to 3NF. Make sure to identify all the entities and their attributes, especially if you make any new items (such as entity or attributes). The following is a list of ...

Graph databases assignment1choose a social network that you

Graph Databases Assignment 1. Choose a social network that you use. Say, FaceBook, Twitter, LinkedIn, or anything else. 2. Design a model to store and manage relationship data from these social networks in a graph databa ...

Tasks objectives1 manage client-server connections using

Tasks Objectives: 1. Manage client-server connections using RDBMS Net Services 2. Evaluate requirements and select appropriate parameters to ensure effective storage management in a database system 3. Manage Redo log inf ...

Assignment business rules and data modelssuppose a local

Assignment: Business Rules and Data Models Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In addition to tracking the students and cour ...

Data information decision please respond to the

"Data Information Decision" Please respond to the following: • With the obvious pace of current technology development, data continues to grow daily. Imagine that you are a Database Administrator for a large organization ...

Taskoverview of business casealive amp boating aampb is a

Task Overview of business case: Alive & Boating (A&B) is a small start-up company that sells small boats in Wagga. A&B keeps its models in several showrooms across the city. At this stage customers cannot view the availa ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen