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. You can use the BULK COLLECT INTO clause in a SELECT or a ______.






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






3. Exceptions: Declare an exception called E.






4. A __________ can have an AUTHID property






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






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






7. You can have many autonomous transactions in ___________.






8. Exceptions: You can pass an ______ ________ to SQLERRM.






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






10. The DECLARE keyword is only required in an _______ _______.






11. Value of PLSQL_OPTIMIZE_LEVEL that prevents optimization.






12. Data dictionary view giving the AUTHID values on a user's objects.






13. When a session starts - CURRENT_SCHEMA has the value of the schema owned by ___________.






14. Advantage: PL/SQL runs anywhere Oracle runs - so it is very ________.






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






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






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






18. The two main parts of a package are the ____ and the _____.






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






20. Declare a constrained subtype of NUMBER called N that is not null.






21. Bytecode is _______ _______ code.






22. Cursors: If an exception is raised inside a cursor loop - the cursor (is / is not) also closed automatically.






23. Cursors: Opening keyword of a cursor FETCH loop.






24. NAN stands for _________.






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






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






27. PLS_INTEGER has its arithmetic implemented in ________ - so it is very fast.






28. Triggers: In a trigger - you cannot issue a COMMIT or a ______.






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






30. Cursors: Only a _____ _____ cursor can appear in the CURRENT OF clause of an UPDATE or DELETE statement.






31. Subprograms are stored in __________ form.






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






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






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






35. Delimiters: Item separator.






36. Cursors: A cursor variable's type must be a ____ ______ type.






37. _____ arrays cannot be used as the type of an Oracle table column.






38. Into nested table ex - put elements of tbl1 that are not in tbl2.






39. The best candidates for result-caching are functions that are invoked frequently but depend on __________________ or never.






40. I/O: This package handles HTTP.






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






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






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






44. After the RESULT_CACHE clause - you can put a _________ clause to enable dependency-checking.






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






46. DBMS_DDL.CREATE_WRAPPED: wraps and _______ the source code passed to it.






47. Exceptions: An exception in the declarations section does not go to the __________ section.






48. What are the 3 values of the BOOLEAN data type?






49. In the IF syntax - is if ENDIF or END IF?






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