Bachelors Level/Second Year/Fourth Semester/Science csit/fourth semester/database management system/syllabus wise questions

B.Sc Computer Science and Information Technology

Institute of Science and Technology, TU

Database Management System (CSC265)

Year Asked: 2080.1, syllabus wise question

Concurrency Control Techniques
1.
Explain schedule based on recoverability and serializability. [5]
2.
How timestamp ordering protocol is used for ensuring concurrency control? [5]
Data Modeling Using the Entity-Relational Model
1.
What is specialization? What are different constraints on specialization? [5]
Database Recovery Techniques
1.
Explain deadlock with example. What are different deadlock prevention protocols? Explain deadlock detection and starvation. [10]
2.
Why database recovery is essential? Explain recovery technique based on immediate update. [5]
Database System – Concepts and Architecture
1.
What are the characteristics of database approach? Explain. [5]
2.
Define data independence. Explain three-schema architecture. [5]
Relational Database Design
1.
What are informal design guidelines for relational schemas? why do we need functional dependencies? Explain 2NF, 3NF with suitable example. [10]
SQL
1.
Consider a banking database with three tables and primary key underlined as given below: Customer(CustomerID, CustomerName, Address, Phone, Email) Borrows(CustomerID, LoanNumber) Loan(LoanNumber, LoanType, Amount) Write both relational algebra and SQL queries: a. To display name of all customers who live in “Lalitpur” in ascending order of name. b. To count total number of customers having loan at the bank. c. To find name of those customers who have loan amount greater than or equal to 500000. d. To find average loan amount of each account type. [10]
The Relational Algebra and Relational Calculus
1.
What is tuple realtion calculus ? Given the following schema, write tuple relational calculus for selecting name and address of employee who are working in a company having Cid=E01. Employee(Eid, Ename, Address, Cid) Company(Cid, CName) [5]
2.
Write short notes on: a. Transaction processing b. Weak entity [5]
The Relational Data Model and Relational Database Constraints
1.
What is relational database? Explain different characteristic of a relation. Defain domain constraint. [5]