Q1. Which two tasks should be created as functions instead of as procedures? (Choose two.) A. Reference host or bind variables in a PL7SQL block of code B. Tasks that compute and return multiple values to the calling environment C. Tasks that compute a value that must be returned to the calling environment D. Tasks performed in SQL that increase data independence by processing…
Q1. Examine the following package specification: Which statement is true? A. g_comm has a value of 15 at 9: 06 AM only for Jones B. g_comm has a value of 10 at 9: 03 AM for both Jones and smith C. g_comm has a value of 15 at 9: 03 AM for both Jones and smith D. g_comm has a value of 20 at 9:…
Q1. Which two statements correctly differentiate functions and procedures? (Choose two.) A. A function can be called only as part of a SQL statement, whereas a procedure can be called only as a PL7SQL statement. B. A function must return a value to the calling environment, whereas a procedure can return zero or more values to its calling environment. C. A function can…
Q1. View the Exhibit and examine the structure of the SALGRADE table. Examine the following code: What is the outcome? A. It is created successfully. B. It gives an error because the return clause condition is invalid. C. It gives an error because the usage of the host variables is invalid. D. It gives an error because the data type of the return clause is invalid. View…
Q1. Which two tasks should be created as functions instead of as procedures? (Choose two.) A. Reference host or bind variables in a PL7SQL block of code B. Tasks that compute and return multiple values to the calling environment C. Tasks that compute a value that must be returned to the calling environment D. Tasks performed in SQL that increase data independence by processing…
Q1. Which two statements are true about the exit statement encountered in loop? (Choose two) A. The PL/SQL block execution terminates immediately after the exit statement. B. The loop completes immediately and control passes to the statement after end loop C. The statements after the exit statement in the Iteration are not executed before terminating the LOOP. D. The current iteration of the loop…
Q1. Examine the following code: Which statement is true about the execution of the above code? A. It executes and displays null. B. It executes and the condition returns true. C. It executes and control goes to the else statement. D. It fails because no value is assigned to the v_myage variable. View AnswerAnswer: C Q2. View the Exhibit to examine the PL/SQL code: SREVROUPUT is on for…
Q1. Which two guidelines are recommended by Oracle to reduce invalidation of dependent objects? (Choose two.) A. Reference tables indirectly by using views. B. Reference tables directly avoid using views. C. When adding new items to a package, add them to the end of the package. D. When adding new items to a package, add them to the beginning of the package. View AnswerAnswer: A,C Q2.…