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. Triggers: If two or more triggers are defined with the same timing point - then you can control the firing order using the ________ clause.






2. Cursors: What implicit cursor attribute gives row counts for a FORALL statement?






3. The _______ package lets you wrap dynamically generated PL/SQL.






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






5. _____ arrays cannot be used as the type of an Oracle table column.






6. Conversion: If the specific value is suitable - ____ or _______ values can convert to almost any datatype






7. Java - C or other program called directly in PL/SQL.






8. Cursors: Give the statement for getting out of a FETCH loop for cursor CV.






9. What do you FETCH from?






10. The 4 keywords in the $IF compiler directive.






11. Command used to execute dynamic SQL.






12. Fundamental: One of the 4 types of lexical units: c_____.






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






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






15. You cannot bulk collect into an ARRAY OF RECORDS. You can into a ________________ (3 words).






16. I/O: If the current (outermost) PL/SQL block ends with an unhandled exception - the output buffer will not be ___________.






17. I/O: This package has hypertext procedures that generate HTML tags






18. Delimiters: The left label delimiter.






19. A GOTO cannot branch into a...






20. Fundamental: What is the range operator?






21. A user-defined TYPE can have...






22. Associative array types (can / cannot) be defined in the database.






23. I/O: The DBMS_OUTPUT procedure that sets the size of the output buffer.






24. Advantage: Performance: Storing and runnng procedures on the server minimizes ______ traffic.






25. IDs: Predefined identifiers are declared in this package.






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






27. Collections are one of the two kinds of PL/SQL _______ data types.






28. A type of compiler directive - begins with 'e'.






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






30. I/O: Max number of bytes DBMS_OUTPUT can handle in a session.






31. Advantage: PL/SQL is tightly _______ with Oracle SQL.






32. An INSTEAD OF trigger specifies what to do instead of a ___ statement.






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






34. You (can / cannot) wrap trigger source code.






35. Delimiters: the attribute indicator.






36. Exceptions: Start of the range of error codes for RAISE_APPLICATION_ERROR.






37. In a collection - the internal components always have the _____ data type.






38. INSTEAD OF triggers are alternatives to ___ triggers






39. A type of compiler directive - begins with 'i'.






40. To run a PIPE ROW statement in your autonomous routine - you must close any _____________.






41. Delimiters: The remote access symbol.






42. An autonomous program runs in its own __________.






43. The compiler directive used to select which code to compile.






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






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






46. Triggers: In a per-row trigger - the ____ record shows you the original state of an affected row.






47. Types: ________ data types have internal components.






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






49. When an autonomous routine begins execution - the main transaction is ________.






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