0% found this document useful (0 votes)
139 views2 pages

Bca 4 Sem SQL and PL SQL Paper 2 Summer 2018

This document outlines the examination structure for the Bachelor of Computer Application (B.C.A.) Semester-IV in SQL and PL/SQL, detailing the compulsory questions and topics covered. It includes questions on sequences, transactions, constraints, views, PL/SQL code, cursors, triggers, and functions. The exam is designed to assess students' understanding of SQL and PL/SQL concepts through theoretical explanations and practical coding examples.

Uploaded by

allahuakbr111
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
139 views2 pages

Bca 4 Sem SQL and PL SQL Paper 2 Summer 2018

This document outlines the examination structure for the Bachelor of Computer Application (B.C.A.) Semester-IV in SQL and PL/SQL, detailing the compulsory questions and topics covered. It includes questions on sequences, transactions, constraints, views, PL/SQL code, cursors, triggers, and functions. The exam is designed to assess students' understanding of SQL and PL/SQL concepts through theoretical explanations and practical coding examples.

Uploaded by

allahuakbr111
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

rtmnuonline.

com
NJR/KS/18/3232
Bachelor of Computer Application (B.C.A.) Semester—IV (C.B.S.) Examination

SQL AND PL/SQL

Paper—II

Time : Three Hours] [Maximum Marks : 50

N.B. :— (i) ALL questions are compulsory and carry equal marks.

(ii) Illustrate your answers with suitable example wherever necessary.

EITHER

1. (A) What is sequence ? Give syntax for creating a sequence. 5

(B) What is transaction ? Explain COMMIT, ROLLBACK and SAVEPOINT in transaction.


5

OR

(C) Explain different types of constraints in SQL. 5

(D) Explain any two database objects in detail. 5

EITHER

2. (A) What is a view ? How will you create views from a single and multiple tables ? 5

(B) What is PL/SQL ? What are the sections in a PL/SQL code ? Explain. 5

OR

(C) Write a PL/SQL code to swap two numbers. 5

(D) Explain object view in detail. 5

EITHER

3. (A) Define cursor. Explain implicit cursor. 5

(B) What are user defined exceptions ? Explain with example. 5

OR

(C) How will you create, call and remove a stored procedure ? 5

(D) Explain parameter passing in cursors. Illustrate with the help of a PL/SQL code. 5

EITHER

4. (A) Distinguish between BEFORE and AFTER trigger with a suitable example. 5

(B) Create a function to calculate total salary of employees whose basic salary, travelling
allowances and medical allowances are passed as parameters. 5

RQA—38854 1 (Contd.)
www.rtmnuonline.com
rtmnuonline.com
OR

(C) Explain the enabling and disabling of trigger in PL/SQL. 5

(D) Create PL/SQL function to find largest of three numbers. Call the function to display function
output. 5

5. Attempt ALL :

(i) Explain the use of DDL, DML and DCL. 2½

(ii) What are the advantages of PL/SQL ? 2½

(iii) Differentiate between implicit and explicit cursor. 2½

(iv) What are the advantages of using triggers ? 2½

om
e.c
lin
on
nu
rtm
w.
ww
om
e.c
lin
on
nu
rtm
w.
ww

RQA—38854 2 NJR/KS/18/3232
www.rtmnuonline.com

You might also like