Exam 6: Functions
Exam 1: Introduction To PL/SQL54 Questions
Exam 2: Basic PL/SQL Block Structures81 Questions
Exam 3: Handling Data In PL/SQL Blocks51 Questions
Exam 4: Cursors and Exception Handling65 Questions
Exam 5: Procedures75 Questions
Exam 6: Functions51 Questions
Exam 7: PL/SQL Packages68 Questions
Exam 8: Program Unit Dependencies61 Questions
Exam 9: Database Triggers54 Questions
Exam 10: Oracle-Supplied Packages, Dynamic SQL, and Hiding Source Code85 Questions
Select questions type
A(n) ____________________ cannot serve as an entire statement.
Free
(Short Answer)
4.9/5
(34)
Correct Answer:
Function
Deleting a program unit can be accomplished by issuing a(n) DEL command. _________________________
Free
(True/False)
4.9/5
(29)
Correct Answer:
False
The term ____ is identified with a set of acronyms that indicate the restrictions on using the function.
Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
B
It is considered good form to return only one value from a function and to do so using the ____________________ statement.
(Short Answer)
4.8/5
(31)
Which of the following code fragments would not raise an error?
(Multiple Choice)
4.9/5
(33)
The RETURN statement in a function is used to control the flow of execution.
(True/False)
4.8/5
(39)
A(n) procedure is one type of program unit that is used to accomplish one or more tasks, return none or many values, and is used only in PL/SQL statements. _________________________
(True/False)
4.8/5
(29)
Deleting a program unit can be accomplished by issuing a(n) ____________________ command.
(Short Answer)
4.9/5
(31)
____ refer to the parameters that are listed in the program unit.
(Multiple Choice)
4.9/5
(39)
Discuss the techniques available in PL/SQL for passing values between actual parameters and formal parameters.
(Essay)
4.8/5
(30)
A function is quite similar to a procedure in that it is a program unit that achieves a task, can receive input values, and returns values to the calling environment.
(True/False)
4.8/5
(31)
A good method to handle the size issue when declaring variables that hold values from a database table is to use the ____ attribute to use the size of the database column.
(Multiple Choice)
4.9/5
(37)
The task of the ____________________ function is to use the two arguments provided, a numeric value and the degree of rounding, and return the resulting value.
(Short Answer)
4.8/5
(30)
At least one ____ statement must be included in a function body to instruct which value to return.
(Multiple Choice)
4.8/5
(35)
You cannot include data type information when declaring a formal parameter. ________________________
(True/False)
5.0/5
(29)
In the code below, which of the following is the parameter variable?
CREATE OR REPLACE FUNCTION fct_test1_sf (p_num IN NUMBER)
RETURN NUMBER
IS
BEGIN
UPDATE bb_test1
SET col1 = p_num;
RETURN p_num;
END;
(Multiple Choice)
4.8/5
(24)
Showing 1 - 20 of 51
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)