Section 14-15 PLSQL
Section 14-15 PLSQL
Section 14-15 PLSQL
Procedure get_depts has been marked invalid because one of the objects
it references has been altered. Which of the following statements are true? (Cho
ose two.) Mark for Review
(1) Points
(Choose all correct answers)
Correct
3. Which data dictionary view shows information about refe
rences and dependencies? Mark for Review
(1) Points
DEPTREE
USER_DEPENDENCIES (*)
USER_REFERENCES
USER_LOCAL_DEPENDENCIES
BEGIN deptree_fill('TABLE','EMPLOYEES');
END;
BEGIN deptree_fill('PROCEDURE','ALICE','SHOW_EMPS');
END;
BEGIN deptree_fill('ALICE','TABLE','EMPLOYEES');
END;
BEGIN deptree_fill('TABLE','ALICE','EMPLOYEES');
END;
(*)
BEGIN deptree_fill('ALICE','PROCEDURE','SHOW_EMPS');
END;
True (*)
False
The table is dropped but a public table exists with the same name and st
ructure. (*)
Correct
Declaring scalar variables with NOT NULL if the corresponding table colu
mn has a NOT NULL constraint (*)
Declaring scalar variables using the %TYPE attribute
True
False (*)
The procedure will still be valid and execute correctly because it does
not reference the added column.
True (*)
False
Correct
1. The Data Dictionary controls the remote
dependency mode. True or False? Mark for Review
(1) Points
True
False (*)
Correct
True
False (*)
Correct
True (*)
False
True
False (*)
Correct
True (*)
False
Correct
True (*)
False
True (*)
False
Correct
Correct
1. When setting PLSQL_OPTIMIZE_LEVEL = 2, the compiled cod
e will remove code and exceptions that can never be executed. True or False?
Mark for Review
(1) Points
True (*)
False
0,1,2,3 (*)
0,1,2,3,4
1,2,3
1,2,3,4
Correct
3. 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 o
r False? Mark for Review
(1) Points
True
False (*)
Correct
USER_PLSQL_OBJECTS
USER_PLSQL_OPTIMIZE
USER_PLSQL_OBJECT_SETTINGS (*)
USER_OBJECT_SETTINGS
USER_PLSQL_CODE_TYPE
True
False (*)
Correct
DBMS_WARNING.SET_WARNING_SETTING_STRING (*)
DBMS_WARNING.ADD_WARNING_SETTING_CAT
DBMS_WARNING.GET_WARNING_SETTING_STRING (*)
DBMS_WARNING.GET_WARNING_STRING
True
False (*)
True (*)
False
Correct
INFORMATIONAL
PERFORMANCE
ALL
SEVERE (*)
ERROR
True (*)
False
Correct
1. Inquiry directives are used to selectiv
ely include or exclude PL/SQL code based on values of pre-defined variables that
are set using the PLSQL_CCFLAGS parameter. True or False? Mark for Review
(1) Points
True
False (*)
Correct
True
False (*)
True (*)
False
Correct
True (*)
False
Correct
Correct
1. For PL/SQL code larger than 32,767 characters, you must
use the wrap utility. True or False? Mark for Review
(1) Points
True (*)
False
Correct
A,B,C,D
B,C,D,A (*)
C,D,A,B
C,A,B,D
B,D,C,A
Incorrect. Refer to Section 15 Lesson 4.
DBMS_DML.CREATE_WRAP
DBMS_DDL.CREATE_WRAP
DBMS_DDL.CREATE_WRAPPED (*)
DBMS_DDL.WRAPPED
DBMS_DDL.WRAP_CODE
True
False (*)
True (*)
False
True (*)
False
Correct