Exception handling -oracle plsql

Exception handling -oracle plsql

University

15 Qs

quiz-placeholder

Similar activities

IMPERATIVE PROGRAMMING WITH C

IMPERATIVE PROGRAMMING WITH C

University

10 Qs

Java Programming

Java Programming

University

20 Qs

Exceptions

Exceptions

University

20 Qs

Subprograms and ADT

Subprograms and ADT

University

16 Qs

FOP - RECAP CHAP 3

FOP - RECAP CHAP 3

University

15 Qs

C# chapter 1

C# chapter 1

University

10 Qs

Exceptions + java

Exceptions + java

University

11 Qs

PL SQL

PL SQL

University - Professional Development

20 Qs

Exception handling -oracle plsql

Exception handling -oracle plsql

Assessment

Quiz

Computers

University

Hard

Created by

harshali patil

Used 184+ times

FREE Resource

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);

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?