|GDB_FALL 2013||Dated: Feb 14, 14|
Please Note that GDB of CS403 will be launched on 19th of February 2014 (19-Feb-2014) and will last for 48 hours only.
The topic will be as follows:
Suppose there are two entities "building" and "apartment". The entity "apartment" is dependent entity and cannot exist independently and “building” is an independent entity. The "apartment" entity contains the primary key (building_name) of building entity to identify the apartment of that specific building. The "apartment" entity also has its own identifier, i.e. apartment_no but that identifier is not sufficient to identify the particular apartment, so in this case we used both keys building_name and apartment_no to identify the particular apartment.
You have studied different dependencies in the course. You are required to choose the appropriate dependency applicable in the above scenario. Justify your answer with reasons.
For any query: CS403@vu.edu.pk
+ 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)
yahn to functional dependency ka hi zikr ho rha hy aur suitable kon si hy?
fucntional corect hai
o bhai idntifer dependncy tb ho na jb particur apartment ki bat ho q nai sumjh rhy
ammara sis, i am confuse agar functional dependency hy to phir values to itself hi identify kr rhi hein khud ko aur "apartment" entity contains the primary key (building_name) of building entity to identify the apartment of that specific building. to yeh identifier dependency hy?? please comment
i finaled my GDB at identifier dependency
because apartment entity is dependent on building entity for their identification
"apartment" entity also has its own identifier, i.e. apartment_no but that identifier is not sufficient to identify the particular apartment
what do you think about Referential or Identifier
apartment entity is existence dependent on building too. we cant have apartment without building.
maxis , i think functional dependency is best but referential is little bit near so what you say?
I think you are right
waqas ap referential kh rhy hein, yes i agree with these all kion k har entity khud ko identify kr rhi hy primary key and attribute hein aur depend bhi kr rhi hein aik dosry bhi specily building_name on appartment_no. so what we should say??? m also confuse in b.w referential & functional dependncy :?