www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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

Objective:

The assignment has been designed to develop your ability to calculate the Bitmap index. 

Instructions:

Please read the following instructions carefully before solving & submitting assignment:

 

  1. 1.      The assignment will not be accepted after due date in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.).
  2. 2.      Zero marks will be awarded to the assignment that does not open or the file is corrupt.
  3. 3.      The assignment file must be an MS Word (.doc) file format; Assignment will not be accepted in any other format.
  4. 4.      Zero marks will be awarded to the assignment if copied (from other student or copied from handouts or internet).
  5. 5.      Zero marks will be awarded to the assignment if the Student ID is not mentioned in the assignment file.

 

For any query about the assignment, contact only at CS614@vu.edu.pk

Do not post queries related to assignment on MDB.

 

GOOD LUCK

Question 1                                                                                                                                         [20 Marks]

 

Consider the following table:

 

Player_Country

Player_ID

Player_type

Country_name

IND-01

Wicket Keeper

India

IND-05

Bowler

India

SA-07

Batsman

South Africa

SA-09

All Rounder

South Africa

AF-01

Batsman

Afghanistan

AF-04

Wicket Keeper

Afghanistan

WI-01

Batsman

West Indies

WI-06

Spinner

West Indies

 

Create bitmap index for the following queries.

 

1) Select * from Player_Country where Player_type =”Bowler” AND  Country_name=”India”

2) Select*from Player_Country where Player_type =”Wicket Keeper” OR Country_name=”Afghanistan”

 

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

 


+ 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)


Views: 4689

Attachments:

Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

Check out this link 

https://docs.oracle.com/cd/B10500_01/server.920/a96520/indexes.htm

 what you say guys about it ?

1) Select * from Player_Country where Player_type =” Bowler” AND  Country_name=”India”

      Bowler =    0 1 0 0 0 0 0 0

Country =    1 1 0 0 0 0 0 0

Answer AND:  0 1 0 0 0 0 0 0 

2) Select*from Player_Country where Player_type =” Wicket Keeper” OR Country_name=”Afghanistan”

      Wicket Keeper =   1 0 0 0 0 1 0 0

      Country     =    0 0 0 0 1 1 0 0

Answer OR:         1 0 0 0 1 1 0 0 

i am right?

Yes You a rat :P

u r right but what about resultant records?

bro ye bata dein ke ap ne ye number(100010) kese diye hein.

is it right answer bro

plz share solution

plz cmplt sol upload krn

bus ye he solution hai is assgnmt ka

 koe correct solution upload kr dy plzzz

RSS

Looking For Something? Search Below

Latest Activity

Profile IconSaadia, Muhammad Rehan, Iram Yousaf and 1 more joined Virtual University of Pakistan
2 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion HRM613 Assignment No 02 Fall 2020 Solution / Discussion Due Date: 01-02-2021 in the group HRM613 Performance Management
9 minutes ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion HRM613 Assignment No 02 Fall 2020 Solution / Discussion Due Date: 01-02-2021
9 minutes ago
+ M.Tariq Malik added a discussion to the group HRM613 Performance Management
11 minutes ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + posted discussions
24 minutes ago
Muhammad Sufyan Randhawa posted a status
"hamari university may koi farewell party ka b scene hota ha?? btw mera 7th sems chal raha per aj tk pata to nae chala.."
26 minutes ago
Mani Siddiqui Ex replied to + M.Tariq Malik's discussion CS403 Assignment No 03 Fall 2020 Solution & Discussion Due Date:25-01-2021 in the group CS403 Database Management Systems
35 minutes ago
Mani Siddiqui Ex posted a status
48 minutes ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +'s discussion !!!! !!!!!!
59 minutes ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + liked + !! Ήලᵯᵯℹ Ⲥⱨ !! +'s discussion !!!!TRUE LOVE NEVER DIES!!!!
59 minutes ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + liked Zoha n's discussion ......!!!! (^◡^ )
59 minutes ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + liked D$OuLoVeRwHeLm€d's discussion dildar❤
59 minutes ago

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

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

.