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. Exceptions: An exception in the declarations section does not go to the __________ section.






2. When a parameter is passed by reference - changes made to it inside the procedure cannot be undone. True/False.






3. You can put a label before any executable PL/SQL _________.






4. A type of compiler directive - begins with 's'.






5. What are the starting and ending keywords of a simple loop?






6. Conversion: It is best to use (implicit / explicit) conversion.






7. Delimiters: Single-line comment marker.






8. Dbms_sql: A cursor opened with OPEN_CURSOR (can/cannot) be reused for multiple queries without first closing it.






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






10. Kind of code created by the PL/SQL compiler.






11. The PL/SQL preprocessor passes ______ code to the compiler.






12. Mode designation for an input/output parameter.






13. What clause makes a compilation default to the PLSQL_CCFLAGS settings from the last compilation?






14. Two types of stored subprograms.






15. The EXCEPTION section is (optional/mandatory).






16. A CASE expression ends with _____.






17. Cursors: The SQL%BULK_ROWCOUNT attribute is an _________ -






18. The lowest index of a VARRAY is ___.






19. Bulk: The use of FORALL statements cuts down on ______ traffic.






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






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






22. Types: One of the 4 PL/SQL things that have a data type (begins with 'v').






23. FOR-Looping over a collection from FIRST to LAST only works if the collection is _______.






24. Characters that end a multi-line comment.






25. Mode designation for an input parameter.






26. Exceptions: User-defined exceptions must have _______.






27. Types of blocks: A pl/sql block that is not stored in the database.






28. A PL/SQL block that is not stored.






29. Cursors: Which cursor attribute is not meaningful for an implicit cursor?






30. What is the simplest statement for conditionally getting out of simple loop?






31. Advantage: PL/SQL runs anywhere Oracle runs - so it is very ________.






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






33. How many times are a FOR loop's index bounds evaluated?






34. Triggers: When using the NEW or OLD pseudo-records in the body of the trigger - they must be prefixed with a _______.






35. What do you FETCH from?






36. A GOTO statement cannot branch from an exception handler back into the...






37. The first SQL statement in an autonomous routine begins a _______.






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






39. A SELECT statement with the FOR UPDATE clause puts a ______ on the selected rows.






40. Clause added to a cursor to use it with WHERE CURRENT OF.






41. Abbreviation of definer's rights






42. A national character literal is composed of characters in the ________ character set.






43. Web: mod_plsql is an _______ module.






44. An INSTEAD OF trigger is used - e.g - when you want to insert into a complex _____.






45. Where an external subprogram is stored.






46. I/O: One of the 3 types of data that can be passed to the DBMS_OUTPUT buffer.






47. If a procedure fails - an OUT parameter passed to it by value (will / will not) be passed back with changes.






48. DBMS_DDL.CREATE_WRAPPED: wraps and _______ the source code passed to it.






49. Advantage: Caching of programs and sharing among users lowers _______ requirements.






50. The PL/SQL virtual machine turns bytecode into system ______.