We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Data warehousing (CS614)
Assignment # 04 (GRADED)
Total marks = 20
Deadline Date = 10-August-2015

Please carefully read the following instructions before attempting the assignment.

Assignment Guidelines:
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 any other student. Both students will be punished severely.

1) You should consult recommended books to clarify your concepts as handouts are not sufficient.
2) You are supposed to submit your assignment in .doc or docx format. Any other formats like scan images, PDF, Zip, rar, bmp etc will not be accepted
3) You are advised to upload your assignment at least two days before Due date.

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:

Consider the following table:

Player_Team

Player_ID Player_Name Team_ID Pool_ID
WI-06 Richordson WI A
PK-05 Misbah PK A
SA-07 AB Devillier SA B
AU-01 Steve Waugh AU B
PK-01 Hafiz PK A
AU-04 Maxwell AU B
WI-01 Ambrose WI A
SA-09 Dal Styn SA B

Consider the following query:

SELECT Count (Player_Team.Pool_ID) AS CountOfPool_ID
FROM Player_Team
GROUP BY Player_Team.Pool_ID;

Answer the following questions:

1. You need to identify the number of clusters from this data.
2. Secondly, you have to identify whether the given clustering is one way or two way clustering. Your answer should support by valid reasons.

Question no. 2:

Consider the following tables:

Player

Player_ID Player_Name Team
PK-01 Wasim Pakistan
PK-02 Misbah Pakistan
SA-03 AB Devillier South Africa

Award

Award_ID Match_ID Player_ID
01 01 PK-01
01 02 PK-01
02 03 PK-02
01 04 SA-03

Consider the following query:

Select * from Player P, Award A where P.Team= ‘Pakistan’ and A.Award_ID = ‘01’ and P.Player_ID = A.Player_ID

Suppose this query is executed using Naive Nested-Loop join (i.e. there is no index created on both Player and Award tables). Mention that which table should be the Outer table to get minimum I/O by manually calculating the cost in both cases i.e. when “Player” is outer table and when “Award” is outer table.

Note: You need to mention the calculations in your solutions where required.

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 11765

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

lec # ??????

any body help regarding question 1

Question 1 seems easy as u have to make clusters and identify the type of cluters as they are one way or two way. With reason. I can't understand about q 2 kindly anyone explain it? Plz reply soon becoz time is too short

anyone with solution Please.

Cluster index is lecture 27..............

q2?

its one way as it performed on data records(rows) however two cluster performed on both column and rows




i think there is another cluster which is on Team_ID

Q1: It is one way clustering and there are two nos of clustered index in this data 

Q2 :

Player_ID

Player_Name

Team

Award_ID

Match_ID

PK-01

Wasim

Pakistan

01

01,02

complete table ko outer rakhna hai ya quilifying rows ko. Kindly reply

qualifying rows ko hi lena hai

RSS

Latest Activity

ϝ ι ყ α posted a discussion
15 minutes ago
ϝ ι ყ α replied to + "AS"'s discussion Neelam Mat Karna ...
23 minutes ago
ϝ ι ყ α replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Me, Mom and Winters
26 minutes ago
+ M.Tariq Malik left a comment for Waqas Kh@n
28 minutes ago
+ M.Tariq Malik left a comment for Dot Net Developer
29 minutes ago
ϝ ι ყ α replied to ϝ ι ყ α's discussion *خواتین.........XD XD *
30 minutes ago
+ M.Tariq Malik left a comment for AsadJaved
31 minutes ago
ϝ ι ყ α replied to ϝ ι ყ α's discussion *خواتین.........XD XD *
32 minutes ago
+ M.Tariq Malik left a comment for CS619
32 minutes ago
+ M.Tariq Malik left a comment for Zahid Iqbal
33 minutes ago
+ M.Tariq Malik left a comment for Zain
34 minutes ago
+ M.Tariq Malik left a comment for Zareen
35 minutes ago
+ M.Tariq Malik left a comment for Malik AB
36 minutes ago
ϝ ι ყ α liked + Iuuoɔǝut+'s discussion Agar Mujh Sy Mohabbat Hy .........
39 minutes ago
+++LEARNER+++ replied to +++LEARNER+++'s discussion How to Speak Correct English
49 minutes ago
+++LEARNER+++ posted discussions
54 minutes ago
ayesha joined + M.Tariq Malik's group
56 minutes ago
ayesha joined + M.Tariq Malik's group
57 minutes ago
+ ! ! ! ! МĂĤĂŔ βĂŚĨŤ ŚĨĂĹ ^ liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion Me, Mom and Bachy howey paisy
1 hour ago
+ ! ! ! ! МĂĤĂŔ βĂŚĨŤ ŚĨĂĹ ^ liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion Me, Mom and Winters
1 hour ago

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

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