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: The two types of words that can - but should not - be used as user-defined identifiers.






2. Which two of these built-in SQL functions can be used in procedural (PL/SQL) statements: DECODE - CORR - UPPER - SUM - COALESCE - DEREF.






3. The allowed data types of user-defined conditional compilation directives are boolean and _______.






4. I/O: This package handles HTTP.






5. IDs: The type of words that cannot be user-defined identifiers.






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






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






8. A kind of variable used as a placeholder.






9. Delimiters: The left label delimiter.






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






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






12. Default file extension of wrap's output file.






13. Cursors: WHERE _______ ______ makes an UPDATE or DELETE apply to the current row of a cursor.






14. You have to use _______ SQL to run DDL statements n PL/SQL.






15. An $ERROR directive ends with _____.






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






17. The NOCOPY option on an OUT or IN OUT parameter - causes it to be passed by ______.






18. 5 types of events that can have triggers: DML - DDL - INSTEAD OFs - database events - and ________ statements.






19. INSTEAD OF triggers are alternatives to ___ triggers






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






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






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






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






24. Cursors: You can just declare a cursor at first - then _______ it later.






25. With a result-cached function - it uses a cached value when the function is called again with the...






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






27. Exceptions: Pragma that links an exception to an Oracle error code.






28. Wrapping can be done with the ____ executable.






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






30. Cursors: A Cursor FOR loop does not use a ______ statement.






31. Fundamental: Maximum string length of a PL/SQL variable.






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






33. I/O: The PL/SQL I/O packages (can/cannot) accept input directly from the keyboard.






34. Fundamental: One of the 4 types of lexical units: L_____






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






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






37. Bulk: The use of FORALL statements cuts down on ______ traffic.






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






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






40. Give the ANSI Date literal for December 25 - 2005.

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


41. Statement to set current schema to x: _____ _____ SET CURRENT_SCHEMA = 'x';






42. Triggers and views always have _________ rights.

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


43. Fundamental: Delimiters are _____ and _____ symbols.






44. Records are one of the two kinds of PL/SQL _______ data types.






45. Cursors: The Oracle predefined REF CURSOR type.






46. Abbreviation of definer's rights






47. What are two categories of SQL functions that cannot be used in procedural statements?






48. Fundamental: One of the 4 types of lexical units: d_____






49. 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


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