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. The AUTHID property applies to PL/SQL objects that contain _____.






2. I/O: The DBMS_OUTPUT buffer will not be flushed until it is full or until the current PL/SQL block _________.






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






4. IDs: The two types of words that can - but should not - be used as user-defined identifiers.






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






6. Nested tables can become sparse via ______.






7. TCL: Undo changes back to savepoint ab.






8. I/O: This package lets PL/SQL programs read and write OS files.






9. IDs: Maximum number of bytes in a user-defined identifier.






10. The meaning of 'FGA'.






11. Advantage: PL/SQL programs are stored centrally - making them more ______.






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






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






14. Advantage: PL/SQL supports ______-oriented programming.






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






16. For a collection - the NEXT method gets the next higher (element / index).






17. By default - an IN parameter is passed by ______.






18. Command to assign to variables from a cursor.






19. Records are one of the two kinds of PL/SQL _______ data types.






20. Advantage: PL/SQL gives SCALABILITY because stored procedures are executed on the _______.






21. Types: A ______ has the same valid operations as its base type.






22. The values defined in PLSQL_CCFLAGS can be referenced as _____ directives.






23. Exceptions: Each internal exception has an Oracle ______ _______.






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






25. DynSQL: Maximum string length to pass to EXECUTE IMMEDIATE.






26. Exceptions: An exception in the declarations section propagates to the enclosing _______.






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






28. I/O: The buffered output of dbms_output.put_line is retrieved by _______.






29. Static typing is also called _____ typing.






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






31. The three types of compiler warnings.






32. The RESULT_CACHE clause has to be in both the declaration and in the ______ of the function.






33. Dbms_sql: The integer returned by OPEN_CURSOR is a _____ _____.






34. Cursors: SYS_REFCURSOR is a predefined type based on _____ ______.






35. The FOR UPDATE OF clause references a (table / column).






36. Web: mod_plsql is an _______ module.






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






38. Delimiters: Host variable indicator.






39. Mode designation for an output parameter.






40. PL/SQL lets you define two kinds of composite data types: _______ and _______






41. Cursors: If you use an EXIT statement to exit a cursor FOR loop prematurely - the cursor (is / is not) closed automatically.






42. The DECLARE keyword is only required in an _______ _______.






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






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






45. Name the two types of FOR loop.






46. DynSQL: The clause that receives single-row query output from EXECUTE IMMEDIATE.






47. Web: PL/SQL ______ ______ (PSPs) let you develop web pages with dynamic content.






48. Cursors: A session cursor that a PL/SQL user creates and manages.






49. Fundamental: One of the 4 types of lexical units: L_____






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