CACS484 Database Programming

Database Programming TU Board 2024 question paper

10 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Computer Application

Semester 8 · TU Board 2024

Course Title: Database Programming (CACS484)

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

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

Group B

Attempt any SIX question.(6 × 5 = 30)

  1. 2.

    Explain Oracle database architecture in detail.

    5
  2. 3.

    Explain the different DDL commands used in oracle.

    5
  3. 4.

    What is identifier? Explain the different properties of identifier.

    5
  4. 5.

    Explain the different types of collections in PLSQL.

    5
  5. 6.

    Explain how user defined exception can be raised with example.

    5
  6. 7.

    What is row level trigger? Explain BEFORE row triggers & AFTER row triggers with examples.

    5
  7. 8.

    What are packages? What does a PL/SQL Package Consist of?

    5

Group C

Attempt any TWO questions(2 × 10 = 20)

  1. 9.

    Differentiate between stored procedure and stored function with example. How parameterized stored procedure can be used? Explain with example.

    10
  2. 10.

    Write the queries for following operations: a) Create two tables (parent and child) maintaining referential integrity. b) Display the record using inner join (natural join) c) Demonstrate the Outer join (left outer, right outer and full outer join) d) Demonstrate the cross join

    10
  3. 11.

    Differentiate between implicit and explicit cursors. Write a program to display the name and salary of the employee using cursor explaining different control steps.

    10

— The End —