UniversityPURNEA
UNIVERSITY
CourseBCA
SemesterIV
SubjectRelational
Database Management System and Oracle
Year2025
CODE: 4 BCA 3
RollNo:
_________________
PURNEA UNIVERSITY, PURNEA
B.C.A. (Semester - IV) Examination, June-2025
Subject: RELATIONAL DATABASE MANAGEMENT SYSTEM AND ORACLE
TIME: 3 HOURS
FULL MARKS: 70
SECTION A (Multiple Choice Questions)
1.
Multiple Choice Questions:
i. Which SQL command removes a table?
ii. Permissions are granted using:
iii. Which join returns only matching
rows?
iv. A FOREIGN KEY constraint:
v. The SQL command to delete all rows
but retain the table structure is:
vi. A UNIQUE constraint allows:
vii. The GRANT statement is associated
with:
viii. Which join returns all rows from
the left table and matched rows from the right?
ix. The COMMIT command:
x. Which command is used to revoke
privileges?
xi. A CHECK constraint ensures:
xii. The ALTER TABLE command can:
xiii. Which of the following is a DDL
command?
xiv. Which command is used to add a
new column to an existing table?
SECTION B (Short/Long Answer Type)
2.
Explain the different types of keys used in relational database. Provide
real-world examples for each type.
3.
Discuss Oracle's transaction management features. Explain the ACID properties.
4.
Explain the concept of normalization in relational databases. Explain 1NF, 2NF,
3NF, and BCNF with examples of how normalization reduces redundancy and improves data integrity.
5.
Describe the structure of a PL/SQL block, including the DECLARE, BEGIN,
EXCEPTION, and END sections. Provide a detailed example of a block that declares variables, uses a
cursor to fetch data, and includes exception handling for common errors like NO_DATA_FOUND.
6.
Compare and contrast procedures and functions in PL/SQL. Highlight their creation
syntax, execution methods, and key differences (e.g., functions returning values vs. procedures using
OUT parameters).
7.
Write a PL/SQL procedure to update employee salaries.
8.
Discuss implicit and explicit cursors in PL/SQL.
9.
Explain BEFORE and AFTER triggers with syntax.
10.
How does the DBA ensure database security? Explain the use of GROUP BY and HAVING
clauses in SQL.