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. Java - C or other program called directly in PL/SQL.






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






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






4. Abbreviation for Abstract Data Type.






5. Bulk: The keywords of a bulk collect FETCH statement.






6. The command used to populate PLSQL_CCFLAGS.






7. To use a TYPE declared in the database - a PL/SQL block has to have _______ privilege on the type.






8. A (simple / searched) CASE statement begins with CASE WHEN <boolean expression>.






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






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






11. Cursors: Closing keywords of a cursor FETCH loop.






12. Where an external subprogram is stored.






13. I/O: The output from DBMS_OUTPUT will display (during/after) program execution.






14. Value of a character literal with zero characters.






15. Native compilation turns bytecode into ________ code.






16. Declare a cursor c with no parameters or return type.






17. Types: The storage size of a NUMBER value is based on the number of ______ digits.






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






19. Web: mod_plsql is an implementation of the PL/SQL _________.






20. Types: One of the scalar data types specific to PL/SQL: B_______






21. Labels for blocks and statements are enclosed in '__' brackets.






22. Bulk: The implicit cursor attribute that gives the number of rows affected by each DML statement in a FORALL statement.






23. IDs: List the two types of user-defined identifiers.






24. Exceptions: The keyword that begins an exception handler.






25. Declare an input/output NUMBER parameter - v3.






26. Types: In addition to the SQL data types - PL/SQL has ___ more scalar data types.






27. One good use of bind variables is to guard against SQL _______.






28. Cursors: The value of SQL%ISOPEN is always ______.






29. Fundamental: Which one of these is a simple symbol: a - = - !=






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






31. (from inside a package) Declare a function f - that takes a number n - returns a number - and caches results - depending on table EMPS.






32. Delimiters: Host variable indicator.






33. Delimiters: The assignment operator.






34. _______ arrays can be sparse or dense - depending on how you fill them.






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






36. How many types of compiler directives are there?






37. An ordinary character literal is composed of characters in the ________ character set.






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






39. To insert or update on a table that has a collection column - you have to have _______ privilege on the collection type.






40. Wrap ______=xxxx oname=zzzzz






41. To exit an active autonomous transaction without causing an exception - you must issue _____ or ______.






42. Fundamental: Character used to escape a single quote inside a literal.


43. A subprogram defined within another subprogram is a _______ subprogram.






44. DynSQL: Native Dynamic SQL






45. GOTO branches to a ________.






46. Define a collection type - tV - which is a varray of 100 NUMBERs.






47. In the IF syntax - is if ENDIF or END IF?






48. Give the value list in the PLSQL_WARNINGS parameter to turn on SEVERE compiler warnings and make compiler warning 06002 be an error.


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






50. The variable showing the user id of the session owner.