Sei sulla pagina 1di 3

Test: Quiz: Using PL/SQL Initialization Parameters 1.

When setting PLSQL_OPTIMIZE_LEVEL = 2, the compiled code will remove co de and exceptions that can never be executed. True or False? Mark for Review (1) Points True (*) False

Correct 2. To set the PLSQL_CODE_TYPE to its fastest execution speed, which comman d do you use? Mark for Review (1) Points ALTER SYSTEM SET PLSQL_CODE_TYPE=NATIVE; ALTER SYSTEM SET PLSQL_CODE_TYPE=2; ALTER SESSION SET PLSQL_CODE_TYPE = NATIVE; (*) ALTER SESSION SET PLSQL_CODE_TYPE = INTERPRETED; ALTER SESSION SET PLSQL_CODE_TYPE = 2;

Correct 3. Which are NOT examples of benefits of using PLSQL_OPTIMIZE_LEVEL. (Choo se two) Mark for Review (1) Points (Choose all correct answers) Control what PL/SQL does with useless code. Combining compiled code from one subprogram into another subprogram. Separating compiled code so that separate units may be repeated as neede d. (*) Backward compatible with previous versions of the Oracle database.

Modify source code to optimize frequently-used elements at the top. (*)

Correct 4. What are the valid values for PLSQL_OPTIMIZE_LEVEL in the data dictiona ry? Mark for Review (1) Points 0,1,2,3 (*) 0,1,2,3,4 1,2,3 1,2,3,4

Correct 5. Which data dictionary view allows you to see the setting for PLSQL_OPTI MIZE_LEVEL? Mark for Review (1) Points USER_PLSQL_OBJECTS USER_PLSQL_OPTIMIZE USER_PLSQL_OBJECT_SETTINGS (*) USER_OBJECT_SETTINGS USER_PLSQL_CODE_TYPE

Correct 6. PLSQL_CODE_TYPE determines the type of code for PL/SQL code and for SQL statements, which is what speeds up the execution speed. True or False? Mark for Review (1) Points True False (*)

Correct

Potrebbero piacerti anche