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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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