Official Tribhuvan University 2022 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. What is subquery? Explain it with an example.
3. What is a record in PL/SQL? Explain different types of records used in PL/SQL.
4. Define variables and constants in PL/SQL. Explain how variables differ from constants.
5. Explain the components of a package with an example.
6. What is a trigger in PL/SQL? Explain the differences between statement and row level triggers.
7. What is a function in PL/SQL? Explain how it differs from a procedure.
8. Write a stored procedure to display the number of records in a table.
Group C
9. What is a cursor in PL/SQL? Why is it required? Explain the different steps of an explicit cursor in PL/SQL.
10. Explain different joins (Inner join, natural join, outer join (left outer, right outer, full outer), cross join) with an example.
11. What is a repetitive control statement? Explain different looping statements with an example.