CSC265 Database Management System

Database Management System TU Board 2081 question paper

12 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Science in Computer Science and Information Technology

Semester 4 · TU Board 2081

Course Title: Database Management System (CSC265)

Full Marks: 60Pass Marks: 24Time: 3 hours

Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks.

Group A

Attempt any TWO question.(2 × 10 = 20)

  1. 1.

    What do you mean by entity type and entity set? Construct an ER diagram for an airline ticket booking system where customers buy airline tickets online. The system should provide discounts on the basis of number of tickets bought. It should also keep records of buyers on the basis of number of times buyer visits the system. It should also filter the unwanted visitors to manage traffic congestion.

    10
  2. 2.

    Consider the library database schema containing the tables given below where primary keys are underlined.

    USER (UserID, User_name, Address)
    USES (UserID, BookID, Issued_date, Returned_date)
    BOOK (BookID, Book_name, Author, PublisherID)
    PUBLISHER (PublisherID, Publisher_name, Address)

    Specify the following queries in both SQL and Relational Algebra on this database schema:
    a. Retrieve names of all books issued to the user "Hari".
    b. Retrieve the names of all books published by "ABC publication".
    c. Count the number of books published by the author "Ram".

    10
  3. 3.

    What are desirable properties of transactions? Explain conflict-serializability with example.

    10

Group B

Attempt any EIGHT question.(8 × 5 = 40)

  1. 4.

    What do you mean by referential integrity? Why do you need this integrity?

    5
  2. 5.

    Explain ANSI/SPARC three-schema architecture with suitable diagram.

    5
  3. 6.

    What are informal design guidelines for relational schemas.

    5
  4. 7.

    Classify database management systems based on the data model.

    5
  5. 8.

    Define the terms data, database, DBMS, database system, and database catalog.

    5
  6. 9.

    Explain relational algebra natural join (*) operation with example.

    5
  7. 10.

    Explain deferred update approach in database recovery.

    5
  8. 11.

    Explain transaction deadlock with example.

    5
  9. 12.

    Define specialization. Explain disjoint constraint with example.

    5

— The End —