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. Advantage: PL/SQL is tightly _______ with Oracle SQL.






2. In a collection - the internal components are called _______.






3. Exceptions: Associate exception E with error code -1.






4. Web: PL/SQL _______ enables a Web browser to invoke a PL/SQL stored subprogram through an HTTP listener.






5. The statement that is used to execute most (native) dynamic SQL.






6. Triggers: To simulate having triggers on SELECT statements - you can try ___ (3-letter acronym).






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






8. Types: Which type of arithmetic does PLS_INTEGER use - library or hardware?






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






10. Fundamental: One of the 4 types of lexical units: i_____






11. Delimiters: The remote access symbol.






12. Types: A data type family consists of a ______ type and its subtypes.






13. Cursors: A cursor that lives in session memory until the session ends.






14. Nested tables can become sparse via ______.






15. I/O: This DBMS_OUTPUT proc retrieves multiple lines from the buffer.






16. Characters that begin a single-line comment.






17. Web: PL/SQL ______ ______ (PSPs) let you develop web pages with dynamic content.






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






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






20. Dbms_sql: The return type DBMS_SQL.open_cursor.






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






22. If an initialized collection has no elements - FIRST and LAST return _____.






23. Fundamental: A label can only go directly before an _______ statement.






24. In PL/SQL - what the variables in DML statements are turned into.






25. Conversion: Implicit conversion is not always predictable; it is _______-sensitive. And its rules might change.






26. An anonymous block always has _________ rights.


27. CREATE TYPE cannot be used for _______ array types.






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






29. Declare a variable r whose type is that of the records in table t.






30. Two types of stored subprograms.






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






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






33. Triggers: By default - a trigger is created in the ______ state.






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


35. Cursors: The SQL%FOUND attribute has how many possible values?






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






37. Wrapped code (is / is not) not backward compatible.






38. Exceptions: The three words that can be used to guarantee all exceptions will be handled.






39. The valid values of the AUTHID property.






40. Types: One of the 4 PL/SQL things that have a data type (begins with 'c').






41. Fundamental: Delimiters are _____ and _____ symbols.






42. A SELECT statement with the FOR UPDATE clause puts a ______ on the selected rows.






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






44. IDs: You cannot use reserved words as ______ user-defined identifiers.






45. Dbms_sql: DBMS_SQL package is compiled with _______ rights.


46. Triggers: You create a trigger with the _______ ________ statement.






47. DynSQL: The main command for Native Dynamic SQL.






48. Conditional compilation is useful for compiling a program under different ______ of Oracle.






49. Cursors: You give an explicit cursor a name and associate it with a _______.






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