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. I/O: To make sure the DBMS_OUTPUT buffer will be flushed - put a WHEN ______ clause in the EXCEPTION section of your outer block.






2. Define a collection type - tA - which is an associative array of NUMBERS - indexed with varchar2(20) values.






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






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






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






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






7. The attribute used to get the type of a column or variable without knowing what it is.






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






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






10. A GOTO cannot branch into an...






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






12. I/O: The string table type in DBMS_OUTPUT for holding lines of text.






13. Package for getting the postprocessed source of a program.






14. Mode designation for an input parameter.






15. Exceptions: A GOTO statement CAN branch from an exception handler into an ________ block.






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

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


17. Cursors: The FOR UPDATE phrase goes at the (beginning/end) of the cursor definition.






18. Cursors: A cursor with a name is an _________ cursor.






19. The compiler directive governing conditional compilation.






20. A GOTO cannot branch into a...






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






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






23. Clause added to a cursor to use it with WHERE CURRENT OF.






24. Cursors: A session cursor that is automatically created and managed by PL/SQL.






25. Wrap ______=xxxx oname=zzzzz






26. Associative arrays (do / do not) have to be initialized with a constructor.






27. Types: One of the scalar data types specific to PL/SQL: P________






28. Cursors: You cannot use cursor attributes in _______ statements.






29. I/O: The most basic PL/SQL way to give output to the user.






30. Triggers: The clause to make a trigger run before inserting or updating table EMPS.






31. Types of blocks: Procedures and functions are _______ blocks.






32. Types: ________ data types have no internal components.






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






34. Cursors: Give the statement for getting out of a FETCH loop for cursor CV.






35. Cursors: The statement where you pass the parameters to a cursor.






36. Nested tables are multisets - meaning that there is no inherent _____ of their elements.






37. In a collection - the internal components always have the _____ data type.






38. A kind of variable used as a placeholder.






39. Exceptions: Some internal exceptions have ________ names.






40. The meaning of 'FGA'.






41. When a parameter is passed by reference - changes made to it inside the procedure cannot be undone. True/False.






42. Web: PL/SQL _____ _______ lets you to develop Web applications made of PL/SQL procedures.






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






44. Internally - the NUMBER type is stored as ______. Therefore - decimal numbers (such as prices) are stored exactly - with no rounding.






45. Triggers: On a non-editioning view - you can only define __________ triggers.






46. Dbms_sql: The return type DBMS_SQL.open_cursor.






47. Cursors: The first two keywords in a Cursor FOR loop.






48. Declare an associative array type - t - whose elements are of type rPerson - and whose index is PLS_INTEGER.






49. I/O: This package handles HTTP.






50. Pkgs: This procedure de-instantiates/resets all packages in this session.