Skip to content
SmartFigureEduExam kits ₹19

AD3391 · QP 70006 · Nov/Dec 2022

AD 3391 Database Design and Management question paper, November/December 2022

AD3391 exam kitRepeated questions + all papers, 1 PDF

Exam kit

Needed by the payment gateway. Not shared or used for marketing.

Secure payment by Cashfree Payments (UPI, cards, net banking). One-time payment, no subscription. The payment page may show StrangerYaar, the business that processes payments for SmartFigure.Terms · Refunds

Question Paper Code : 70006

B.E./B.Tech. DEGREE EXAMINATIONS, NOVEMBER/DECEMBER 2022.

Third Semester

Artificial Intelligence and Data Science

AD 3391 — DATABASE DESIGN AND MANAGEMENT

(Common to : Computer Science and Engineering (Artificial Intelligence and Machine Learning))

(Regulations 2021)

Time : Three hoursMaximum : 100 marks

Answer ALL questions.

PART A — (10 × 2 = 20 marks)

  1. 1.

    Define the concept of specialization in ER diagram.

  2. 2.

    What is sequence diagram? and why do we use it?

  3. 3.

    Define the terms relation schema.

  4. 4.

    Why null values might be introduced into the database.

  5. 5.

    What is partial functional dependencies? Give example

  6. 6.

    What is the lossless join property of decomposition? Why is it important?

  7. 7.

    What is a transaction?

  8. 8.

    Why must lock and unlock be atomic operations?

  9. 9.

    What are the two kinds of new data types supported in object-database systems?

  10. 10.

    When to use SQL and NOSQL?

PART B — (5 × 13 = 65 marks)

  1. 11.
    (a)

    State and explain the database system development life cycle with an example.

  2. Or
  3. (b)

    Explain the following terms briefly in E-R model: attribute, domain, entity, relationship, entity set, relationship set, one-to-many relationship, many-to-many relationship, participation constraint, overlap constraint, covering constraint, weak entity set, aggregation, and role indicator.

  4. 12.
    (a)
    • (i)Describe the four clauses in the syntax of a simple SQL retrieval query. Show what type of constructs can be specified in each of the clauses. Which are required and which are optional?(7)
    • (ii)State the need for triggers. When to use triggers and when not to use triggers? Explain with example.(6)
  5. Or
  6. (b)

    Discuss how NULLs are treated in comparison operators in SQL. How are NULLs treated when aggregate functions are applied in an SQL query? How are NULLs treated if they exist in grouping attributes?

  7. 13.
    (a)

    Discuss the correspondences between the ER model constructs and the relational model constructs. Show how each ER model construct can be mapped to the relational model and discuss any alternative mappings.

  8. Or
  9. (b)

    What is the need for normalization? Discuss the various normalization technique used with example.

  10. 14.
    (a)

    What is the function of locking protocol? State and explain the two-phase locking with example.

  11. Or
  12. (b)
    • (i)Define these terms: atomicity, consistency, isolation, durability, schedule, blind write, dirty read, unrepeatable read, serializable schedule, recoverable schedule, avoids-cascading-aborts schedule.(7)
    • (ii)Compare binary locks to exclusive/shared locks. Why is the latter type of locks preferable?(6)
  13. 15.
    (a)
    • (i)What are collection hierarchies? Give an example that illustrates how collection hierarchies facilitate querying.(7)
    • (ii)Discuss how a DBMS exploits encapsulation in implementing support for ADTs(6)
  14. Or
  15. (b)
    • (i)What are indexes in MongoDB? State and explain different types of index with example.(7)
    • (ii)State and explain the Hbase data model and CRUD operations with example.(6)

PART C — (1 × 15 = 15 marks)

  1. 16.
    (a)

    Consider the following relations. Suppliers (sid:integer sname:string address:string) Parts(pid:integer pname:string color:string) Catalog(sid:integer pid:integer cost:real) Write SQL statement for the following queries

    • (i)Construct the E-R Diagram for the schema given.(3)
    • (ii)Find the names of suppliers who supply some red part.(3)
    • (iii)Find the sids of suppliers who supply some red part or are at No: 1, Anna Salai.(3)
    • (iv)Find the pids of parts supplied by at least two different suppliers.(3)
    • (v)Find the pids of the most expensive parts supplied by suppliers named sam.(3)
  2. Or
  3. (b)

    A car-rental company maintains a database for all vehicles in its current fleet. For all vehicles, it includes the vehicle identification number, license number, manufacturer, model, date of purchase, and color. Special data are included for certain types of vehicles: Trucks: cargo capacity. Sports cars: horsepower, renter age requirement. Vans: number of passengers Off-road vehicles: ground clearance, drivetrain (four-or two-wheel drive). Construct an SQL schema definition for this database. Use inheritance where appropriate.


Other AD3391 papers