wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

PL/SQL

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

The PL/SQL language uses which of the following:

a)

Variables

b)

Cursors

c)

Conditional logic

d)

. Data definition language

2.

The three types of blocks that can make up a PL/SQL program are:

a)

Anonymous

b)

Procedures

c)

Manipulative

d)

Functions

3.

In the LIKE operator, which symbol is used to represent a single text character or numeric digit?

a)

"_ "

b)

"/"

c)

"&"

d)

"%" asdf

4.

Which of the following can be used in the SELECT statement to return all columns of data in a table?

a)

ALL

b)

ALL

c)

*

d)

DISTINCT

5.

PL/SQL variables can be used for:

a)

Reusability

b)

Comments

c)

Stored values

d)

Default values

6.

A reserved word can be used as an identifier in a PL/SQL program.

a)

True

b)

False

7.

Select the correct method for declaring a variable of a previously declared variable or databasecolumn

a)

%LIKE

b)

%TYPE

c)

zxr v

8.

Which group functions below act on text, number and date datatypes?

a)

SUM

b)

COUNT

c)

MAX

d)

MIN

e)

AVG

9.

Is the following a valid statement? v_date_of_joining DATE:= 'February 02,2000';

a)

Yes

b)

No

10.

Which of the following is a composite data type?

a)

VARCHAR

b)

RECORD

c)

CLOB