Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

CS614 Assignment No. 2 Solution and Discussion Due Date 08-12-2014

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.

Question No. 2 [10]
Consider the below given tables:
Student_ Info

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 de-normalization technique to enhance the performance so that we don’t 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

Views: 9225

Replies to This Discussion

Question 1

 

De-normalization of one to many relations

 

Scholarship

Applicant ID

Scholarship Type

Available Scholarship

Country

 

Applicant

Applicant ID

Applicant Name

Father Name

Gender

Applicant DOB

Qualification

Research Proposal Status

Applicant Address

Email

CNIC No

Publications

Advisor  ID

Department ID

 

 

Department

Department ID

Department Name

 

Application

Application ID

Application Name

Application Status

Applicant

Applicant ID

 

Advisor

Advisor ID

Department ID

Proposed Advisor Name

Admission Committee ID

 

Admission Committee

Admission Committee ID

Admission  Status

Research Proposal Status

Applicant  ID

 

Research Proposal

Research Proposal ID

Application ID

Description

Applicant ID

 

De-normalization of one to one relations

 

Applicant ID

Admission Committee

Applicant Name

Father Name

Gender

Research

Proposal

Status

Applicant  Address

Email

CNIC No

Publication

Advisor ID

Department ID

Research Proposal

Admission Status

 

we do question 2 in sql server or we can do in word??

assignment only .doc may jama karwani hay 

snapshot lay kay 

Zinnia 

Acording to the reply of sir. dnt need to run it in Sql v can simpl denormalization

is ko sql me run karna prega

i think is may kuch garbar hay >

i thinking .....

would you like to explain in one to many relationship....

Question 2 ka bata dy koi,,, kia krna hy us ka ..????

wo just simple qury SQL may perform krni hay jis ki base par table bany ge us ko snap shot karna hay 

subh submit ho jyee assignment??? subh extended den gy na??? last 8 jan likha hoa??

I think q1 needs only one example. Its says any one..

please koi complete solution day do plzzzzz

plss students help time py kr diya kro aj extand day ha.

RSS

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service