Test your basic knowledge |

Oracle PL - SQL

Subjects : oracle, it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. I/O: This package handles HTTP.






2. Statement to exit a cursor loop on cursor cGo when there are no more records.






3. Exceptions: The _________ package defines the PL/SQL environment.






4. After the RESULT_CACHE clause - you can put a _________ clause to enable dependency-checking.






5. Exceptions: An exception raised inside an _______ _______ propagates immediately to the enclosing block






6. The FORALL statement to loop over a collection MyList using index i.






7. Conditional ______ allows backward compability with older database versions.






8. A pointer to a private SQL area that stores information about processing a specific SELECT or DML statement.






9. Cursors: The first two keywords of a basic fetch statement.






10. I/O: Max number of bytes to pass in a call to DBMS_OUTPUT.PUT_LINE.






11. Declare a package procedure P with no arguments - and give it invoker's rights.






12. Fundamental: What are the 3 compound symbols for 'not equal to'?






13. Cursors: A cursor variable's type must be a ____ ______ type.






14. In short-circuit evaluation - IF-conditions are only evaluated up to where the outcome ___________.






15. Fundamental: Maximum string length of a PL/SQL variable.






16. DynSQL: The three modes of arguments in the USING clause of EXECUTE IMMEDIATE.






17. DynSQL: EXECUTE IMMEDIATE does both dynamic SQL and dynamic _______.






18. Term for a character literal with zero characters.






19. Cursors: The four cursor attributes - in alphabetical order.






20. Triggers: A compound trigger can fire at more than one ______ point.






21. Cursors: The Oracle predefined REF CURSOR type.






22. Cursors: A cursor FOR loop cannot use a _______ variable.






23. In Native Mode - PL/SQL code is compiled into ______ ______.






24. Cursors: The second keyword of a FETCH statement.






25. Pkgs: The _______ package gives access to such SQL things as ALTER SESSION.






26. To enable result-caching for a function - use the _____________ clause.






27. Give the first line of the FOR loop with index i going from 1 to 10 in reverse.






28. The valid values of the AUTHID property.






29. Mode designation for an input parameter.






30. I/O: One of the 3 types of data stored in the DBMS_OUTPUT buffer.






31. Advantage: Performance: PL/SQL automatically creates ______ variables for variables in WHERE and VALUES clauses.






32. PLSQL_CCFLAGS hold a comma-separated list of ______ pairs (hyphenated).






33. Exceptions: Type ______ to re-raise the current exception.






34. Loops: What is the index range operator in a FOR loop?






35. This is a CASE (expression / statement): CASE num WHEN 1 THEN goto LABEL1 WHEN 2 THEN var := 2 END CASE;






36. DynSQL: In EXECUTE IMMEDIATE - the statement string can use either placeholders - or string ________.






37. Default file extension of wrap's input file.






38. With an sparse - integer-indexed associative array - you (can / cannot) use a regular FOR loop.






39. Fundamental: A label can be used to name an ______ block.






40. _________ exceptions can not be trapped with an error handler






41. Default file extension of wrap's output file.






42. Abbreviation of definer's rights






43. In the special IF syntax - is it ELSIF - or ELSEIF?






44. Cursors: If an exception is raised inside a cursor loop - the cursor (is / is not) also closed automatically.






45. Wrapping can be done with the ____ executable.






46. What do you FETCH from?






47. Assigning values to PL/SQL variables that appear in SQL statements is called _______.






48. Declare a number variable - A - initialized to 10.






49. PLS_INTEGER has its arithmetic implemented in ________ - so it is very fast.






50. Triggers: You create a trigger with the _______ ________ statement.