Ask Question, Ask an Expert


Ask DBMS Expert

Home >> DBMS

Attempt all the problems.


problem1) describe the rules for deriving relations which represent strong entity types, weak entity types, one-to-one binary relationship types, one-to-many relationship types, multi-valued attributes, and super class / subclass relationships.

problem2) describe the difference between hashing and indexing? What type of data structure might be implemented to support index-based search ensuring fast retrieval of information in a uniform fashion?

problem3) For each of the following application areas, describe why a relational database system will be inadequate. List all specific system components that would be need to modify.

i) Computer Aided Design

ii) Multimedia Database.

problem4) Consider following relations:

Faculty (F_id, F-name, F-designation) [The table contains several tuples having f-id as primary key]

Patient (P_id, P_name, p_address, date of admission) [The table contains several tuples and is stored on P_id]

Consultation date (C_date, F_id, P_id)

prepare the following queries:

(i) Find details of the whole faculty whose designation is a senior doctor and have got consultation date in July 2007.

(ii) Name the details of all patients who have got consultation dates fixed between 15th  August to Sept. 2007


Case Study

Let us assume that XYZ University's Administration Office needs a database to handle student’s transcript data. The following are the requirements:

a) The database keeps track of each student's name, enrollment no. (E. No.), communication address and phone no., permanent address and phone no., date of birth, sex, class, department, college, major subjects (a 4-char code).

b) Some applications need to refer individually to the city, state (2-char abbrv.) and zip code (some use 5-digit, some use 9) of the student’s address. Some applications need to refer to student’s first and last names separately. Enrollment no. should be unique number for each student.

c) Each department has a name, a 3-char code, location (main building and room number), office phone, college, and a list of instructors. Many colleges are affiliated to the University. Department names and code are unique, within university.

d) Each instructor has his/her enrolment no., first name and last name.

e) The course catalog contains the list of courses that XYZ University offers. Each course has a number (e.g. 543), name, description, credit hours and department. Course numbers are unique within a department, but not unique across the university (so taken together, they are unique). Not every course is offered every semester.

f) Each section has a single instructor (first and last names - no team-taught class), semester (1-4) year (2-digit), course number and section number.

g) A grade report contains student's name, E. No, course number and section, letter grade (A, B,C, D, E).

Note: If the above user requirements leave out any significant detail, suppose that it is handled the way XYZ does things in the real world.

Answer the following problems based on the above requirements and specifications:

(i) Draw E-R diagram of the above. Name all the accompanying attributes/domains (including constraints).

(ii) Convert your E-R diagram to the relational schema:

• Use naming as specified in the E-R diagram.

• Use format as shown in the ex below, including:

• Table name in caps

• List of attributes with primary key underlined

• Foreign key specified with table/attribute it references (with .. cascade, it suitable)

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M93503

Have any Question? 

Related Questions in DBMS

Database design and implementationtask 1 - database

Database Design and Implementation Task 1 - Database Design Your first task is to design a database for the scenario detailed on the following pages. Your final database design should comprise of approximately 10 entitie ...

To prepare for the discussion read the article bridging the

To prepare for the discussion, read the article "Bridging the Gap: The Difference Between Data Analysis and Data Modeling." in the Module Resources folder on data manipulation. Next view the Power Point presentation "Dat ...

Db questions1 what is a consistent database state and how

DB QUESTIONS 1. What is a consistent database state, and how is it achieved? 2. List and discuss the five transaction properties. 3. What is a transaction log, and what is its function? 4. What is a deadlock, and how can ...

Databaseplease read carefully and if u sure u can do it

Database Please read carefully, and if u sure u can do it email me., please Design a database (entity and relationship tables in Access) for a small college department library. You should have the entities and relationsh ...

Overviewfor this assignment you will implement and query a

Overview For this assignment you will implement and query a database from a supplied ER Diagram and Schema. You will be required to write the SQL statements to create the database structures, to fill the database with da ...

Assessment item 1taskthe fermoy house databasethe owners of

Assessment Item 1: Task The Fermoy House database The owners of Fermoy House, a Bed and Breakfast guest house in the Blue Mountains of NSW, have approached you to build them a database to help them run their business. Fe ...

Database systemretail store database Database system Retail Store Database: Relationships

Database system Retail Store Database: Relationships • Conduct an in-depth examination and analysis of the database, Week2_RetailStore.accdb . Apply the concepts of database systems that you have learned this week. For e ...

Coit20247 database design and development assignmentyou

COIT20247 Database Design and Development Assignment You must use that sample solution of assignment only for the following tasks: Assessment task- 1. Normalization a) Map the ERD, from the sample solution, into a set of ...

1 what is the difference between a column constraint and a

1. What is the difference between a column constraint and a table constraint? 2. What is a recursive join? 3. Explain the difference between an ORDER BY clause and a GROUP BY clause. 4. What is a CROSS JOIN? Give an exam ...

Questionwrite a 2 to 3 page essay describing the use of an

Question: Write a 2 to 3 page essay describing the use of an OLAP Data Cube. Your essay should also describe the operations of Drill Down, Roll Up, Slice, and Dice. Video: What is Business Intelligence and an OLAP Cube? ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate