Draw an er diagram that captures the preceding information

Assignment Help Computer Engineering
Reference no: EM132116098

Question 1 : A company database needs to store information about employees (identified by ssn, with salary and phone as attributes), departments (identified by dno, with dname and budget as attributes), and children of employees (with name and age as attributes).

Employees work in departments; each department is managed by an employee; a child must be identified uniquely by name when the parent (who is an employee; assume that only one parent works for the company) is known. We are not interested in information about a child once the parent leaves the company.

Draw an ER diagram that captures this information.

Question 2 : The Prescriptions-R-X chain of pharmacies has offered to give you a free lifetime supply of medicine if you design its database. Given the rising cost of health care, you agree. Here's the information that you gather:

· Patients are identified by an SSN, and their names, addresses, and ages must be recorded.

· Doctors are identified by an SSN. For each doctor, the name, specialty, and years of experience must be recorded.

· Each pharmaceutical company is identified by name and has a phone number.

· For each drug, the trade name and formula must be recorded. Each drug is sold by a given pharmaceutical company, and the trade name identifies a drug uniquely from among the products of that company. If a pharmaceutical company is deleted, you need not keep track of its products any longer.

· Each pharmacy has a name, address, and phone number.

· Every patient has a primary physician. Every doctor has at least one patient.

· Each pharmacy sells several drugs and has a price for each. A drug could be sold at several pharmacies, and the price could vary from one pharmacy to another.

· Doctors prescribe drugs for patients. A doctor could prescribe one or more drugs for several

patients, and a patient could obtain prescriptions from several doctors. Each prescription has a date and a quantity associated with it. You can assume that, if a doctor prescribes the same drug for the same patient more than once, only the last such prescription needs to be stored.

· Pharmaceutical companies have long-term contracts with pharmacies. A pharmaceutical company can contract with several pharmacies, and a pharmacy can contract with several pharmaceutical companies. For each contract, you have to store a start date, an end date, and the text of the contract.

· Pharmacies appoint a supervisor for each contract. There must always be a supervisor for each

contract, but the contract supervisor can change over the lifetime of the contract.

Draw an ER diagram that captures the preceding information. Identify any constraints not captured by the ER diagram.

Reference no: EM132116098

Questions Cloud

What is the operating cash flow : That is, the depreciation each year will be $128190/14. Assuming a tax rate of 26%, what is the operating cash flow?
Is quality simply a matter of coordinating excellent : Is quality simply a matter of coordinating excellent organizational effort? Can quality be simplified to this degree? Or is quality about much more?
Write a class supercrypt that is a subclass of crypt : For this problem, you will use threading to speed up a decryption process. There exists a class called Crypt with a static method decrypt.
How much is each worth today : Sara invested $950 at the same time, but her investment paid 8% compounded quarterly. How much is each worth today?
Draw an er diagram that captures the preceding information : The Prescriptions-R-X chain of pharmacies has offered to give you a free lifetime supply of medicine if you design its database.
Who is the proponent of theory of economic rhythm : Who is the proponent of theory of economic rhythm, action and reaction approach, time lag method and model building approach
Information for golden fleece financial : 1. Following information for Golden Fleece Financial:
What is a board support package : What is the purpose of the .qip file produced by Qsys and imported into Quartus?
Compute the present value of 10 monthly payments : Compute the present value of 10 monthly payments of $5000 (the first payment made 1 month from today).

Reviews

Write a Review

Computer Engineering Questions & Answers

  Define the designated stakeholder authorizes

The goal of authorization is to ensure that the designated stakeholder authorizes all changes to information and controlsets

  Why did ebay need a big data solution

Why did eBay need a Big Data solution? What were the challenges, the proposed solution, and the obtained results?

  Create an initial draft of the final risk management plan

For the first part of the assigned project, you must create an initial draft of the final risk management plan.

  Products were completely hardware based

Starting in 1981, designs for the Navigation Systems incorporated a microprocessor and an increasing number of integrated circuits. To support the microprocessor-based designs, Navigation Systems Inc.

  Network and the different types of networks available

This is an insurance agency that has over 100,000 customers nationwide. They now have about 5,000 employees and 2,000 of them are agents in the field with their own offices. This agency primarily sells life, auto and home policies.

  Write a matlab fragment that plots the given function

Assume that x, y, and z are MATLAB arrays initialized as follows.

  1 construct a truth table for the following boolean

1. construct a truth table for the following boolean expressionsa abc abcb abc abc abcc abc bc2. simplify the

  Discuss areas that generate-process revenue

Discuss one aspect of Tier 1, 2, or 3. Includes areas that generate/process revenue or that support the functions and processes that do so.

  How are the products described and marketed

How are the products described and marketed? What kinds of applications and users do they support? In what kinds of situations would an organization choose to implement an end-user database over an enterprise database?

  Explain in detail each step of the machine cycle

Explain (in detail) each step of the machine cycle. Show the contents of each of the registers and each of the memory cells after the execution of the code.

  Which reasons can you use to justify fiber-optic cable

Which of the following reasons can you use to justify fiber-optic cable in this case, and why?

  Explain ways to determine the best acquisition method

Explain ways to determine the best acquisition method. Prepare contingency planning for data acquisitions. Describe how to validate data acquisitions.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd