PU-4 BCA-3
BCA (IV-SEMESTER)
EXAMINATION, JUNE-2024
RELATIONAL DATABASE MANAGEMENT
SYSTEM AND ORACLE
Answer any five questions.
Q1. Multiple Choice Questions.
i.) Which component of an RDBMS is responsible for managing data storage and retrieval?
- Data Dictionary
- Kernel
- Client/Server
- System Process
- Writing Application Code
- Managing Oracle files and processes
- Designing user interfaces
- Creating end-user reports
- Oracle Memory
- User Process
- System Process
- Oracle Files
- DELETE TABLE
- DROP TABLE
- REMOVE TABLE
- TRUNCATE TABLE
- Default Key
- Foregin Key
- Unique Key
- Check Constraint
- UNION
- JOIN
- INTERSECT
- MINUS
- GOTO Statement
- Error Handling Block
- RAISE_APPLICATION_ERROR Procedure
- Exception Block
- To update database records
- To create a virtual table based on a query
- To manage user permission
- To perform data backup
- GRANT
- REVOKE
- PERMIT
- ALLOW
- Procedures can return values, but functions cannot
- Functions can return values, but procedures cannot
- Procedures cannot be called from other procedures
- Functions cannot be called within SQL statements
Q2. Explain how the Oracle Database Administrator (DBA) manages these components to ensure database integrity and performance.
Q3. Discuss the various types of data constraints in SQL, including column-level and table-level constraints. Provide examples of how to define constraints such as NOT NULL, UNIQUE, DEFAULT, and FOREIGN KEY in table creation statements.
Q4. Detail the process of joining multiple tables in SQL. Explain the different types of joins, including INNER JOIN, LEFT JOIN, and RIGHT JOIN.
Q5. Discuss error handling in PL/SQL. Explain how to use built-in exceptions and user-defined exceptions to manage errors in PL/SQL programs.
Q6. Describe the concepts of procedures and functions in PL/SQL. Explain their creation, execution, and advantages.
Q7. Explain the use of triggers in Oracle databases. Describe the different types of triggers (e.g.,BEFORE INSERT, AFTER UPDATE) and their applications.
Q8. Provide an example of a simple PL/SQL block that includes variable declaration, assignment, and a basic SQL query.
Q9. Discuss how the relational model's components (tables, keys, relationships) contribute to data management in an RDBMS.
Q10. Explain how the Oracle Database Administrator (DBA) manages these components to ensure database integrity and performance.
--x--