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. Types: The only PL/SQL type for which you can specify a range constraint.






2. Exceptions: When an exception is raised inside a cursor FOR loop - the cursor is _______ implicitly.






3. The meaning of 'FGA'.






4. Native compilation turns bytecode into ________ code.






5. To exit an active autonomous transaction without causing an exception - you must issue _____ or ______.






6. An $ERROR directive ends with _____.






7. An editioning view is like an ____ for a table.






8. $$PLSQL_LINE and $$PLSQL_UNIT are ______-ly defined inquiry directives.






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






10. Parameter that controls how much Oracle optimizes your PL/SQL code on compilation.






11. Cursors: Give the statement to open cursor C that takes parameter p.






12. I/O: The DBMS_OUTPUT procedure that sets the size of the output buffer.






13. Bulk: The two features that comprise Bulk SQL are:






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






15. I/O: This DBMS_OUTPUT proc retrieves one line from the buffer.






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






17. An anonymous block always has _________ rights.

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


18. Define a record type REC with number num and varchar2(10) name.






19. Dbms_sql: The DBMS_SQL procedure that closes a cursor.






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






21. Cursors: The keyword that makes a ref cursor type STRONG.






22. For an associative array - the FIRST method gets the (lowest / first-created) index.






23. In a record - the internal components are called ______.






24. Declare an unconstrained subtype of NUMBER called NUMB.






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






26. PL/SQL is a ________ typed programming language.






27. _______ arrays can be sparse or dense - depending on how you fill them.






28. What word is in a function header but not in a procedure header?






29. Bulk: The keywords of a bulk collect FETCH statement.






30. The EXTEND method is not used with ______ _______.






31. The SET TRANSACTION statement affects only the ____________.






32. The RESULT_CACHE clause comes (before / after) the RETURN clause.






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






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






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






36. Delimiters: the attribute indicator.






37. Fundamental: Which one of these is a compound symbol: = - :=






38. What are the two sequence pseudo-columns?






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






40. Value of a character literal with zero characters.






41. An autonomous program runs in its own __________.






42. A (simple / searched) CASE statement begins with CASE <expression>.






43. Cursors: The values plugged into the DML in a FORALL must come from existing - populated _________.






44. The RESULT_CACHE clause has to be in both the declaration and in the ______ of the function.






45. The three possible values of a BOOLEAN literal.






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






47. The PL/SQL ________ evaluates compiler directives.






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






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






50. True encryption is done with package __________.