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


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Data warehousing (CS614)
Assignment # 03 (GRADED)
Total marks = 20
Deadline Date = 28-July-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

Consider the following table:

Player_Country

Player_ID Player_type Country_name
PK-01 Batsman Pakistan
PK-05 Bowler Pakistan
SA-07 Batsman South Africa
SA-09 Wicket Keeper South Africa
AU-01 All Rounder Australia
AU-04 Bowler Australia
WI-01 Batsman West Indies
WI-06 All Rounder West Indies

Question no. 1:

Consider the following two queries:

1) Select * from Player_Country where Player_type =”Bowler” OR Country_name=”Australia”
2) Select * from Player_Country where Player_type =”Batsman” AND Country_name=”Pakistan”

Create bitmap index for the above given queries.

Note: You need to specify each and every step including index tables, bit vectors and the resultant records that satisfy the above query.

+ How to Follow the New Added Discussions at Your Mail Address?

+ 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: 7117

.

+ 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

After reading this page with full concentration you can solve your full assignment :-)

http://docs.oracle.com/cd/A87860_01/doc/server.817/a76994/indexes.htm

Keya OR aur AND aisay he use kerne hain index vectors per? Correct or Not?

kia sirf aisa  banana he jase app ny picture d hui ha ya kuj r b add kerna hay iss me please guide

Ri8

hadi plss assignment me 2 tables banany hein bata dein ya si

yes assignment me 2 indexes tables banany hein aik Player_type ke leye aur dosra Country_name ke leye phir in ke bit vector aur akhir me bit vector ke le query run ker ke resultant bit vector dekana hain aur last me resultant bit vector ke zarye query ka result mention karna hai

check this one please

Attachments:

is this complete and rite solution of the assimnt?

is m just index table h. how can we determine bit vectors and resultant records

 

Player_Country

 

Player_ID

Player_type

Country_name

PK-01

Batsman

Pakistan

PK-05

Bowler

Pakistan

SA-07

Batsman

South Africa

SA-09

Wicket Keeper

South Africa

AU-01

All Rounder

Australia

AU-04

Bowler

Australia

WI-01

Batsman

West Indies

WI-06

All Rounder

West Indies

 

Player_type

 

Player_ID

Batsman

Bowler

Wicket Keeper

All Rounder

PK-01

1

0

0

0

PK-05

0

1

0

0

SA-07

1

0

0

0

SA-09

0

0

1

0

AU-01

0

0

0

1

AU-04

0

1

0

0

WI-01

1

0

0

0

WI-06

0

0

0

1

 

Country_name

 

Player_ID

Pakistan

South Africa

Australia

West Indies

PK-01

1

0

0

0

PK-05

1

0

0

0

SA-07

0

1

0

0

SA-09

0

1

0

0

AU-01

0

0

1

0

AU-04

0

0

1

0

WI-01

0

0

0

1

WI-06

0

0

0

1

 

 

1)      Select * from Player_Country where Player_type =”Bowler” OR Country_name=”Australia”

 

 

 

Player_ID

Bowler

OR

Australia

ANSWER

PK-01

0

0

0

PK-05

1

0

1

SA-07

0

0

0

SA-09

0

0

0

AU-01

0

1

1

AU-04

1

1

1

WI-01

0

0

0

WI-06

0

0

0

 

2) Select * from Player_Country where Player_type =”Batsman” AND Country_name=”Pakistan”

 

 

Player_ID

Batsman

AND

Pakistan

ANSWER

PK-01

1

1

1

PK-05

0

1

0

SA-07

1

0

0

SA-09

0

0

0

AU-01

0

0

0

AU-04

0

0

0

WI-01

1

0

0

WI-06

0

0

0

 

This this is the right way. Good Efforts. 

kya ye ri8 or complete sol hai anyone

RSS

Latest Activity

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

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

.