Search Header Logo

Exception handling -oracle plsql

Authored by harshali patil

Computers

University

Used 184+ times

Exception handling -oracle plsql
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not true about the exception handling section of a PL/SQL block?

This section starts with the EXCEPTION keyword.

It is a mandatory section.

It contains exception(s) that handle errors in the program.

None of the above.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not among the types of PL/SQL records?

Table-based

View-based

Cursor-based records

User-defined records

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The pre-defined exception TOO_MANY_ROWS is raised when

PL/SQL ran out of memory or memory was corrupted.

A cursor fetches value in a variable having incompatible data type.

SELECT INTO statement returns more than one row.

SELECT INTO statement returns one row.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a subprogram?

Procedure

Function

Package

Anonymous PL/SQL block

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following subprogram is stored in the database?

Standalone subprogram

Nested subprogram in an anonymous block

Package subprogram

Standalone and nested subprogram

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a type of exception?

user defined exception

pre defined exception

non pre-defined exception

server specific exception

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for exception handlers within an exception section?

WHEN (exception) THEN (action);

IF (exception) THEN (action);

WHEN (exception) statement;

WHEN (exception) (Action);

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?