Database management system | Computer Science homework help

I am (Faiz Lakhani) and I complete this assignment following the UHD academic integrity policy.

1. Use
Microsoft Visio or
Draw.io to draw the diagram. Diagrams made by any other tools will
not be graded.

2. Use
IE (crow’s foot) notation. Diagrams with any other notations will
not be graded.

3. The diagram should specify entities, keys, attributes, relationship types (identifying or non-identifying), and cardinalities (MAX and min on each side). Divide an attribute further into simple attributes when appropriate. All many-to-many relationships, if any, should be converted into associative entities (the answer should not have many to many relationship). Relationship labels are not needed.
Use a specialization hierarchy when appropriate. Grading is based on the completeness of the diagram.

4. Add a textbox with your full name inside the diagram (no point without your name). The figure below is an example.

5. Paste your diagram in this document and
submit this document. Any submission other than this document will
not be graded.

1. (8 points) The following are two tables with data for a Customer-Order database. Answer the following questions based on these two tables.

Table  Description automatically generated

a. Explain entity integrity. Do the tables exhibit entity integrity?

Answer:

b. Explain referential integrity. Do the tables exhibit referential integrity?

Answer:

2.
(7 points) Dormitory Administration System

You are designing a dormitory administration system. The university has several dorms, each has many rooms. A dorm is identified by its dorm ID. Besides, a dorm has a dorm name, street address, city, state, and zipcode. Each room is identified by a combination of dorm ID and room number. Besides, a room has number of beds, and monthly rent.

Answer:

[Paste the diagram here.]

3.
(20 points) Clinic Appointment System (Must Use Supertype-Subtype Entities)

You are asked to design a database system for a clinic appointment system. The requirements for the appointment system are summarized as the follows.

· There are three types of persons in the system: staff, physicians, and patients. Any data about a person in the system must be stored in
one of these three categories (and cannot be simply stored as “person”). In addition, a person cannot be two categories at the same time (e.g., a person cannot be a staff and a patient simultaneously).

· The system has data about the staff’ ID, first name, last name, phone, and address.

· The system should contain data about physicians, including their ID, first name, last name, phone, address, certificate, and specialty.

· The system has to track information about patients. A patient, identified by its ID, has information including first name, last name, phone, and address.

· A patient can make appointments with a physician through the system. A patient may make several appointments in the system. A physician may have several appointments in the system. For each appointment, only one (and at least one) patient is involved. In some occasions, there may exist an appointment without a physician on it. Data about an appointment includes appointment ID, time, date, reason, and the patient and the physician for the appointment.

· One appointment may have one or more diagnoses. Each diagnosis has its own diagnosis ID, description, and treatment.

Answer:

[Paste the diagram here.]

4. (15 points) Book publisher system. Draw an ER diagram for the following case.
The E-R diagram should include entities, attributes, identifiers, and relationships. In the diagram, place a textbox at the top-left corner of your diagram and type
Made by FirstName LastName in the textbox (5 points).

· A book is identified by its ISBN number, and it has a title, a price, and a date of publication. A book is published by a publisher, which has its own publisher ID number and a name. Each book has only one publisher, but one publisher typically publishes multiple books over time.

· A book is written by one or multiple authors. Each author is identified by an author number and has a name and date of birth. Each author has either one or multiple books. A book may have several authors.

· Additional information is needed regarding the relationship between a book and its authors. An author may have different royalty rates for different books that he/she wrote. Also keep in mind that a book may have several authors (hence several royalty rates).

Answer:

[Paste the diagram here.]

1

image1.emf

Microsoft_Visio_Drawing.vsdx

DEPARTMENT
Dept_ID
int
FK
PK
Dept_Name
int
FK
PK
Made by Shuaifu Lin

image2.png

Calculate the price of your order

Choose an academic level, add pages, and the paper type you want.
To reduce the cost of our essay writing services, select the lengthier deadline.
We can't believe we just said that to you.

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Why is Purdue Papers the Most Helpful Essay Writing Service for You?

  1. Custom-written and plagiarism-free papers: Our authors create their work from scratch. Before presenting them to clients, we routinely verify them for signs of plagiarism. Our quality assurance group also double-checks and fixes any grammatical errors, assuring that all of our authors adhere to the same standards of writing.
  2. The significance of timely delivery cannot be overstated, and we consistently strive to meet or exceed our clients' deadlines. Regardless of the short time frame, you can count on our writers to get the job done. We always have a team of writers ready to go, even if the deadline is only six hours away.
  3. Customer Satisfaction: Our customer service representatives are the best in the business and have a wealth of knowledge in dealing with clients. All our customer service representatives are trained to listen and reply promptly until you are satisfied with their service. To ensure you're happy, our expert writers will strictly follow the criteria to generate a special report. Our customer service may be contacted by chat, email, or phone. In addition, we provide round-the-clock assistance to all of our clients.
  4. Confidentiality: Our systems are safe, and your information is always protected. We're constantly looking for new facts when it comes to finishing your work. We use a safe and secure payment channel. Since our ordering process is completely anonymous, you don't have to provide any credit card information to place a purchase with us.
  5. Highly Trained Authors: Our writers have received extensive training and are committed to delivering only the best papers. They are fluent in APA, MLA, HARVARD, IEEE, CHICAGO, and AMA referencing styles. To meet your expectations, our skilled writers always pay close attention to your instructions.
  6. Lowered prices: We have set prices that are already discounted. Our prices are the best and affordable for all our esteemed customers.

Let Professionals Take Care of your Academic Paper