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. IDs: List the two types of user-defined identifiers.






2. With dynamic typing - type checking is done at ______time.






3. The variable showing the user id that is automatically prepended to object names.






4. Fundamental: A label can be used to name an ______ block.






5. Fundamental: What are the 3 compound symbols for 'not equal to'?






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






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






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






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






10. Delimiters: The assignment operator.






11. I/O: This package lets two or more sessions in the same instance communicate.






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






13. Which two collection types are unbounded?






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






15. The exception raised when a SELECT INTO statement returns more than one row.






16. Default file extension of wrap's input file.






17. The default value of the AUTHID property.






18. The lowest index of a nested table is ___.






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






20. Cursors: A cursor FOR loop cannot use a _______ variable.






21. Fundamental: Delimiters are _____ and _____ symbols.






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






23. Cursors: Opening keyword of a cursor FETCH loop.






24. Triggers: The clause to make a trigger run after inserting into table EMPS.






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






26. Assignment of PLSQL_CCFLAGS (cannot / can) be included in ALTER PROCEDURE ... COMPILE ...






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






28. The two main parts of a package are the ____ and the _____.






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






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






31. IDs: How an ordinary user-defined identifier must begin.






32. Language that PL/SQL is derived from.






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






34. IDs: You (can/cannot) use keywords as ordinary user-defined identifiers.






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






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






37. DynSQL: EXECUTE IMMEDIATE can be used for any SQL statement or PL/SQL block - except for ________ queries.






38. By default - OUT and IN OUT parameters are passed by _____.






39. I/O: The DBMS_OUTPUT function that writes output WITH a newline character.






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






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






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






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






44. TCL: Undo changes back to savepoint ab.






45. User-defined compiler directives are defined in this system compile parameter.






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






47. Declaration of a varchar2 constant - called vname - with value 'x'.

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


48. Cursors: The three keywords in a full cursor declaration/definition (before the SELECT).






49. Command to delete a procedure.






50. Official acronym for PL/SQL's runtime engine.