Sie sind auf Seite 1von 27

TEST 1............................................... 1.

You can store a whole record in a single variable using %ROWTYPE or by creating yoru own record structure as a type and then declaring a variable of th at type. Mark for Review (1) Points True (*) False Correct 2. Mark for Review (1) Points An INDEX BY TABLE type can only have one data field.

True (*) False Correct

Section 9 (Answer all questions in this section) 3. The function avg_ann_sal returns the average annual sal ary for a particular department. The example below is a valid use of of this fun ction. True or False? SELECT first_name, last_name FROM employees WHERE avg_ann_sal(20) > 15000; Mark for Review (1) Points True (*) False Correct 4. Which of the following is a legal location for a functi on call in a SQL statement? (Choose 3) Mark for Review (1) Points (Choose all correct answers) CREATE TABLE statement WHERE clause in a DELETE statement (*) The ORDER BY and GROUP BY clauses of a q uery (*)

VALUES clause of an INSERT statement (*) Correct 5. Why will the following statement fail? SELECT employee_id, tax(p_value => salary) FROM employees; Mark for Review (1) Points User-defined functions are not allowed i n the SELECT clause Name notation is not allowed (*) The data type for the tax variable does not match the data type for salary The statement will execute and not fail Correct 6. In a SELECT statement, where can a function NOT be used ? Mark for Review (1) Points In a GROUP BY or HAVING clause. A function can be used anywhere in a SEL ECT statement. (*) In a WHERE clause. In the column list (SELECT) clause. In an ORDER BY clause. Incorrect. Refer to Sec tion 9 Lesson 1. 7. Which of the following best describes a stored function ? Mark for Review (1) Points A subprogram that must return exactly on e value. (*) A subprogram that must have at least one IN parameter. A subprogram that has no OUT or IN OUT p arameters.

A subprogram that executes automatically when a DML statement is executed on a table. A subprogram which invokes another subpr ogram. Correct 8. Why will this function not compile correctly? CREATE FUNCTION bad_one IS BEGIN RETURN NULL; END bad_one; Mark for Review (1) Points You cannot RETURN a NULL. You must declare the type of the RETURN before the IS. (*) You must have at least one IN parameter. You must code CREATE OR REPLACE, not CRE ATE. The body of the function must contain at least one executable statement (as well as RETURN). Incorrect. Refer to Sec tion 9 Lesson 1. 9. A function must have at least one IN parameter, and mus t return exactly one value. Mark for Review (1) Points True False (*) Correct 10. What is wrong with the following code? CREATE FUNCTION badfunc (p_param NUMBER(4)) RETURN BOOLEAN IS BEGIN RETURN (p_param > 10); END badfunc; Mark for Review (1) Points P_PARAM must be declared AFTER the RETUR N clause.

P_PARAM must have a default value. The datatype of the IN parameter cannot have a precision or scale. It must be NUMBER, not NUMBER(4). (*) RETURN (p_param > 10); is wrong because you cannot return an expression. The NUMBER datatype must have a scale as well as a precision.

11. You try to create a function named MYFUNC. The function does not compil e correctly because there are errors in your code. Which Dictionary view can you query to see the errors? Mark for Review (1) Points USER_SOURCE USER_ERRORS (*) USER_OBJECTS USER_DEPENDENCIES USER_COMPILES Correct 12. You want to see the names, modes and data types of the formal parameters of function MY_FUNC in your schema. How can you do this? (Choo se two) Mark for Review (1) Points (Choose all correct answers) Query USER_PARAMETERS Query USER_SOURCE (*) Query USER_FUNCTIONS SHOW PARAMETER my_func; DESCRIBE my_func; (*) Correct 13. You want to remove the procedure NO_NEED from your sche ma. You execute: DROP PROCEDURE no_need; Which Data Dictionary views are updated automatically? Mark for Review

(1) Points USER_PROCEDURES USER_OBJECTS USER_SOURCE All of the above. (*) None of the above. Correct 14. The following code shows the dependencies between three procedures: CREATE PROCEDURE parent IS BEGIN child1; child2; END parent; You now try to execute: DROP PROCEDURE child2; What happens? Mark for Review (1) Points You cannot drop CHILD2 because PARENT is dependent on it. CHILD2 is dropped successfully. PARENT a nd CHILD1 are both marked INVALID. The database automatically drops PARENT as well. CHILD2 is dropped successfully. PARENT i s marked INVALID. CHILD1 is still valid. (*) The database automatically drops CHILD1 as well. Correct 15. User REYHAN creates the following procedure: CREATE PROCEDURE proc1 AUTHID CURRENT_USER IS v_count NUMBER; BEGIN SELECT COUNT(*) INTO v_count FROM tom.employees; END; User BILL wants to execute this procedure. What privileges will BILL need? Mark for Review (1) Points

EXECUTE on REYHAN.PROC1 and SELECT on TO M.EMPLOYEES (*) EXECUTE on REYHAN.PROC1 SELECT on TOM.EMPLOYEES BILL needs no privileges None of the above. The procedure will fa il to compile because REYHAN does not have SELECT privilege on TOM.EMPLOYEES. Correct 16. How do you specify that you want a procedure MYPROCA to use "Definer's Rights"? Mark for Review (1) Points CREATE OR REPLACE PROCEDURE myproca AUTHID CURRENT_USER IS... CREATE OR REPLACE PROCEDURE myproca AUTHID OWNER IS... GRANT DEFINER TO myprocA; ALTER PROCEDURE myproca TO DEFINER; Definer's Rights are the default, theref ore no extra code or commands are needed. (*) Correct 17. When must AUTHID CURRENT_USER be included in an autonom ous transaction subprogram? Mark for Review (1) Points When declaring Definer's rights When declaring Invoker's rights (*) When using COMMIT or ROLLBACK When using GRANT on the subprogram Correct

Section 7 (Answer all questions in this section) 18. There are no employees in department 99. What message o r messages will be displayed when the following code is executed? DECLARE e_my_excep EXCEPTION; BEGIN BEGIN UPDATE employees SET salary = 10000 WHERE department_id = 99; IF SQL%ROWCOUNT = 0 THEN RAISE e_my_excep; END IF; EXCEPTION WHEN e_my_excep THEN DBMS_OUTPUT.PUT_LINE('Message 1'); RAISE e_my_excep; DBMS_OUTPUT.PUT_LINE('Message 2'); END; DBMS_OUTPUT.PUT_LINE('Message 3'); EXCEPTION WHEN e_my_excep THEN DBMS_OUTPUT.PUT_LINE('Message 4'); END; Mark for Review (1) Points Message 1 Message 3 Message 1 Message 2 Message 1 Message 3 Message 4 Message 1 Message 4 (*) Correct 19. defined error message? (1) Points 22001); RAISE_APPLICATION_ERROR(-20257,'Error ra ised'); (*) RAISE_APPLICATION_ERROR(-22001,'Error Ra ised'); Which of the following will successfully return a userMark for Review RAISE_APPLICATION_ERROR('Error Raised',-

RAISE_APPLICATION_ERROR('Error Raised',20257); Correct 20. User-defined exceptions must be declared explicitly by the programmer, but then are raised automatically by the Oracle Server. True or False? Mark for Review (1) Points True False (*) Correct Section 7 (Answer all questions in this section) 21. r Review (1) Points FLAG exception_name; RAISE exception-name; (*) PRAGMA EXCEPTION_INIT RAISE(error_number, exception_name); Correct 22. Exceptions declared in a block are considered local to that block, and global to all its sub-blocks. True or False? Mark for Review (1) Points True (*) False Correct 23. There are no employees in department 75. What will be d isplayed when this code is executed? DECLARE v_last_name employees.last_name%TYPE; BEGIN DBMS_OUTPUT.PUT_LINE('A'); BEGIN SELECT last_name INTO v_last_name FROM employees WHERE department_id = 75; A user-defined exception is raised by using: Mark fo

DBMS_OUTPUT.PUT_LINE('B'); END; DBMS_OUTPUT.PUT_LINE('C'); EXCEPTION WHEN OTHERS THEN DBMS_OUTPUT.PUT_LINE('D'); END; Mark for Review (1) Points A C D A D (*) A A B D None of the above

Correct 24. The following code does not violate any constraints and will not raise an ORA-02292 error. What will happen when the code is executed? BEGIN DECLARE e_constraint_violation EXCEPTION; PRAGMA EXCEPTION_INIT(e_constraint_violation, -2292); BEGIN DBMS_OUTPUT.PUT_LINE('Inner block message'); END; EXCEPTION WHEN e_constraint_violation THEN DBMS_OUTPUT.PUT_LINE('Outer block message'); END; Mark for Review (1) Points 'Inner block message' will be displayed. The code will fail because the exception is declared in the inner block but is referenced in the outer block. (*) 'Outer block message' will be displayed. The code will fail because line 4 should read: PRAGMA EXCEPTION_INIT(-2292, e_constraint_violation); Correct

25. Using two nested blocks, a TOO_MANY_ROWS exception is r aised within the inner block. Which of the following exception handlers will suc cessfully handle the exception? Mark for Review (1) Points WHEN TOO_MANY_ROWS in the inner block WHEN TOO_MANY_ROWS in either block WHEN OTHERS in either block WHEN OTHERS in the inner block All of the above (*) Correct 26. The following EXCEPTION section is constructed correctl y. True or False? EXCEPTION WHEN NO_DATA_FOUND OR TOO_MANY_ROWS THEN statement_1; statement_2; WHEN OTHERS THEN statement_3; END; Mark for Review (1) Points True (*) False Correct 27. While a PL/SQL block is executing, more than one except ion can occur at the same time. True or False? Mark for Review (1) Points True False (*) Correct 28. Examine the following code. Why does the exception hand ler not follow good practice guidelines? DECLARE v_salary employees.salary%TYPE; BEGIN SELECT salary INTO v_salary FROM employees WHERE employee_id = 999; EXCEPTION

WHEN OTHERS THEN DBMS_OUTPUT.PUT_LINE('An error occurred'); END; Mark for Review (1) Points You should not use DBMS_OUTPUT.PUT_LINE in an exception handler. employee_id 999 does not exist in the em ployees table. The exception handler should test for th e named exception NO_DATA_FOUND. (*) The exception handler should COMMIT the transaction. Correct 29. Which of the following best describes a PL/SQL exceptio n? Mark for Review (1) Points A user enters an invalid password while trying to log on to the database. An error occurs during execution which d isrupts the normal operation of the program. (*) A DML statement does not modify any rows . The programmer makes a spelling mistake while writiing the PL/SQL code. Correct 30. Examine the followiing code. Which exception handlers w ould successfully trap the exception which will be raised when this code is exec uted? (Choose two.) DECLARE CURSOR emp_curs IS SELECT * FROM employees; v_emp_rec emp_curs%ROWTYPE; BEGIN FETCH emp_curs INTO v_emp_rec; OPEN emp_curs; CLOSE emp_curs; EXCEPTION ... END; Mark for Review (1) Points (Choose all correct answers) WHEN CURSOR_NOT_OPEN WHEN INVALID_CURSOR (*)

WHEN OTHERS (*) WHEN NO_DATA_FOUND WHEN INVALID_FETCH Correct Correct 31. How can you retrieve the error code and error message of any Oracle Ser ver exception? Mark for Review (1) Points By using the functions SQLCODE and SQLER RM (*) By using the functions SQLCODE and SQLER R By using RAISE_APPLICATION_ERROR By defining an EXCEPTION variable and us ing PRAGMA EXCEPTION_INIT Correct 32. Which of the following best describes a user-defined ex Mark for Review A predefined Oracle Server error such as NO_DATA_FOUND A non-predefined Oracle Server error suc h as ORA-01400 An error which is not automatically rais ed by the Oracle server (*) Any error which has an Oracle error numb er of the form ORA-nnnnn Correct 33. Examine the following code fragment. At Line A, you wan t to raise an exception if the fetched salary value is greater than 30000. How c an you do this? DECLARE v_salary employees.salary%TYPE; BEGIN SELECT salary INTO v_salary FROM employees WHERE employee_id = 100; IF v_salary > 30000 THEN -- Line A END IF;

ception? (1) Points

... Mark for Review (1) Points Test for WHEN VALUE_TOO_HIGH in the exce ption section. Use RAISE_APPLICATION_ERROR to raise an exception explicitly. (*) Test for WHEN OTHERS in the exception se ction, because WHEN OTHERS traps all exceptions. Define an EXCEPTION variable and associa te it with an Oracle Server error number using PRAGMA EXCEPTION_INIT. Correct 34. An attempt to update an employee's salary to a negative value will violate a check constraint and raise an ORA-02290 exception. Which o f the following is a correct definition of a handler for this exception? Mark for Review (1) Points DECLARE e_sal_excep EXCEPTION; PRAGMA EXCEPTION_INIT(-02290,e_sal_excep); DECLARE PRAGMA EXCEPTION_INIT(e_sal_excep,-02290); e_sal_excep EXCEPTION; DECLARE e_sal_excep EXCEPTION; PRAGMA EXCEPTION_INIT(e_sal_excep,-02290); (*) DECLARE e_sal_excep EXCEPTION; PRAGMA_EXCEPTION_INIT(e_sal_exception,-02290); DECLARE e_sal_excep EXCEPTION; PRAGMA EXCEPTION_INIT(e_sal_excep,02290);

Correct 35. Which of these exceptions would need to be raised expli citly by the PL/SQL programmer? Mark for Review (1) Points OTHERS

A SELECT statement returns more than one row. A check constraint is violated. A SQL UPDATE statement does not update a ny rows. (*) A row is FETCHed from a cursor while the cursor is closed. Correct

Section 8 (Answer all questions in this section) 36. Which of the following are characteristics of PL/SQL st ored procedures? (Choose three.) Mark for Review (1) Points (Choose all correct answers) They are named PL/SQL blocks (*) They must return exactly one value to th e calling environment. They can have an exception section. (*) They can be invoked from inside a SQL st atement. They can accept parameters. (*) Correct 37. A programmer wants to create a PL/SQL procedure named E MP_PROC. What will happen when the following code is executed? CREATE OR REPLACE PROCEDURE emp_proc IS v_salary employees.salary%TYPE; BEGIN SELECT salary INTO v_salary FROM employees WHERE employee_id = 999; DBMS_OUTPUT.PUT_LINE('The salary is: ' || v_salary); END; Mark for Review (1) Points The statement will raise a NO_DATA_FOUND exception because employee_id 999 does not exist. The statement will fail because the last line of code should be END emp_proc;

The statement will fail because you cann ot declare variables such as v_salary inside a procedure. The procedure will be created successful ly. (*) The statement will fail because the proc edure does not have any parameters. Correct 38. The following are the steps involved in creating, and l ater modifying and re-creating, a PL/SQL procedure in Application Express. In wh at sequence should these steps be performed? Retrieve the saved code from "Saved SQL" in SQL Commands Execute the code to create the procedure Execute the code to re-create the procedure Click on the "Save" button and save the procedure code Modify the code in the SQL Commands window Type the procedure code in the SQL Commands window Mark for Review (1) Points F,C,A,B,E,D F,B,D,A,E,C (*) E,D,F,C,A,B F,B,D,E,A,C F,B,C,D,E,A Correct 39. Which of the following are benefits of using PL/SQL sub programs rather than anonymous blocks? (Choose three.) Mark for Review (1) Points (Choose all correct answers) Easier to write Better data security (*) Easier code maintenance (*) Faster performance (*) Do not need to declare variables Correct 40. the following? A stored PL/SQL procedure can be invoked from which of

A PL/SQL anonymous block Another PL/SQL procedure A calling application Mark for Review (1) Points A only A and B A and C A, B and C (*) B and C Correct Mark for Review

41. What is another name for a nested subprogram? (1) Points

Hosted subprogram Local subprogram (*) Limited subprogram Correct 42. A procedure will execute faster if it has at least one Mark for Review True False (*) Correct 43. Which of the following can NOT be used as the datatype of a procedure parameter? Mark for Review (1) Points A non-SQL datatype such as BOOLEAN The name of another procedure (*) A large object datatype such as CLOB A PLSQL record defined using %ROWTYPE Correct 44. Which of the following best describes how an IN paramet er affects a procedure? Mark for Review

parameter. (1) Points

(1) Points It describes the order in which the proc edure's statements should be executed. It describes which parts of the procedur e's code are optional or conditional. It makes the procedure execute faster. It passes a value into the procedure whe n the procedure is invoked. (*) It allows complex calculations to be exe cuted inside the procedure. Correct 45. You have created the following procedure: CREATE OR REPLACE PROCEDURE double_it (p_param IN OUT NUMBER) IS BEGIN p_param := p_param * 2; END; Which of the following anonymous blocks invokes this procedure successfully? Mark for Review (1) Points BEGIN EXECUTE double_it(20); END; BEGIN SELECT double_it(20) FROM DUAL; END; DECLARE v_result NUMBER(6); BEGIN v_result := double_it(20); END; DECLARE v_result NUMBER(6) := 20; BEGIN double_it(v_result); END; (*) BEGIN double_it(20); END; Correct

46. rs is NOT true? (1) Points

Which of the following statements about actual paramete Mark for Review

An actual parameter is declared in the c alling environment, not in the called procedure An actual parameter must be the name of a variable (*) An actual parameter can have a Boolean d atatype The datatypes of an actual parameter and its formal parameter must be compatible An actual parameter can have a TIMESTAMP datatype Correct 47. (1) Points IN (*) OUT NUMBER VARIABLE CONSTANT Correct 48. Procedure SOMEPROC has five parameters named A, B, C, D , E in that order. The procedure was called as follows: SOMEPROC(10,20,D=>50); How was parameter D referenced? (1) Points Mark for Review Positionally Named (*) A combination of positionally and named A combination of named and defaulted Defaulted Which parameter mode is the default? Mark for Review

Correct 49. Procedure SOMEPROC has five parameters named A, B, C, D , E in that order. The procedure was called as follows: SOMEPROC(10,20,D=>50); How was parameter B referenced? (1) Points Mark for Review Positional (*) Named A combination of positionally and named A combination of named and defaulted Defaulted Correct 50. (1) Points CHARACTER, NUMBER, DATE, BOOLEAN CONSTANT, VARIABLE, DEFAULT LOCAL, GLOBAL, BOTH IN, OUT, IN OUT (*) Correct What are the type of parameter modes? Mark for Review

TEST 2 ......................................................................... ...........

1. What is the name of the column used to identify the PLSQL_OPTIMIZE_LEVE L in the data dictionary? Mark for Review (1) Points OPTIMIZE_LEVEL PLSQL_OPTIMIZE_LEVEL (*) PLSQL_CODE_TYPE PLSQL_LEVEL USER_PLSQL_OPTIMIZE Correct 2. To determine the current setting for PLSQL_OPTIMIZE_LEV EL, query the data dictionary view USER_PLSQL_OBJECTS_SETTING. True or False? Mark for Review (1) Points True False (*) Correct 3. EVEL. (Choose three) (1) Points Identify examples of benefits of using PLSQL_OPTIMIZE_L Mark for Review (Choose all correct answers) Modify source code to optimize frequentl y-used elements at the top. Control what PL/SQL does with useless co de. (*) Backward compatible with previous versio ns of the Oracle database. (*) Separating compiled code so that separat e units may be repeated as needed. Copy compiled code from one subprogram i nto another subprogram. (*)

Correct 4. What does the following statement do? DBMS_WARNING.ADD_WARNING_SETTING_CAT('PERFORMANCE','ENABLE','SESSION'); Mark for Review (1) Points Enables the PERFORMANCE warning category , setting other category settings to disabled. Enables the PERFORMANCE warning category , leaving other category settings unchanged. Add the PERFORMANCE warning category int o a PL/SQL variable. Disables all warning categories, then en ables the PERFORMANCE category. Enables the PERFORMANCE warning category , leaving other category settings unchanged, for the current session. (*) Correct 5. 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) Points True False (*) Correct 6. In the USER_ERRORS data dictionary view, if an error is prefixed with "Warning," the command completes but has a side effect the user n eeds to know about. For all other errors, the command terminates abnormally. Tru e or False? Mark for Review (1) Points True (*) False Correct 7. Which is NOT a benefit of obfuscation? Mark fo Mark for Review

r Review (1) Points Source code is not loaded in the data di ctionary. Source code is hidden from all users. Source code is visible to the owner. (*) Protection for intellectual property is provided. Correct 8. rams? (Choose two) (1) Points What are the two methods for obfuscating PL/SQL subprog Mark for Review (Choose all correct answers) DBMS_DDL.CREATE_WRAPPED (*) DBMS_DDL.WRAP DBMS_DML.CREATE_WRAPPED PL/SQL wrapper utility program (*) SQL wrapper utility program Correct 9. When wrapping subprograms, the entire PL/SQL code must be included as an IN argument with data type CLOB to allow for any size program. True or False? Mark for Review (1) Points True False (*) Correct 10. Conditional compilation allows you to determine what co de will be compiled based on select criteria you specify using inquiry directive s. True or False? Mark for Review (1) Points True False (*)

Correct 11. Identify some benefits of using conditional compilation. (Choose two) Mark for Review (1) Points (Choose all correct answers) Use new features with the latest databas e release and disable them with older database versions (*) Speed up the compilation time of a lengt hy PL/SQL subprogram. Determine initialization values during s tart up of a database session. Activate debugging or tracing statements in the development environment (*) Correct 12. How would you determine the current Oracle database ver sion? Mark for Review (1) Points DBMS_DB_VERSION.RELEASE DBMS_DB_VERSION.VERSION (*) DBMS_DB_VERSION.VER_LE_10 DBMS_DB_VERSION.VER_LE_11 Correct

Section 14 (Answer all questions in this section) 13. Function FETCH_EMP references the EMPLOYEES table. The table is modified by: ALTER TABLE employees ADD (resume CLOB); When will the ORACLE server try to recompile FETCH_EMP automatically? Mark fo r Review (1) Points When the command ALTER FUNCTION fetch_em p COMPILE; is executed The next time a user session invokes FET CH_EMP (*)

When the RESUME column is dropped from t he EMPLOYEES table When FETCH_EMP is dropped and recreated Correct 14. Package EMPPACK contains a public procedure GET_EMP, wh ich contains a reference to the EMPLOYEES table. Procedure CALL_EMP invokes EMPP ACK.GET_EMP. The following SQL statement is executed: ALTER TABLE employees ADD (gender CHAR(1)); Which one of the following statements is true? (1) Points Mark for Review

The specification and body of EMPPACK ar e invalidated, but CALL_EMP remains valid. The body of EMPPACK is invalidated, but the specification remains valid. (*) EMPPACK.GET_EMP is invalidated, but othe r procedures in EMPPACK remain valid. Nothing is invalidated because the PL/SQ L code does not reference the GENDER column. Correct 15. Which of the following will display dependency informat ion which has been generated by executing the DEPTREE_FILL procedure? (Choose tw o.) Mark for Review (1) Points (Choose all correct answers) The USER_DEPENDENCIES view The DEPTREE view (*) The UTLDTREE script The DISPLAY_DEPTREE view The IDEPTREE view (*) Correct 16. The PL/SQL variable V_LAST_NAME is used to store fetche d values of the LAST_NAME column of the EMPLOYEES table. To minimize dependency failures, the variable should be declared as: v_last_name VARCHAR2(25); True or False? Mark for Review

(1) Points True False (*) Correct 17. A SELECT from the DEPTREE table displays table LOCATION S at nested level 0 and procedure LOCPROC at nested level 2. This shows that LOC PROC is directly dependent on LOCATIONS. True or False? Mark for Review (1) Points True False (*) Correct 18. User BOB wants to know which objects reference his DEPA RTMENTS table. Which of the following must he execute to populate the DEPTREE_TE MPTAB table? Mark for Review (1) Points BEGIN utldtree('DEPARTMENTS'); END; BEGIN deptree_fill('TABLE','BOB','DEPARTMENTS'); END; (*) BEGIN deptree_fill('TABLE','DEPARTMENTS'); END; BEGIN ideptree('TABLE','BOB','DEPARTMENTS'); END;

Correct 19. When a table is dropped, all PL/SQL subprograms that re ference the table are automatically dropped. True or False? Mark for Review (1) Points True

False (*) Correct 20. Which of the following will display the number of inval id package bodies in your schema? Mark for Review (1) Points SELECT COUNT(*) FROM user_objects WHERE object_type = 'PACKAGE BODY' AND status = 'INVALID'; (*) SELECT COUNT(*) FROM user_dependencies WHERE type = 'PACKAGE BODY' AND status = 'INVALID'; SELECT COUNT(*) FROM user_packages WHERE status = 'INVALID'; SELECT COUNT(*) FROM user_objects WHERE object_type LIKE 'PACKAGE%' AND status = 'INVALID';

Correct 21. Procedure B has its local variable emp_number changed to emp_name. The data type of emp_id is changed from number to integer. It is compiled successful ly. In Signature Mode, Procedure A, which is dependent on remote Procedure B, wi ll compile and execute successfully. True or False? Mark for Review (1) Points True (*) False Correct 22. Procedure B has the ZERO_DIVIDE pre-defined exception a dded to its EXCEPTION section. It is compiled successfully. In Timestamp Mode, P rocedure A, which is dependent on remote Procedure B, will compile and execute s uccessfully. True or False? Mark for Review (1) Points True False (*) Correct 23. A change in a remote referenced subprogram is automatic

ally recorded as invalid if its base object changes and that new status is relay ed to the dependent object's status and automatically marked as invalid. True or False? Mark for Review (1) Points True False (*) Correct 24. In this scenario, the following status is given for each procedure: Procedure A is local and has a time stamp of 10 AM Procedure B is remote and has a local and remote time stamp of 10:30 AM In Timestamp Mode, Procedure A, which is dependent on Procedure B, will execute successfully at 11 AM. True or False? Mark for Review (1) Points True (*) False Correct 25. Which command changes the dependency mode to SIGNATURE in the current session? Mark for Review (1) Points ALTER SESSION MAKE REMOTE_DEPENDENCIES_M ODE = SIGNATURE ALTER SYSTEM MAKE REMOTE_DEPENDENCIES_MO DE = SIGNATURE ALTER SESSION SET REMOTE_DEPENDENCIES_MO DE = SIGNATURE (*) ALTER SYSTEM SET REMOTE_DEPENDENCIES_MOD E = SIGNATURE Correc