Design and implement database for real world environment

Assignment Help Database Management System
Reference no: EM131442490

In this project option, you are asked to design and implement a database for a real mini world environment based on the given database requirements written in natural languages.

You are given a set of requirements for a university database. Based on the set of requirements for the university database, you are asked to do the following:

1. Partition the sentences (database requirement description in natural language) into homogeneous groups.

2. Design the conceptual schema of the university database by using ER diagram and CSDL. Your conceptual design of the database should include the followings but not limit to:

a. Entities

b. Relationships

c. Keys

d. Structural constraints (Cardinality ratio and participation constraints)

3. Transform the ER schema of database you get from step 2 into the corresponding relational database schema.

a. Specify all the key attributes of relations and any referential integrity constraints.

b. Specify the data item format for each attribute in each relation schema.

c. Specify all the functional dependencies you could infer from the requirements.

4. List all the join paths existing in the relational database schema you get from the transformation in step 3.

5. Normalize relation schema in the database design that you get from step 4 into either 3NF or BCNF if it is necessary.

6. Implement the relational database you get in step 5, via ORACLE SQL*PLUS, this includes creating the database, creating the corresponding relation schemas, data preparation and loading data into the database.

7. Implement the given queries in ORACLE SQL*PLUS.

8. Write a detailed and comprehensive report the database design and implementation.

Queries:

1. For each department, list the numbers of major students and minor students.

2. For each department, list all the instructors along with the number of courses he/she teaches.

3. For each department, list all the courses which it offers.

4. For each course, list all the prerequisites of that course.

5. For each department, list the total number of professors and average teaching load.

6. For each department, list the total numbers of students, total number of credit hours taken by these students, and the average credit hour per student.

7. For each instructor, list the number of all students who register in the sections that the instructor teaches.

8. For each instructor, list all the departments which offer the courses that the instructor teaches.

9. For each department, list all the professors who teach more than two courses, and make the salaries less than the average salary of the professors in their department.

10. Show how many students that each professor advises.

11. Find the departments which have more students than the average students per department.

12. Find the departments whose total salary is greater than the average salary per department.

13. For each department, list the professors who have the number of Ph.D. students he/she advises more than the average number of Ph.D. students these professors advise in their department.

14. List the students who have completed all the prerequisite courses for their major.

15. List the students who have taken all the courses offered by Professor Smith.

16. List the students who have only taken the courses taught by Professor Smith.

17. List the students who have taken all the courses that the student Franklin has taken.

18. List the students who passed all the exams required by their respective study plan.

19. List the students who had taken the courses required by their study plan.

The requirements for a university database:

In a university, we represent data about both students and employees, The university keeps track of each student's name, student number, social security number, address, phone, birth date, sex, class (freshman, sophomore,..., graduate), major department, minor department (if any), and degree program (B.A., B.S., M.A., M.S., ,„ Ph.D,), Some user applications need to access the city, state, and zip code of the student's address and the student last name. Both social security number and student number have unique values for each student. Each student has a study plan that shows list of required courses to be taken.

Each department is described by a name, department number, office number, office phone, and college, Both department name and department number have unique values for each department Each department has a Chairperson or a Dean in charge of that department. Each course has a course name, course number, number of semester hours (credit), and offering department Some courses have prerequisites (please pay attention here). Each course has the day, meeting time, place where the class is held. Each section has an instructor, semester, year, course, and section number. The section number distinguishes different sections of the same course that is taught during the same semester/year (may be at the same time), its values are 1, 2, 3, up to the number of sections taught during each semester. Employees are classified into faculty and staff, both of them have dependents, the database stores the information of employees' dependents for the insurance and benefit purposes.

Faculty could be full-time or part-time employees, Professors have ranks (Lecturer, Assistant Professor, Associate Professor, Full Professor) and salaries, Faculties (Professors) may hold different degree (highest degree is only considered here), Each professor belongs to at least one department Professors may have joint appointments from other department(s).

Staff are secretaries, program coordinators, assistant directors, directors, deans, vice presidents, and president.

A grade report for a course has student names, section number, and grades. Students may have a transcript for all the courses they have taken. For graduate students, the student's advisor should be included in the database.

Hint:

1. For any unspecified requirements, add the appropriate assumptions to make the specification complete.

2. You may want to identify multi-value attributes, composite attribute, and multi-valued composite attributes.

Reference no: EM131442490

Questions Cloud

How much would you save by paying all the tuition today : Your child has just started college at a private school which currently cost $60,000 per year. He will go to college for 4 years, starting now. You expect tution to increase in cost by 5% per year over the next 3 years. The college offers you the opp..
Do you believe a child or adolescent could self-actualize : Briefly describe Maslow's Hierarchy of Needs (1970) model including the 5 stages. Do you believe a child or adolescent could self-actualize or are only adults capable? Why? Is it best to work through the stages yourself or with the help of others? ..
What is the price of the most expensive car purchased : Drake and Josh (2 brothers) are each trying to save enough money to buy their own cars. Josh is planning to save $100 from every paycheck (he is paid every 2 weeks.) Drake plans to put aside $150 each month but has already saved $1,500. Interest rate..
How much is the percentage profit from the arbitrage : Suppose the euro is quoted at 0.6786-98 in London, and the pound sterling is quoted at 1.4724-70 in Frankfurt. Is there an arbitrage opportunity? If there is, how much is the percentage profit from the arbitrage? Please show work.
Design and implement database for real world environment : In this project option, you are asked to design and implement a database for a real mini world environment based on the given database requirements written in natural languages
Default-risk premium on the corporate bonds : Assuming that the maturity-risk premium on both bonds is the same and that the liquidity-risk premium on the corporate bonds is 0.25% while it is 0.0% on the Treasury bonds, what is the default-risk premium on the corporate bonds?
An evaluation of the ethical issues presented in the article : Develop aT LEAST 10 slideS Microsoft® PowerPoint® presentation to brief the class on your selected article. Include the following:A properly formatted title page,An agenda for your presentation,An outline of the purpose or focus of the article.
Real rate of interest and the inflation rate : If the real risk-free rate of interest is 4.8% and the rate of inflation is expected to be constant at a level of 3.1%, what would you expect 1-year Treasury bills to return if you ignore the cross product between the real rate of interest and the..
Why the property tax may lead to lower expenditures : Explain why the property tax may lead to lower expenditures on capital (buildings) per unit of land.

Reviews

len1442490

3/28/2017 1:02:31 AM

Everyone is encouraged to discuss the contents of this assignment with as many people as possible, in order to gain a thorough understanding of the various topics covered. However, work you hand in to me is implicitly represented as your own, it had better he just that: your work. Any acknowledged team effort will result in each member of the team receiving an equal share of the total caste of one assignment.

len1442490

3/28/2017 1:02:24 AM

Your report for this project should include the homogeneous grouping sentences, the database schema in ER diagram and linguistic definition by CSDL in BNF - (Backus-Naur Form grammar). Your report for this assignment should include the relational schemas and the corresponding relation instance for the database. Your report for this alignment should include the scripts of database creation database schema creation, and data loading. Your report for this assignment should include the SQL scripts for each query question and corresponding answer.

Write a Review

Database Management System Questions & Answers

  Draw an entity relationship diagram

Draw an entity relationship diagram (ERD) for the following situation: A company has a number of employees. Each employee is identified by an Employee_Id. The company wants to store Employee_Name, Employee_Address, and Employee_BirthDate in the d..

  Write query to perform inner join of grade and student

Write a query that performs an inner join of the grade, student, and grade_type tables using ANSI SQL 99 syntax (JOIN ON).

  Provide an expression in relational algebra

Provide expression in relational algebra for each of the following queries: Give all the managers in database a 10 percent salary raise. Give all the other employees a 5 percent salary raise.

  Copy one file to another.

Source and destination files both exist. Script shall prompt for permission to overwrite the destination file. If permission is denied, program will display message and terminate.

  Describe steps that you would use in order to convert table

Describe the steps that you would use in order to convert database tables to the First Normal Form, the Second Normal Form, and the Third Normal Form.

  Design tables in 3nf various codes for at least three fields

Create tables in 3NF. As you create the database, include different codes for at least three of the fields. Use sample data to populate fields for at least three records in each table.

  Why is it preferable to use a numeric based attribute

Why is it preferable to use a numeric-based attribute as the key attribute?- Why is it important that you identify all of the important relationships when developing an entity-relationship (E-R) diagram?

  Data mining

DATA MINING-Business and Management Scenario assignment-Data Warehouse Reports. This is Part Three of the three-part assignment. For this week, you will complete the following: Resource: Business and Management Scenario assignment, Document data ware..

  Data analysis and definition

What is the business implications that can be drawn from the process of building and comparing these models, and has this practice helped resolve the business issue? Why or why not?

  Worst-case performance of the fifo

Construct a scenario leading to the worst-case performance of the FIFO buffer replacement policy - determine if it is conflict serializable or not

  Identify the address that is in the same subnet

Which of the following subnet masks would offer 30 usable subnets with a minimum of 2040 usable hosts per subnet? We have been assigned the IP address in the exhibit. Choose the best answer.

  Explain how data is physically stored and accessed

Explain how data is physically stored and accessed

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