Database Management System (CSC265) 2080 BS Past Questions & Solutions

Tribhuvan University (TU) 2080 BS board exam question paper with verified step-by-step solutions for BSc CSIT Fourth Semester.

TRIBHUVAN UNIVERSITY

INSTITUTE OF SCIENCE AND TECHNOLOGY

2080 B.S.

Bachelor Level: B.Sc. CSIT

Semester: Fourth Semester

Subject: Database Management System (CSC265)

Full Marks: 60 / 80

Pass Marks: 24 / 32

Candidates are required to give their answers in their own words as far as practicable.

Group A

Long Answer Questions

Attempt any Two questions.

  1. 1
    Consider a banking database with three tables and primary keys underlined as given below: Customer (CustomerID, CustomerName, Address, Phone, Email) Owns(CustomerID, AccountNumber) Account(AccountNumber, AccountType, Balance) Write both relational algebra and SQL queries: a. To display name of all customers who live in "Kathmandu". b. To count total number of customers. c. To find name of those customers who have balance greater than or equal to $100000$. d. To find average balance of each account type.
  2. 2
    Define normalization. Why normalization is important in database design? Explain 1NF, 2NF, and 3NF with suitable example.
  3. 3
    What is two-phase locking? What are different types of locks in two-phase locking? Explain basic, conservative, strict, and rigorous two-phase locking. What is lock conversion?

Group B

Short Answer Questions

Attempt any Eight questions.

  1. 4
    What is flat-file system? What are advantages of using DBMS approach?
  2. 5
    Define data abstraction, data model, schemas, instances, and database state.
  3. 6
    What is conceptual data model? Explain different types of attributes used in ER diagram.
  4. 7
    What is relational model? Define the terms domain, attribute, tuple, and relation.
  5. 8
    What is tuple relational calculus? Explain.
  6. 9
    Define transaction. What are different desirable properties of transaction?
  7. 10
    Why do we need concurrency control in databases? Explain.
  8. 11
    Why database recovery is essential? Explain recovery technique based on immediate update.
  9. 12
    Write short notes on: a. Natural join b. Shadow paging