Official Tribhuvan University 2023 board examination question paper for Database Programming.
Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2023
Bachelor in Computer Applications
| Paper detail | Value |
|---|---|
| Course | Database Programming |
| Code No. | CACS453 |
| Semester | VIIIth |
| 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. Explain the PL/SQL block structure with an example.
3. What are records and nested records in PL/SQL? Explain the benefits of using records.
4. How can functions be called and parameterized in databases? Explain with examples.
5. What is a cursor? Explain different types of cursors used in databases.
6. Why do we need to use triggers in the database? Explain the use of triggers with proper examples.
7. How can user-defined exceptions be created in PL/SQL? Explain with a proper example.
8. Write short notes on any two: a) INSTEAD OF trigger, b) Packages, c) Parameterized cursor.
Group C
9. Explain PL/SQL architecture. Differentiate between SQL and PL/SQL. Also, explain the conditional constructs used in PL/SQL.
10. Define stored procedure. Explain different parameter modes used in stored procedures. Also, differentiate between functions and stored procedures with examples.
11. Explain row triggers and statement triggers with examples. Explain any five SQL*PLUS commands.