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. After the RESULT_CACHE clause - you can put a _________ clause to enable dependency-checking.






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






3. Triggers: There are __ types of triggers.






4. From a block nested inside a procedure P - reference variable V of the outer procedure.






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






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






7. The Wrap utility (does / does not) encrypt source code.






8. The inquiry directive that gives the current line number in the procedure.






9. Command to make a no-op (omit semicolon).






10. In short-circuit evaluation - IF-conditions are only evaluated up to where the outcome ___________.






11. Define a nested table type - tN - which is a table NUMBERs.






12. Delimiters: The remote access symbol.






13. What is the exception that is implicitly raised in a CASE statement with no ELSE clause?






14. DBMS_DDL.WRAP returns a string containing wrapped _____ _____.






15. Dbms_sql: A cursor opened with OPEN_CURSOR (can/cannot) be reused for multiple queries without first closing it.






16. Wrap iname=xxxx _____=zzzzz






17. Type: An ________ subtype has all the values of its base type.






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






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






20. Types: ______ data types are those storing values with no internal components.






21. Triggers: If two or more triggers are defined with the same timing point - then you can control the firing order using the ________ clause.






22. The collection method that tells the number of elements in the collection.






23. The BETWEEN operator is (inclusive / exclusive).






24. Exceptions: The ________ function returns the error message associated with an error code.






25. Give the statement to make a program autonomous.






26. Exceptions: The ________ handler must always be the last handler.






27. An incomplete type is a type created by a ______ type definition.






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






29. Declare an input NUMBER parameter - v2 - that defaults to 20.






30. Abbreviation of invoker's rights






31. An autonomous program runs in its own __________.






32. The attribute used to get the type of a row without knowing what it is.






33. How many types of compiler directives are there?






34. In 11g you can directly reference _____________ in PL/SQL.






35. Mode designation for an input/output parameter.






36. Which collection type is bounded?






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






38. Command to delete a procedure.






39. The SET TRANSACTION statement affects only the ____________.






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






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






42. Cursors: A cursor FOR loop can use an explicit or an _______ cursor.






43. A FOR loop can be indexed by numbers or by a ______.






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






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






46. Nested tables can become sparse via ______.






47. A GOTO statement can branch from an exception handler into...






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






49. _________ exceptions can not be trapped with an error handler






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