Pre-Board examination question paper set for Database Management System from the year 2025.

Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2026
Bachelor in Computer Applications

Paper detail Value
Course Database Management System
Code No. CACS255
Semester IVth
Full marks 60
Pass marks 24
Time 3 hours

Candidates are required to answer the questions in their own words as far as possible.

Group B

2. What is database? Discuss the importance of DBMS.

3. How Extended ER model is different from ER Model?

4. How aggregate functions are used with Having Clause in SQL? Illustrate with example.

5. Define 1NF and 2NF with examples.

6. What is query processing? Construct query expression tree for the relational algebra query: \\pi_{FName, LName, Address}(\\sigma_{DName="Research"}(Department \\Join_{Dnumber=Dno}(Employee \\Join Works_on)))

7. How can you detect deadlock in a schedule of transactions? Support your answer with an example.

8. How does the lost update problem occur in concurrent execution of database transactions?

Group C

9. Given the schema, write relational algebra and SQL queries for the following: a. Find name of all the sailors. b. Find the name and color of boats having color red. c. Find name of the boats reserved on date 2025/01/03. d. Find the names of boats and sailors who have reserved boats having color blue. e. Use Full Outer Join between Sailors and Reserves.

10. Design an ER diagram of your choice. The ER diagram should contain at least five entities. Out of those entities, one should be a weak entity. Your entities should have appropriate attributes including primary key attributes. There should be presence of one-to-one, one-to-many and many-to-many relationships in your ER diagram. One of your entities should have multi-valued and derived attributes.

11. Define stored procedures with IN and OUT parameters. Illustrate with examples, how can you create an after trigger on UPDATE.