Professional Documents
Culture Documents
True (*)
False
Correct
True
False (*)
True
False (*)
True (*)
False
Correct
6. What is the
main Mark for Review
purpose for (1) Points
using the
RETURNING
clause?
Return more readily any exceptions that are raised by the statement
Improve performance by minimizing the number of statements
Improve performance by making one call to the SQL engine (*)
Improve performance by returning a single value
Correct
7. Which of the following are NOT benefits of using the NOCOPY hint? (Choose
two) Mark for Review
(1) Points
8. In the following example, where do you place the phrase BULK COLLECT?
Mark for Review
DECLARE (1) Points
TYPE NameList IS TABLE OF emp.ename%TYPE;
names NameList;
CURSOR c1 IS SELECT ename -- Position A
FROM emp WHERE job = 'CLERK';
BEGIN
OPEN c1;
FETCH c1 -- Position B
INTO -- Position C
names;
...
CLOSE c1;
END;
Position A
Position B (*)
Position C
9. When SQL statements are included within a procedure, the statements are
parsed when the procedure is compiled. True or False? Mark for Review
(1) Points
True (*)
False
Correct
10. Which is the correct order for the execution flow of SQL?
Mark for Review
(1) Points
Parse
Fetch
Bind
Execute
Bind
Parse
Execute
Fetch
Parse
Bind
Execute
Fetch
(*)
Execute
Parse
Fetch
Bind
True
False (*)
Correct
12. For which of the following is it necessary to use Dynamic SQL? (Choose
three.) Mark for Review
(1) Points
ALTER (*)
SAVEPOINT
GRANT (*)
DROP (*)
UPDATE
15. Which of the following SQL statements can be included in a PL/SQL block only
by using Dynamic SQL? (Choose two.) Mark for Review
(1) Points
SAVEPOINT
ALTER (*)
DELETE
GRANT (*)
SELECT ..... FOR UPDATE NOWAIT
True
False (*)
Correct
True
False (*)
3. For which of the following is it necessary to use Dynamic SQL? (Choose three.)
Mark for Review
(1) Points
SAVEPOINT
ALTER (*)
DROP (*)
GRANT (*)
UPDATE
Correct
4. Which of the following SQL statements can be included in a PL/SQL block only
by using Dynamic SQL? (Choose two.) Mark for Review
(1) Points
GRANT (*)
SAVEPOINT
DELETE
SELECT ..... FOR UPDATE NOWAIT
ALTER (*)
Correct
Parse
Fetch
Bind
Execute
Parse
Bind
Execute
Fetch
(*)
Bind
Parse
Execute
Fetch
Execute
Parse
Fetch
Bind
Correct
7. When SQL statements are included within a procedure, the statements are
parsed when the procedure is compiled. True or False? Mark for Review
(1) Points
True (*)
False
Correct
Correct
Correct
10. Which of the following are NOT benefits of using the NOCOPY hint? (Choose two)
Mark for Review
(1) Points
Correct
11. To create a list
movies from a Mark for Review
catalog of millions (1) Points
of titles, you could
use the following
code statement to
create a collection.
True or False?
...
TYPE nametab IS
TABLE OF
movies.title%TYPE;
Title_tab
nametab;
...
SELECT title BULK
COLLECT INTO
title_tab FROM
movies ORDER BY
rental_count DESC;
...
True (*)
False
Correct
12. What is the main purpose for using the RETURNING clause?
Mark for Review
(1) Points
Correct
True (*)
False
Correct
14. FORALL can only be used with the INSERT statement. True or False?
Mark for Review
(1) Points
True
False (*)
Correct