PYQs

Database Management Systems

2 papers · 105312, 105412

2012105312

B.Tech Examination, 2012

3 hours70 marks

Instructions

  • The marks are indicated in the right-hand margin.
  • There are NINE questions in this paper.
  • Attempt FIVE questions in all.
  • Question No. 1 is compulsory.

Questions

Ask AI
  1. Q1

    a) Define the term 'data model'. Explain different types of data model. b) What is the goal of designing a database? Explain the overall database design and implementation process.

    a)

    Define the term 'data model'. Explain different types of data model.

    7 marks
    b)

    What is the goal of designing a database? Explain the overall database design and implementation process.

    7 marks
    14 marks
    Ask AI
  2. Q2

    a) Explain, in brief, various constraints that can be placed on specialization and generalization. b) Explain aggregation with the help of a suitable example.

    a)

    Explain, in brief, various constraints that can be placed on specialization and generalization.

    7 marks
    b)

    Explain aggregation with the help of a suitable example.

    7 marks
    14 marks
    Ask AI
  3. Q3

    a) Explain not-null constraint. How does a not-null constraint enforce domain integrity? b) How are entity types and attributes mapped to relation schemas? Explain with the help of an example.

    a)

    Explain not-null constraint. How does a not-null constraint enforce domain integrity?

    7 marks
    b)

    How are entity types and attributes mapped to relation schemas? Explain with the help of an example.

    7 marks
    14 marks
    Ask AI
  4. Q4

    a) What is outer join operation? Explain how it differs from the inner join operation. b) Explain the division operation by giving an example.

    a)

    What is outer join operation? Explain how it differs from the inner join operation.

    7 marks
    b)

    Explain the division operation by giving an example.

    7 marks
    14 marks
    Ask AI
  5. Q5

    a) What is functional dependency? Give examples. b) Explain the inference rules for functional dependencies.

    a)

    What is functional dependency? Give examples.

    7 marks
    b)

    Explain the inference rules for functional dependencies.

    7 marks
    14 marks
    Ask AI
  6. Q6

    a) What is transitive dependency? Explain the normal form based on the concept of transitive dependency. b) Consider a relation R(A,B,C,D,E)R(A, B, C, D, E) with the functional dependencies AB→C,CD→EAB \rightarrow C, CD \rightarrow E and DE→BDE \rightarrow B. Is AEAE a candidate key of this relation? If not, which is the candidate key? Explain.

    a)

    What is transitive dependency? Explain the normal form based on the concept of transitive dependency.

    7 marks
    b)

    Consider a relation R(A,B,C,D,E)R(A, B, C, D, E) with the functional dependencies AB→C,CD→EAB \rightarrow C, CD \rightarrow E and DE→BDE \rightarrow B. Is AEAE a candidate key of this relation? If not, which is the candidate key? Explain.

    7 marks
    14 marks
    Ask AI
  7. Q7

    List the steps followed by heuristic query optimizer to transform an initial query tree into an optimal query tree. Give a suitable example in support of your answer.

    14 marks
    Ask AI
  8. Q8

    What is a precedence graph? How can it be used to test the conflict serializability of a schedule?

    14 marks
    Ask AI
  9. Q9

    Explain two-phase locking protocol with the help of an example. What are its disadvantages? How can these disadvantages be overcome?

    14 marks
    Ask AI
  10. Q10

    What are log-based techniques? Explain deferred- and immediate-modification versions of the log-based recovery technique with the help of an example.

    14 marks
    Ask AI

2012105412

B.Tech Examination, 2012

3 hours70 marks

Instructions

  • The marks are indicated in the right-hand margin.
  • There are NINE questions in this paper.
  • Attempt FIVE questions in all.
  • Question No. 1 is compulsory.

Questions

Ask AI
  1. Q1

    Discuss the main characteristics of database approach. How it differs from traditional file system?

    14 marks
    Ask AI
  2. Q2

    Discuss the major steps taken to setup a database for any enterprise.

    14 marks
    Ask AI
  3. Q3

    Describe the overall structure of a general database management system.

    14 marks
    Ask AI
  4. Q4

    Differentiate the following with examples : a) Weak entity set from Strong entity set b) Disjoint design constraint from Overlapping design constraint

    a)

    Weak entity set from Strong entity set

    7 marks
    b)

    Disjoint design constraint from Overlapping design constraint

    7 marks
    14 marks
    Ask AI
  5. Q5

    Draw an E-R diagram for a college library where the following constraints are to be considered : a) Same author can write more than one book with unique ISBN. b) A publisher can publish more than one book. c) There are number of copies for same book with unique book code.

    14 marks
    Ask AI
  6. Q6

    Design a generalization specialization hierarchy for a motor vehicle sales company. The company sales motorcycle, passenger cars, vans and buses. Justify your placement of attributes at each level of the hierarchy.

    14 marks
    Ask AI
  7. Q7

    a) How do we represent a weak entity set in a relational model? b) Differentiate instance from schema.

    a)

    How do we represent a weak entity set in a relational model?

    7 marks
    b)

    Differentiate instance from schema.

    7 marks
    14 marks
    Ask AI
  8. Q8

    a) Discuss select (σ)(\sigma) and project (π)(\pi) operation with example. b) Differentiate inner join from outer join.

    a)

    Discuss select (σ)(\sigma) and project (π)(\pi) operation with example.

    7 marks
    b)

    Differentiate inner join from outer join.

    7 marks
    14 marks
    Ask AI
  9. Q9

    a) Explain that every candidate key is a super key but every super key may not be a candidate key. b) What do you mean by a foreign key?

    a)

    Explain that every candidate key is a super key but every super key may not be a candidate key.

    7 marks
    b)

    What do you mean by a foreign key?

    7 marks
    14 marks
    Ask AI
  10. Q10

    Write the history of database system.

    14 marks
    Ask AI

Support BEUConnect

Contributions cover the domain and hosting.

UPI QR code for pritkr@cnrb
pritkr@cnrb

Add to home screen

  1. Tap Share in Safari.
  2. Choose Add to Home Screen.