Draw the entity relationship model

Assignment Help Database Management System
Reference no: EM131059617

Exercise 1:

Create a crow's foot ERD for each of the following descriptions. (Note: The word "many" merely means "more than one" in the database modeling environment.)

a. Each of the MegaCo Corporation's divisions is composed of many departments. Each of those departments has many employees assigned to it, but each employee works for only one department. Each department is managed by one employee, and each of those managers can manage only one department at a time.

b. During some period of time, a customer can rent many videotapes from the BigVid store. Each of the BigVid's videotapes can be rented to many customers during that period of time.

c. An airliner can be assigned to fly many flights, but each flight is flown by only one airliner.

d. The KwikTite Corporation operates many factories. Each factory is located in a region. Each region can be "home" to many of KwikTite's factories. Each factory employs many employees, but each of those employees is employed by only one factory.

Exercise 2:

Suppose that you are using the following a database composed of the two tables shown in

Table name: DIRECTOR Database name: EXERCISE2_QUESTION

DIR_NUM DIR_LNAME DIR_DOB
100 Broadway 12-Jan-65
101 Hollywoody 18-Nov-53
102 Goffy 21-Jun-62

Table name: PLAY

PLAY_CODE PLAY_NAME DIR_NUM
1001 Cat on a cold, bare roof 102
1002 hold the mayo, pass the bread 101
1003 I never promissied your coffee  102
1004 silly putty goes to washington 100
1005 see no sound, hear no sight 101
1006 starstruck in biloxi 102
1007 stranger in parrot Ice  101

a. Identify the primary keys.

b. Identify the foreign key.

c. Draw the Entity Relationship model.

d. Draw the relational schema to show the relationship between DIRECTOR and PLAY.

e. Suppose you wanted quick lookup capability to get a listing of all the plays directed by a given director. What table would be the basis for the index table, and what would be the index key?

e. What would be the conceptual view of the index table described in part e? Depict the contents of the (conceptual) index table.

Exercise 3

Create an ERD based on the Crow's Foot model ( Database Schema), using the following requirements.

- An INVOICE is written by a SALESREP. Each sales representative can write many invoices, but each invoice is written by a single sales representative.

- The INVOICE is written for a single CUSTOMER. However, each customer may have many invoices.

- An INVOICE may include many detail lines (LINE), which describe the products bought by the customer.

- The product information is stored in a PRODUCT entity.

- The product's vendor information is found in a VENDOR entity.

Exercise 4: NORMALISATION

The dependency diagram in Figure Q7.2 indicates that authors are paid royalties for each book that they write for a publisher. The amount of the royalty can vary by author, by book, and by edition of the book.

1320_figure.jpg

Figure - Book royalty dependency diagram

a. Based on the dependency diagram, create a database whose tables are at least in 2NF, showing the dependency diagram for each table.

b. Create a database whose tables are at least in 3NF, showing the dependency diagram for each table.

- Re-name the RicardoCars database as follows.

o RicardoCars -StudID-Lastname , where StudID is your student number.

Write both your Stud_ID and Lastname as it is a group of 2 students assignment.

RicardoCars is a company that builds model cars of popular classic and new cars such as Chevrolet, Ford, Porsche, Ferrari, Dodge, Jaguar, Mercedes, Plymouth, Ferrari and Lamborghini. There are four mechanics who work in this company.

This company has developed a database to keep a track of the details of the cars and mechanics who worked there.

This database has two tables.

- Mechanic - this table has some details about the mechanic
- Catalog - this table has the details of the cars

1. Start Access application and open the RicardoCars.mdb database (this is the database which you have already renamed).

2. Study the two tables in the database. Double click on each table and use "design view" to study the table design. Double click on each table and use "data sheet view" to study the details of the records.

3. Mechanics are paid depending on the Type of the car they make (Type is a field in the Catalog table) and how many cars they make. For example, for Ferrari and Jaguar, rate per car is $3.50 and $3.00 respectively.

The following are the Rate (per car) for different car types.

Type of car

Rate per car in $

Dodge

2.00

Ferrari

3.50

Jaguar

3.00

Mercedes

3.75

Porsche

3.25

4. Go to the "design view" of Catalog table. Insert a new row just below "Type" field. Make sure that the field data type and size are correct . Name this new field as "Rate". (2 marks)

5. Go to data sheet view of Catalog table. You will now see an empty column with the field name "Rate". Fill up the "Rate" column with relevant values. (relevant values of Type and Rate are given in the table at (c) ) (2 marks)

NOTE: Close ALL the tables when you are creating queries. Use SQL in your queries

6. Create a query (using SQL in Access) that will select all the car types of which the price is less than $40. The query should display all of the fields of the catalog table. Sort the results. Run the query. Save the query as Less than 40. (5 marks)

7. Create a query (using SQL in Access) that lists all the cars that the mechanic M102 had worked on. The query should display the type of the car, model, price, mechanic ID and mechanic name. Save the query as MechanicM102. (5 marks)

8. Mechanics are paid using the following formula.

Pay = Rate * QuantityMade

Create a calculated field called Pay in a new query. Include all the fields from the Catalog table in the query. Sort the results. Run the query. Save this query as CarPayment (6 marks).

9. Create a columnar form that can be used to enter and update all the details of the Catalog table. Use any style that you wish for the form. A maximum mark is allocated to the best designed form. Save the form as CatalogUpdate. (2 marks)

10. Create a report containing the CarID, the Type, the Model, the QuantityMade and the MechanicalName. Save the report as MechanicReport. (2 marks) Use any style that you wish.

11. Save your solution in your USBs and save one copy in your drive (backup copy) when completed.

Reference no: EM131059617

Questions Cloud

Calculate the ratiot-rfor such a sphere : Ultrathin silver foil ofthicknessTwill be used to make the sphere, and the designers claim that the mass of helium in the sphere will equal the mass of silver used. Assuming thatTis much less thanR, calculate the ratioT/Rfor such a sphere.
Calculate the period of oscillation : Calculate the period of oscillation of a one meter long pendulum on the poles where g = 9.8 m/sec^2. Calculate the period for a pendulum on the equator.
What is the period if the mass is doubled : A mass on a string of unknown length oscillates as a pendulum with a period of 3.4 s . Parts A to D are independent questions, each referring to the initial situation. (Express your answer to two significant figures and include the appropriate uni..
Determining the temperature change in degrees celsius : A 0.037 kg aluminum bullet traveling at 478 m/s strikes an armor plate and comes to a stop. If all its energy is converted to heat that is absorbed by the bullet, what is the bullet's temperature change in degrees Celsius? (This is a multi-step pr..
Draw the entity relationship model : Draw the Entity Relationship model - draw the relational schema to show the relationship between DIRECTOR and PLAY.
Find the mild and extreme outliers of the scores : 2. Randomly selected 10 students in a class earned the following scores in a test: 33 75 87 88 99 93 87 85 72 25 Find the five-number summary.
Find the young modulus of the rubber : If the lowest height that box reaches is h=10m (before it is pulled back up by the elastic rope). Find the young modulus of the rubber y=?Gravitational acceleration is g=10m/s^2
What is its activity at the time it is injected : A drug prepared for a patient is tagged with 4399Tc which has a half life of 6.05 h and an activity of 2.10 µCi when it was prepared. Suppose the drug containing 4399Tc is injected into the patient 1.20 h after it is prepared. What is its activity..
Identify castner non-value-added production activities : Compute the equivalent units of input resources for the Cutting Department in May. Compute the cost per equivalent unit of input resource for the Cutting Department in May.

Reviews

Write a Review

Database Management System Questions & Answers

  Create a database in an sql server

Create a database in an SQL server, and translate this design into SQL server tables with appropriate fields. The data types above are general types

  Essay on data mining in warehouse architectures

Course: data mining. Require a 7 page essay on subjects: Warehouse Architectures: the paper requires to contain information about centralized, federated, and tiered data warehouse.

  Brazilian federal data processing service

Examine the proposed business ethical problem that the Brazilian Federal Data Processing Service is presently experiencing. Determine whether you agree or disagree that Brazil's problem is an ethical one that should be corrected. Provide a rationa..

  Prepare a database from scratch that contains at a minimum

prepare a database from scratch that contains at a minimum the elements listed below. the kind of database you create

  Demodulator circuits and amplitude modulator

Explain how much the modulating signal power is required to generate 100 percent modulation? What is the approximate center frequency of filter required to pass the lower sideband?

  Application service provider to configure a vpd

Application service provider to configure a VPD so that the company can arm support multiple customers with a single instance of an application.

  Build a database named dbms course project

Build a Database named DBMS Course Project. The database should include following tables.

  Discuss one advantage a database has over a spreadsheet

Discuss at least two reasons organizations use databases and DBMS's. Discuss one advantage a database has over a spreadsheet

  Working database that supports the tables

The students are lodged in one of four houses, with a designated professor in change of each house. But, since some professors, such as Snape, have some problems standing some students, such as Harry, you should keep track of that too.

  Case study-database development

Dual Assessment of Data Quality in Customer Databases,Journal of Data and Information Quality (JDIQ), Volume 1 Issue 3, December 2009, Adir Even, G. Shankaranarayanan.

  Create a fictional list for job openings

Each student will create an Access 2013 database which will be used to match personal job skills learned in college courses with desired skills for job openings. Students may use their own personal course history, or create a fictional list.

  Describe the steps that are needed to pick a proper dbms

A database is a very important system in many organizations. Describe the steps that are needed to pick a proper DBMS

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