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 files as you receive in your LMS, So it can be discussed/solved timely. Files Upload Here.

GDB of CS614 will be launched on Monday, August 04, 2014 (04-August-2014) and will last for 48 hours only

The topic will be as follows:

Consider the following table structure:

ProductID (Primary key, Integer, Not NULL)

ProductName (String, Not NULL)

ManufacturingDate (Date, Not NULL)

ExpiryDate (Date, Not NULL)

Category (Integer, Not NULL, Refers to Category column in Category table)

UnitPrice (Float, Not NULL)

Question: Suppose we want to create index (primary) on this table. Identify the indexing technique, you think is best to consider in this case. Justify your answer with valid reasons.


Note: Try to provide precise, to the point answer and avoid irrelevant details.

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

.

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

Replies to This Discussion

thnx u al friend 

zakki is k answer is tara ni dena 

ProductID (Primary key, Integer, Not NULL)

answer:-----

ProductName (String, Not NULL)

answer:-----

ManufacturingDate (Date, Not NULL)

answer:-----

ExpiryDate (Date, Not NULL)

answer:-----

Category (Integer, Not NULL, Refers to Category column in Category table)

answer:-----

UnitPrice (Float, Not NULL)

answer:-----

zakki ab samaj ye ni a rahi k karna kasy hai...

I think question ka answer is trha nahi dena because following structure only one table header ka hai.

ProductID (Primary key, Integer, Not NULL)
ProductName (String, Not NULL)
ManufacturingDate (Date, Not NULL)
ExpiryDate (Date, Not NULL)
Category (Integer, Not NULL, Refers to Category column in Category table)
UnitPrice (Float, Not NULL)

Means given table is looks like as following,

Product ID

[Primary Key,

Not Null]

Product Name

[String,

Not Null]

Manufacturing Date

[Date, Not Null]

Expiry Date

[Date, Not Null]

Category

[Foreign Key,

Integer,

Not Null]

Unit Price

[Floating,

Not Null]

you are right waqas khan pore table k lea jst ak indexing ho gi wo bitmap hai 

waqas bro table mein kasy define kar dn..

Table main define nahi krna just ye btana hi k kon se indexing technique Best hi. like Bitmap indexing, Cluster indexing or Invert Indexing, jo k given table k leay best hi. with some reasons.

Syeda Shahzadi Bukhari (BS 8th ) humnay sirf indexing technique ka batana ha na kay table solve karni ha.

choose bitmap indexing and see tarik malik statement

in the given table there are two keys 1 Primary Key and 2 Foreign Key. In the video lecture No 27, example of bitmap Index had The City Table and Tech Table. these tables have no foreign key. in both the tables only SID is the unique key that is (Primary Key). what you think about it.

as i think the clustring is best for this scenario... we can cluster products by there type like dairy, electronics , food.... etc...

what u think guys???

as i think the clustring is best for this scenario... we can cluster products by there type like dairy, electronics , food.... etc...

what u think guys???

RSS

Latest Activity

Atif Malik updated their profile
12 minutes ago
Shani Gujjar updated their profile
12 minutes ago
HaMza Tufail left a comment for Aniqa Fatima
17 minutes ago
HaMza Tufail left a comment for + M.Tariq Malik
45 minutes ago
+ ! ❤INNOCENT❤ commented on + ! ❤INNOCENT❤'s photo
57 minutes ago
Profile IconAmna, noor, tafseel and 15 more joined Virtual University of Pakistan
1 hour ago
Syeda left a comment for Hafiz Furqan Sabir
1 hour ago
Hadi replied to MIT's discussion Visual Programing (CS411) Assignment#01 Deadline Date = 18-11-2019 in the group CS411 Visual Programming
1 hour ago
Profile IconHadi and Fazal ur Rehman joined + M.Tariq Malik's group
1 hour ago
November 2019 replied to + M.Tariq Malik's discussion CS301 Assignment No 01 Fall 2019 Solution & Discussion in the group CS301 Data Structures
1 hour ago
KIRAN SIAF replied to + M.Tariq Malik's discussion How to Prepare The Mid Term Exams & Study in VU
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked + M.Tariq Malik's discussion Waqar Files For Mid Term Past Papers
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + M.Tariq Malik's discussion VU All Handouts Power Point Slides ( Handouts PPTs)
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked 彡JK彡 ❤️'s discussion Army Public School and College Mangla........ Staff required!!
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked shan's discussion project cs619
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked UMER UMER's discussion images111.jpg
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + Iuuoɔǝut +'s discussion TERMPAPER ON ‘FINANCIAL SYSTEM OF BANGLADESH’.
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked +¢αяєℓєѕѕ gιяℓ's discussion Mera tu Mohabbat se aitbar.............:-P
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked +¢αяєℓєѕѕ gιяℓ's discussion Hazam Kary....!
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked +¢αяєℓєѕѕ gιяℓ's discussion Kashish Aur Mohabbat
2 hours ago

Today Top Members 

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

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