PL/SQL Section 15 Quiz

 1. You can define variables and assign values to them using PLSQL_CCFLAGS. Then test the values of the variables using inquiry directives. True or False?


(1) Point

2. How would you determine the current Oracle database version?

(1) Point

3. Identify the selection directives used in conditional compilation.

(1) Point

4. Conditional compilation allows you to include extra code to help with debugging, which can be removed once errors are resolved. True or False?

(1) Point

5. Obfuscation does not allow anyone to see the source code, including the owner. True or False?

(1) Point

1. What is the name of the column used to identify the PLSQL_OPTIMIZE_LEVEL in the data dictionary?


(1) Point

2. Which data dictionary view allows you to see the setting for PLSQL_OPTIMIZE_LEVEL?

(1) Point

3. To determine the current setting for PLSQL_OPTIMIZE_LEVEL, query the data dictionary view USER_PLSQL_OBJECTS_SETTINGS. True or False?

(1) Point

4. PLSQL_CODE_TYPE determines the type of code for both PL/SQL code and for SQL statements, which is what speeds up the execution speed. True or False?

(1) Point

5. What does the following statement do?

DBMS_WARNING.ADD_WARNING_SETTING_CAT('PERFORMANCE','ENABLE','SESSION');


(1) Point

1. The two statements below are equivalent. True or False?

DBMS_WARNING.ADD_WARNING_SETTING_CAT
    ('INFORMATIONAL','ENABLE','SESSION');

and

ALTER SESSION
    SET PLSQL_WARNINGS = 'ENABLE:INFORMATIONAL';


(1) Point

2. What does the following statement do?

DBMS_WARNING.ADD_WARNING_SETTING_CAT('PERFORMANCE','ENABLE','SESSION');


(1) Point

3. Which pair of DBMS_WARNING commands would allow you to obtain the current settings and change and restore those settings in a PL/SQL subprogram? (Choose two)

(1) Point

4. The two statements below are equivalent. True or False?

DBMS_WARNING.SET_WARNING_SETTING_STRING
    ('ENABLE:SEVERE','SESSION');

and

ALTER SESSION
  SET PLSQL_WARNINGS = 'ENABLE:SEVERE';


(1) Point

5. Conditional Compilation allows you to include some source code in your PL/SQL program that may be compiled or may be ignored depending on:

(1) Point

Komentar

Postingan populer dari blog ini

PL/SQL Section 13 Quiz

PL/SQL Section 5 Quiz

PL/SQL Section 14 Quiz