Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Oracle SQL Programming
Quiz 7: PL/SQL Packages
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
____ can be created only as stored program units.
Question 22
True/False
The
DEL
command can be used to remove the package specification and body. _________________________
Question 23
True/False
The
AUTHID CURRENT_USER
clause is used to override definer-rights behavior. _________________________
Question 24
Multiple Choice
The term ____ refers to the range of visibility for a particular element or construct contained in a package.
Question 25
True/False
The
USER_OBJECTS
data dictionary view allows us to view the source code of packages. _________________________
Question 26
True/False
A(n)
program declaration
is a declaration of a program unit in a package body by placing the header code at the top of the package body code. _________________________
Question 27
Multiple Choice
Using the same name on multiple program units within the same package is referred to as ____.
Question 28
Multiple Choice
Package elements are considered ____ if they can be called only from other program units within the same package.
Question 29
Multiple Choice
Package elements that can be referenced from outside the package are considered ____.
Question 30
Multiple Choice
A(n) ____ is a statement used to define a data construct, such as a variable, name, and data type.
Question 31
Multiple Choice
CREATE OR REPLACE PACKAGE ordering_pkg IS Pv_total_num NUMBER(3,2) ; PROCEDURE order_total_pp (p_bsktid IN NUMBER, P_sub OUT NUMBER) ; FUNCTION ship_calc_pf (p_qty IN NUMBER) RETURN NUMBER; END; When creating a package body for the package specification above, which of the following statements is incorrect?
Question 32
Multiple Choice
CREATE OR REPLACE PACKAGE ordering_pkg IS Pv_total_num NUMBER(3,2) ; PROCEDURE order_total_pp (p_bsktid IN NUMBER, P_sub OUT NUMBER) ; FUNCTION ship_calc_pf (p_qty IN NUMBER) RETURN NUMBER; END; Based on the package specification above, which of the following code fragments correctly creates a package body?
Question 33
Multiple Choice
A(n) ____ is a declaration of a program unit in a package body by placing the header code at the top of the package body code.
Question 34
Multiple Choice
CREATE OR REPLACE PACKAGE ordering_pkg IS Pv_total_num NUMBER(3,2) ; PROCEDURE order_total_pp (p_bsktid IN NUMBER, P_sub OUT NUMBER) ; FUNCTION ship_calc_pf (p_qty IN NUMBER) RETURN NUMBER; END; The code fragment above is an example of a(n) ____.
Question 35
Multiple Choice
If a cursor is declared in a package specification that referenced the PV_TOTAL_NUM package variable, the variable ____.
Question 36
Multiple Choice
CREATE OR REPLACE PACKAGE metric_pkg IS cup_to_liter CONSTANT NUMBER := .24; Pint_to_liter CONSTANT NUMBER := .47; Qrt_to_liter CONSTANT NUMBER := .95; END; Which of the following statements about the code fragment above is correct?