cs403 paper

Upload: hassanm2222

Post on 03-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Cs403 Paper

    1/5

    CS403 Database Management System. Current Papers. 2013

    _________________________________________________

    CS403 Database Management System

    Current paper 25 May 2013

    Total MCQS 20 1 Mark

    Short Question 2 of 2 MarksShort Question3 of 2 Marks

    Short Question 5 of 2 Marks

    1- What is extension and intension

    2- What is query evaluation engine

    3- How many resultant tables we have, while implementing one-to-one relationship in designing

    database?

    4- What is degree of a relation?

    5- Difference between null value and zero value.

    6- How does Tuple-oriented relational calculus differ from domain-oriented relational calculus?

    My today cs403 paper.

    50% mcqs were from past papers.

    Difference between relation and relationship. 2 marks

    Define degree of a relation. 2 marks

    Explain difference operation (A-B) between two relations. 3 marks

    Anomalies se rewlated tha ek question 3 number ka.

    1 relation di gie thi jo k 1st normal form mai thi, usy 2nd normal form me convert krna tha. 5marks

    or ek question ki mujhy khud samjh nhi lagi or wo mery zehan mai b nahi he.

    Remember me in your prayers.

    Write Two type of Anomalies?

    Write the main Function of Subtype Discriminator?

    ik scenrio diya tha us mai sy Entities dhond k mention karni thi

    ik mai Diagram thi jis mai Entitiy Student aur us k Attributes {ID,

    Skill, Name, Fathers Name, Address} thay in mai sy hum ny best

    candidate for multivalue attribute btana tha

    ik mai Student X aur us k attributes diyay thay aur us ki

    dependencies btana tha k ye BOYCE law mention krti han k nhi

  • 7/28/2019 Cs403 Paper

    2/5

    aur ye attributes sb candidates key han k nhi Yes OR No mai

    answer dena tha

    ik mai 2 table Customer ka aur Invoice ka diya hua tha jis sy hum

    ny Resultant Table A nikalna tha Through Realtional somthingformula diya tha k Customer X(EquiJoin)Invoice and EquiJoin =

    Customer.Customer ID

    4 types of anomalies: page 170

    Redundancy

    insertion anomaly

    deletion anomaly

    updation anomaly

    Subtype discriminator:

    This is tool or technique which provides us a

    methodology to determine that to which suctype one

    instance of a subtype belongs.

    to determine the relation we place an attribute in the

    entity supertype which can specify through its value,that to which entity subtype it belongs. page 108

    today paper

    1) Diagram di hoi thi us ko analyze karna tha or foreign key

    batani thi. 2

    2) Describe the insertion and difference operation 2

  • 7/28/2019 Cs403 Paper

    3/5

    3) 2 table tha us ma foreign key batai hoi thi or ya batana tha

    ka ya default ha ya domain ha 3

    4) 2 Table tha us ka resultant find karna tha or ya batana tha

    ka X U Y = Y U X (yes/no) 5

    today's paper was very tough....only few mcqs were from past

    papers, 3 or 4 i guess, and not a single Subjective question was

    from past. and 3 short questions were about 1NF and 2NF.

    Questions lengthy the is liye note nahi kiye. prepare well.....and

    pray for all.

    Subjective:

    Write Two type of Anomalies?

    Write the main Function of Subtype Discriminator?

    ik scenrio diya tha us mai sy Entities dhond k mention karni thi

    ik mai Diagram thi jis mai Entitiy Student aur us k Attributes {ID,

    Skill, Name, Fathers Name, Address} thay in mai sy hum ny best

    candidate for multivalue attribute btana tha

    ik mai Student X aur us k attributes diyay thay aur us kidependencies btana tha k ye BOYCE law mention krti han k nhi

    aur ye attributes sb candidates key han k nhi Yes OR No mai

    answer dena tha

    ik mai 2 table Customer ka aur Invoice ka diya hua tha jis sy hum

    ny Resultant Table A nikalna tha Through Realtional somthing

    formula diya tha k Customer X(EquiJoin)Invoice and EquiJoin =

    Customer.Customer ID

    PermalinkAll MCQS Mostly New if Concept clear then you can attempt it

    easly

    Scenario was given. Draw cross reference matrix ............5 Marks

    Table given Find Equi join.........5marks

    Find one to one Relation>>>2marks

    Other i don't remember

    Friends if you want to get good attempt in Subjective

    question.....then understand all the concept from lecture 16 to

    20.....and mcqs conceptually from 5 to 20

    http://virtualians.pk/xn/detail/6543099:Comment:416663http://virtualians.pk/xn/detail/6543099:Comment:416663http://virtualians.pk/xn/detail/6543099:Comment:416663
  • 7/28/2019 Cs403 Paper

    4/5

    MY today's paper was very tough....only few mcqs were

    from past papers, 3 or 4 i guess, and not a single

    Subjective question was from past. and 3 short

    questions were about 1NF and 2NF. Questions lengthythe is liye note nahi kiye. prepare well.....and pray for

    all.

    -------------------------------------------------------------------

    In my today's paper subjective is easy MCQS is not from

    past papers (Moaaz File) sirf 2 3 hi thay Moaaz bhai ki

    file mai sy baqi sb new thay tuff thay

    Subjective:

    Write Two type of Anomalies?

    Write the main Function of Subtype Discriminator?

    ik scenrio diya tha us mai sy Entities dhond k mention

    karni thi

    ik mai Diagram thi jis mai Entitiy Student aur us k

    Attributes {ID, Skill, Name, Fathers Name, Address}thay in mai sy hum ny best candidate for multivalue

    attribute btana tha

    ik mai Student X aur us k attributes diyay thay aur us ki

    dependencies btana tha k ye BOYCE law mention krti

    han k nhi aur ye attributes sb candidates key han k nhi

    Yes OR No mai answer dena tha

    ik mai 2 table Customer ka aur Invoice ka diya hua tha

    jis sy hum ny Resultant Table A nikalna tha Through

    Realtional somthing formula diya tha k Customer

    X(EquiJoin)Invoice and EquiJoin = Customer.Customer

    ID

    Remember Me In Your Prayers

    ----------------------------------------------------------

  • 7/28/2019 Cs403 Paper

    5/5

    MY TODAY Paper............

    All MCQS Mostly New if Concept clear then you can

    attempt it easly

    Scenario was given. Draw cross reference matrix............5 Marks

    Table given Find Equi join.........5marks

    Find one to one Relation>>>2marks

    Other i don't remember

    Friends if you want to get good attempt in Subjective

    question.....then understand all the concept from

    lecture 16 to 20.....and mcqs conceptually from 5 to 20

    May be i am wrong ....But mostly paper look like

    this....

    ============================================

    My today cs403 paper.

    50% mcqs were from past papers.Difference between relation and relationship. 2 marks

    Define degree of a relation. 2 marks

    Explain difference operation (A-B) between two

    relations. 3 marks

    Anomalies se rewlated tha ek question 3 number ka.

    1 relation di gie thi jo k 1st normal form mai thi, usy

    2nd normal form me convert krna tha. 5 marks

    or ek question ki mujhy khud samjh nhi lagi or wo mery

    zehan mai b nahi he.

    Remember me in your prayers.