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. Delimiters: The left label delimiter.






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






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






4. Cursors: How many implicit cursors can you access?






5. If none of a CASE expression's conditions are TRUE - it returns _____.






6. Exceptions: The maximum length of an Oracle error message is ____ characters






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






8. Cursors: The second keyword of a FETCH statement.






9. Cursors: Give the first 3 words to open a cursor variable called cv.






10. DBMS_DDL.WRAP returns a string containing wrapped _____ _____.






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






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






13. A GOTO cannot branch into a...






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






15. I/O: The DBMS_OUTPUT function that writes output without a newline character.






16. The four keywords that define a PL/SQL block.






17. A result-cached function caches its results in the _____ _____ ____ (SGA)






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






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






20. The EXCEPTION section is (optional/mandatory).






21. Declare an unconstrained subtype of NUMBER called NUMB.






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






23. Data dictionary view that shows the compiler settings for each compiled object.






24. The Wrap utility ________ the source code.






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






26. I/O: SQLPlus command for turning on buffered output.






27. The PL/SQL ________ evaluates compiler directives.






28. Advantage: PL/SQL programs are stored centrally - making them more ______.






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






30. Cursors: If no SELECT or DML statement has run - the value of SQL%ROWCOUNT is what?






31. Declare an input NUMBER parameter - v2 - that defaults to 20.






32. Fundamental: What is the exponentiation operator?






33. The PL/SQL preprocessor passes ______ code to the compiler.






34. Exceptions: Start of the range of error codes for RAISE_APPLICATION_ERROR.






35. An ordinary character literal is composed of characters in the ________ character set.






36. A nested table has to be initialized using a ________ - named the same as the type.






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






38. A GOTO cannot branch into an...






39. Delimiters: The remote access symbol.






40. Web: Abbreviation of PL/SQL Server Page.






41. To create a collection type - use the TYPE command in PL/SQL and the ______ _____ command in SQL.






42. Pkgs: The _______ package gives access to such SQL things as ALTER SESSION.






43. Exceptions: The ________ function returns the error message associated with an error code.






44. Nested tables can become sparse via ______.






45. Exceptions: User-defined exceptions must have _______.






46. Cursors: The statement that closes a cursor.






47. You cannot bulk collect into an ARRAY OF ________.






48. The compiler directive used to select which code to compile.






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






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