TU Papers Notes

BCA 8th Semester
Database Programming 2025 Board Question Paper - Tribhuvan University (TU) 2025

Views: …
Tribhuvan University official logo

Tribhuvan University

Faculty of Humanities & Social Science
OFFICE OF THE DEAN
TUpapers.com TUpapers.com

Bachelor In Computer Application

Course Title: Database Programming

Code No: CACS 484

Semester: VIII

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

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

Group B
Attempt any SIX question.
[6x5=30]
2.

Define database programming. Describe the differences between procedural and non-procedural access to a database. [1+4]

3.

What is a subquery? Explain the use of GROUP BY and HAVING clauses in SQL. [1+4]

4.

Explain the concept of parameter modes (IN, OUT, IN OUT) in PL/SQL with examples. [5]

5.

Define trigger. Write the syntax to create a row-level trigger in PL/SQL. [1+4]

6.

Write a PL/SQL block using an explicit cursor to display all employee names from the Employee table. [5]

7.

What are constants in PL/SQL? Give syntax and an example. [5]

8.

Differentiate between anonymous blocks and named blocks in PL/SQL. [5]

Group C

Attempt any TWO questions

[2x10=20]
9.

Explain stored procedure. Explain views in SQL, their creation, modification, and deletion with examples. [3+7]

10.

Explain the structure of a PL/SQL block with an example. Explain exception handling in PL/SQL with examples of predefined and user-defined exceptions. [5+5]

11.

What are cursor parameters? Give an example. Describe the types of iterative control structures available in PL/SQL with examples. [4+6]