Oracle PL SQL Programming Adv Assessment With Answers
Oracle PL SQL Programming Adv Assessment With Answers
In order to learn which questions have been answered correctly: 1. Print these pages. 2. Answer the questions. 3. Send this assessment with the answers via: a. FAX to (212) 967-3498. Or b. Mail the answers to the following address: SYS-ED PO Box 1213 New York, NY 10156 Client contact: Name: Company: Address: City, State, Zip: Phone Number: Fax Number: E-mail:
Assessment
SA: Page 1
Assessment
QNO 1.
Question The CASE expression uses a selector which is: a. The WHEN clause. b. An expression whose value is used to select one of several alternatives. c. SQL SELECT statement used in an IF statement. d. The WHERE clause. e. None of the above. With the CASE construct, if none of the legs is selected: a. The results are the same as with an IF. b. The condition is ignored. c. Then the case_not_found exception is raised. d. Then the condition_unmet is raised. e. None of the above. The term for hiding the details of a complex algorithm by writing a procedure and passing it parameters is called: a. Shared memory. b. Class. c. Template. d. Procedural abstraction. e. None of the above. The keyword that denotes the object whose method was invoked is: a. ME b. SELF c. THIS d. MINE e. None of the above. A constructor must be invoked: a. Implicitly b. Explicitly c. At the time that the object is removed. d. Is never required. e. None of the above. When the object itself is null, not just its attributes, it is called: a. Atomically null b. Null c. Low values d. Constructor e. None of the above. A ref is a: a. Method of passing the values of parameters. b. Pointer to an object. c. Method of compiling the PL/SQL. d. A wrapper for encrypting the source. e. None of the above.
Answer b
2.
3.
4.
5.
6.
7.
SA: Page 2
Assessment
Answer c
9.
10.
11.
12.
a. Can be parallelized. b. Returned rows can be streamed directly to the next process without intermediate staging. c. Rows from a collection returned by a table function can also be pipelined. d. Produce a collectionError! Bookmark not defined. of rows. e. All of the above. Pipelined table functions can be implemented: a. Native PL/SQL approach. b. Interface approach. c. Only in SQL*Plus commands. d. A and B. e. None of the above. Bulk binds improve performance by: a. Improving the optimizer. b. Resetting the statistics in the catalog. c. Minimizing the number of context switches between the PL/SQL and SQL engines. d. Performing a Forward Prefetch. e. None of the above. The keyword that instructs the PL/SQL engine to bulk-bind input collections before sending them to the SQL engine is: a. BULK_BIND b. BULK c. BIND d. FORALL e. None of the above.
13.
14.
SA: Page 3
Assessment
Answer a
16.
17.
18.
19.
20.
a. Search thru very large databases b. Is a new feature of Oracle 9i c. To cache table values to give a performance boost in special situations, especially where frequent lookup is called for. d. a, b and c. e. None of the above. The Utl_Smtp package provides: a. Primitives to send email. b. Used for collection statistics. c. For networking in Oracle 9i. d. b and c. e. None of the above. Which of the following is a transaction type? a. Non-distributed transactions. b. Distributed transactions. c. Remote transactions. d. a, b and c. e. None of the above.
21.
SA: Page 4
Assessment
Answer c
23.
24.
25.
SA: Page 5