Professional Documents
Culture Documents
True (*)
False
Correct Correct
True
False (*)
Correct Correct
False (*)
Correct Correct
True (*)
False
True
False (*)
Correct Correct
Using a cursor FOR loop instead of opening and closing the cursor explic
itly
Correct Correct
The specification and body of EMPPACK are invalidated, but CALL_EMP rema
ins valid.
Nothing is invalidated because the PL/SQL code does not reference the GE
NDER column.
True
False (*)
Section 15
14. In order to use the deterministic functions in Oracle ve
rsion 11, you can use the following sample code to test for the Oracle version b
efore compiling that section. True or False?
CREATE OR REPLACE FUNCTION myfunc
RETURN NUMBER
$IF DBMS_DB_VERSION.VERSION >= 11 $THEN
DETERMINISTIC
$END
IS BEGIN
-- body of function
END myfunc;
(1) Points
True (*)
False
Correct Correct
15. How would you determine the current Oracle database vers
ion? (1) Points
DBMS_DB_VERSION.RELEASE
DBMS_DB_VERSION.VERSION (*)
DBMS_DB_VERSION.VER_LE_10
DBMS_DB_VERSION.VER_LE_11
$$END;
$END (*)
$ELSIF
$END;
17. Obfuscation does not allow anyone to see the source code
, including the owner. True or False? (1) Points
True (*)
False
18. What are the two methods for obfuscating PL/SQL subprogr
ams? (Choose two) (1) Points
(Choose all correct answers)
DBMS_DDL.CREATE_WRAPPED (*)
DBMS_DDL.WRAP
DBMS_DML.CREATE_WRAPPED
True
False (*)
True
False (*)
21. The informational warning level of the PL/SQL compiler identifies poor c
oding practices, for example, code that can never be executed. True or False?
(1) Points
True (*)
False
True (*)
False
True
False (*)
Correct Correct
Copy compiled code from one subprogram into another subprogram. (*)
True (*)
False