Você está na página 1de 5

Data warehousing (CS614)

Assignment # 2 (GRADED)
Total marks = 20
Deadline Date: 08-12-2014

Please carefully read the following instructions before attempting the assignment.

Rules for Marking


It should be clear that your assignment would not get any credit if:

The assignment is submitted after due date.


The submitted assignment does not open or file is corrupt.
The assignment is copied. Note that strict action would be taken if the submitted assignment
is copied from internet or any other source.
You should consult recommended books to clarify your concepts as handouts are not sufficient.

You are supposed to submit your assignment in .doc format. Any other formats like scan images,
PDF, Zip, rar, bmp, docx etc will not be accepted

You are advised to upload your assignment at least two days before Due date.

This assignment file comprises of Five (5) pages.

Assignment is Graded and will contribute marks in final grades

Important Note:
Assignment comprises of 20 Marks. Note that no assignment will be accepted after due date via email
in any case (whether it is the case of load shedding or emergency electric failure or internet
malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline, and
try to upload Solutions at least 02 days before the deadline to avoid inconvenience later on.
For any query please contact: CS614@vu.edu.pk
Question No. 1 [10]

You are given ERD as shown below. Perform appropriate de-normalization technique to any of
the one-to-one and one-to-many relations.

ERD

Question No. 2 [10]


Consider the below given tables:

Student_ Info

Roll_No

Name

father_Name

qualification

Address

MBA_1000

Umair

Ikram

MBA

Islamabad

MBA_1001

Wasim

Maqsood

MBA

Mardan

MSC_1002

faizan

jawad

MSC

211

BS_1003

Atif

Sohail

BS

212

Roll_No

Name

father_Name

qualification

Address

MBA_1000

Umair

Ikram

MBA

Islamabad

MBA_1001

Wasim

Maqsood

MBA

Mardan

MSC_1002

faizan

jawad

MSC

211

BS_1003

Atif

Sohail

BS

212

Application_Info

Roll_No

Name

father_Name

qualification

Address

MBA_1000

Umair

Ikram

MBA

Islamabad

MBA_1001

Wasim

Maqsood

MBA

Mardan

MSC_1002

faizan

jawad

MSC

211

BS_1003

Atif

Sohail

BS

212

Appliction_ID

Roll_No

Program

Application_date

1000

MBA_1000

Master

01/01/2015

1001

MBA_1001

Master

01/01/2015

1002

MSC_1001

Master

01/01/2015

1003

BS_1001

Bachelor

01/01/2015

Suppose we need to run the below given query more frequently. But the problem is that the
given query links two tables which degrade performance. Perform the most appropriate denormalization technique to enhance the performance so that we dont need to perform join.

Select S.Roll_No, S.Name, A.Application_ID,A.Program,A. Application_date from

Student_Info S, Application_Info A where A.Roll_No= S.Roll_No

Você também pode gostar