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. Advantage: PL/SQL is tightly _______ with Oracle SQL.






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






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






4. Official acronym for PL/SQL's runtime engine.






5. The DEFINITION of a cursor is the _____ that returns the records.






6. Bulk: The implicit cursor attribute that gives the number of rows affected by each DML statement in a FORALL statement.






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






8. Value of a character literal with zero characters.






9. A collection is an ordered group of ________ - all of the same ____






10. You can have many autonomous transactions in ___________.






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






12. Assignment of PLSQL_CCFLAGS (cannot / can) be included in ALTER PROCEDURE ... COMPILE ...






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






14. DynSQL: Maximum string length to pass to EXECUTE IMMEDIATE.






15. I/O: To make sure the DBMS_OUTPUT buffer will be flushed - put a WHEN ______ clause in the EXCEPTION section of your outer block.






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






17. Triggers: An INSTEAD OF trigger (can/cannot) be conditional.






18. A unit with AUTHID = CURRENT_USER is an ________ rights unit.

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


19. With an sparse - integer-indexed associative array - you (can / cannot) use a regular FOR loop.






20. A null string and a BOOLEAN null are _______ (same/not the same).






21. A record is a group of related data items stored in fields - each with its own...






22. Fundamental: A label can be used to name an ______ block.






23. The declaration section is (optional/mandatory).






24. Cursors: An explicit cursor (can/cannot) accept parameters.






25. Delimiters: The association operator.






26. The meaning of 'FGA'.






27. DynSQL: The standard package that does dynamic SQL.






28. If an initialized collection has no elements - FIRST and LAST return _____.






29. Characters that end a multi-line comment.






30. The PL/SQL virtual machine turns bytecode into system ______.






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






32. I/O: One of the 3 types of data stored in the DBMS_OUTPUT buffer.






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






34. The method to add one or more elements to a nested table or VARRAY is ______.






35. DynSQL: The clause that receives single-row query output from EXECUTE IMMEDIATE.






36. Collections are one of the two kinds of PL/SQL _______ data types.






37. IDs: You can use a reserved word as a _______ user-defined identifier.






38. Give the first line of the FOR loop with index i going from 1 to 10 in reverse.






39. DynSQL: The three modes of arguments in the USING clause of EXECUTE IMMEDIATE.






40. True encryption is done with package __________.






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






42. The values defined in PLSQL_CCFLAGS can be referenced as _____ directives.






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






44. A PL/SQL block that is not stored.






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






46. In Native Mode - PL/SQL code is compiled into ______ ______.






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






48. DynSQL: The clause that supplies bind arguments to EXECUTE IMMEDIATE.






49. A value that is neither represented by an identifier nor calculated from other values.






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