You are on page 1of 2

Roll No. Total No.

of Pages: 02
Total No. of Questions: 07

B.Sc. (IT) (Sem. – 5)


RDBMS-II
M Code: 12525
Subject Code: BS-303
Paper ID: [B0418]
Time: 3 Hrs. Max. Marks: 60

INSTRUCTIONS TO CANDIDATES:
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
2. SECTION-B contains SIX questions carrying TEN marks each and students have to
attempt any FOUR questions.

SECTION A
1. a) What do you mean by domain of an attribute?

o m
.r c
b) What is the use of Exceptions in PL/SQL?
c) Differentiate between a procedure and a trigger.

e
d) What do you mean by integrity of data?

p o m
a .r c
e) Differentiate between row and statement triggers.

r p
f) List any four Oracle built in functions.
g) What is a Database View and what are its advantages?
e
b
h) What is an Index? How is it created?

a p
rp
i) Write a PL/SQL block to find factorial of a number.
j) Explain %type attribute-in PL/SQL.

M-12525 Page 1 of 2
SECTION B
2. What do you mean by Data constraints? What are they used for? Explain the different types
of Data Constraints with the help of examples.
3. Differentiate between Data Base instance and Data Base Schema? Explain Three-Schema
Data Base architecture in detail.
4. What is PL/SQL? How is it different from SQL? Write a PL/SQL block to find whether the
given number is prime or not.
5. What is a Package? What is Package specification and what is Package body? Explain with
the help of an example how to store functions and procedures in a package and how to access
them.
6. Create a trigger which keeps an audit trail of a table and stores the type of operation and
changes made by update and delete operation in another table.
7. What is a Cursor? Explain different types of Cursors. Explain with the help of an example
how to create and use an External Cursor.

o m
.r c m
p e o
p a .r c
b r p e
a
b rp

M-12525 Page 2 of 2

You might also like