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. Conversion: Implicit conversion is not always predictable; it is _______-sensitive. And its rules might change.






2. The EXTEND method is not used with ______ _______.






3. Dbms_sql: The DBMS_SQL procedure that will execute a DDL or DML statement.






4. To create a collection type - use the TYPE command in PL/SQL and the ______ _____ command in SQL.






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






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






7. Kind of comment not to put in a PL/SQL block to be processed dynamically by an Oracle Precompiler program.






8. Which two of these built-in SQL functions can be used in procedural (PL/SQL) statements: DECODE - CORR - UPPER - SUM - COALESCE - DEREF.






9. ______ SQL is a PL/SQL feature that allows SQL syntax directly in a PL/SQL statement.






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






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






12. You can define PL/SQL collections using TYPEs defined in the _______.






13. Exceptions: Write the call (2 args) to associate message 'Bad' with error code -20 -100.

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


14. Cursors: The Oracle predefined REF CURSOR type.






15. A result-cached function caches its results in the _____ _____ ____ (SGA)






16. Advantage: PL/SQL is PORTABLE to any OS where ________ runs.






17. The $IF must evaluate a ______ _______ expression.






18. VARRAYs are (always / never) sparse.






19. Triggers: INSTEAD OF triggers only run on ______ views.






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






21. An editioning view is like an ____ for a table.






22. Exceptions: Some internal exceptions have ________ names.






23. The DEFINITION of a cursor is the _____ that returns the records.






24. The LIMIT method is only meaningful for _______.






25. The default value of the AUTHID property.






26. A CASE statement ends with ____ ____.






27. Cursors: Statement to end a loop when MyCur is used up: _____ ______ MyCur%NOTFOUND.






28. Bulk: The two features that comprise Bulk SQL are:






29. The AUTHID property applies to PL/SQL objects that contain _____.






30. Mode designation for an output parameter.






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






32. 5 types of events that can have triggers: DML - DDL - INSTEAD OFs - database events - and ________ statements.






33. Cursors: The values plugged into the DML in a FORALL must come from existing - populated _________.






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






35. With Edition-based Redefinition enabled - the unique specification of an object requires OWNER - OBJECT_NAME and ___________.






36. Packaged constants can synchronize programs through use in _______ directives.






37. The DEFINITION of a cursor is the part after the keyword __.






38. An incomplete type only has a ____.






39. Cursors: What is the 'name' of the implicit cursor?






40. With conditional compilation you can avoid compiling debug code in the _______ environment.






41. Types: ________ data types have internal components.






42. A FOR-loop counter is defined only within the _____.






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






44. In interpreted mode - PL/SQL code is run in a _______ _______.






45. I/O: This package sends text output to SQLPlus






46. Value of a character literal with zero characters.






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






48. Delimiters: Single-line comment marker.






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






50. How to reference a variable V declared in a block labelled L: ____.