Oracle PL/SQL Quiz

Oracle PL/SQL Quiz

12th Grade

10 Qs

quiz-placeholder

Similar activities

Parliamentary Procedure

Parliamentary Procedure

9th - 12th Grade

14 Qs

The Brain: Structures and Functions

The Brain: Structures and Functions

11th - 12th Grade

15 Qs

Surgical terms

Surgical terms

9th - 12th Grade

15 Qs

EKG QUIZ 2

EKG QUIZ 2

12th Grade

12 Qs

Chapter 2 Quiz Communication, Comp Essentials, &  Doc.

Chapter 2 Quiz Communication, Comp Essentials, & Doc.

3rd Grade - University

10 Qs

Intro to Research Methods

Intro to Research Methods

12th Grade

15 Qs

Chapter 20: Keeping Food Safe Vocab

Chapter 20: Keeping Food Safe Vocab

9th - 12th Grade

14 Qs

Diagnostic Reference Level (DRL) Quiz

Diagnostic Reference Level (DRL) Quiz

12th Grade

13 Qs

Oracle PL/SQL Quiz

Oracle PL/SQL Quiz

Assessment

Quiz

Other

12th Grade

Hard

Created by

ĐẠT THÀNH

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code snippet?

Syntax error

200

200

100

100

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following code snippet when performed on the EMPLOYEE table below?

Error

Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

To produce a stored function, which statement is used?

PRODUCE FUNCTION

CREATE FUNCTION

PRODUCE PROCEDURE

CREATE PROCEDURE

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What will happen when we execute on the table below?

Error

Price of mango = 25

Price of mango = 10

Price of mango = 50

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How to call a stored procedure? For example: function1 (param1, param2)

SELECT function1 (param1, param2) FROM DUAL;

SELECT * FROM table1 WHERE attr1 = funtion 1 (param1, param2);

EXECUTE function1 (param1, param2);

UPDATE table1 SET attr1 = function1 (param1, param2) WHERE attr2 = value2;

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

You wish to define a procedure that accepts an incoming number, an incoming date, and a date that is brought in and returned after making changes to it if needed. In addition, a number is returned that is set by the procedure. Which code snippet best satisfies these requirements?

CREATE PROCEDURE test (p1 IN number, p2 IN date, p3 OUT date, p4 OUT number) AS....

CREATE PROCEDURE test (p1 OUT number, p2 INOUT date, p3 IN date, p4 IN number) AS....

CREATE PROCEDURE test (p1 INOUT number, p2 INOUT date, p3 IN date, p4 IN number) AS....

CREATE PROCEDURE test (p1 IN number, p2 INOUT date, p3 IN date, p4 IN number) AS....

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

  1. A stored procedure is

A sequence of PL/SQL statements to perform specific operations.

Stored in compiled form in the database.

A stored function but without a return value.

All of the above.

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?