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 No 2

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

 

Application_Info

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

 

 

 

 

 

 

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

 

Answer:

ApplictionID

 

Roll_No

 

Name

father_Name

 

qualification

Address

Program

 

Application_date

1000

MBA100

Umair

Ikram

MBA

 

Islamabad

Master

01/01/2015

 

1001

MBA101

Wasim

Maqsood

MBA

 

Mardan

Master

01/01/2015

 

1002

MSC102

faizan

jawad

MSC

 

211

Master

01/01/2015

 

1003

BS1003

Atif

Sohail

BS

 

212

Bachelor

01/01/2015

 

 

 

Thanks a lot!!!! But where is the first question? Please also post the answer of first question. I shall be very thankful to you for your at of kindness.

is it correct, any one knows?

bhai yah nai hay yah just tabling hay ap nay qury ka result be show karwana hay :P

Database say jab data read katy hay to us ki report genrate hoti hay i think wo report show karwani hay 

table galat hy.......

2nd question main koi btaye ga is line ka kya matlb hai

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

this is a sql query which perform joining of student info and application info tables...

first question ka bahi kuch bta do kuch samjh nahi a rhai....katny table bnay gay

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

is ka matlab hay 

Table arrangement 

1)Roll #

2)Name  

4)Application_ID

5)Program

6)Application_date 

just yah he column bany gay bus ...

baqi nai ay gay Q kay qurry may nai hay so hum b show nai karway gay .....

bhai Q-1 ka b kuch bata do kitny tables banay gay ??:

any one tell about cs 614

Where is 3 option???

RSS

Looking For Something? Search Below

Top Trends 

Latest Activity

Ziddi Programmer commented on + M.Tariq Malik's page Chit Chat Wall
1 hour ago
Ziddi Programmer replied to Mr Siren Head's discussion Ning Chats
1 hour ago
Ziddi Programmer liked Mr Siren Head's discussion Ning Chats
1 hour ago
Mr Siren Head replied to + !♛EMAN FATIMA!'s discussion Course Selection
1 hour ago
mumtaz Muddasir Yasin is now a member of Virtual University of Pakistan
2 hours ago
Saeed liked Mehreen Tasneem's profile
yesterday
Mehak commented on + M.Tariq Malik's page VULMS Login Here
yesterday
Mr Siren Head replied to Mr Siren Head's discussion Ning Chats
Sunday

VIP Member Badge & Others

How to Get This Badge at Your Profile DP

------------------------------------

Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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