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. Conversion: It is best to use (implicit / explicit) conversion.






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






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






4. I/O: This package sends text output to SQLPlus






5. An anonymous block is a(n) ____ statement.






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






7. The FOR UPDATE OF clause references a (table / column).






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






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






10. Advantage: PL/SQL is tightly _______ with Oracle SQL.






11. Cursors: SYS_REFCURSOR is a predefined type based on _____ ______.






12. Web: mod_plsql is an _______ module.






13. FOR-Looping over a collection from FIRST to LAST only works if the collection is _______.






14. In a cursor loop - the clause added to an INSERT or UPDATE to point at the current record.






15. Abbreviation of invoker's rights






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






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






18. An anonymous block always has _________ rights.

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


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






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






21. DynSQL: In EXECUTE IMMEDIATE - the statement string can use either placeholders - or string ________.






22. Assigning values to PL/SQL variables that appear in SQL statements is called _______.






23. Delimiters: The component indicator/selector.






24. The source for wrapping begins with the word ______.






25. Cursors: A session cursor that a PL/SQL user creates and manages.






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






27. A type of compiler directive - begins with 's'.






28. The _______ package lets you wrap dynamically generated PL/SQL.






29. Declare a number variable - A - initialized to 10.






30. Native compilation turns bytecode into ________ code.






31. To enable result-caching for a function - use the _____________ clause.






32. In a FORALL loop - you (can / cannot) use the index variable for purposes other than indexing into the collection.






33. In short-circuit evaluation - IF-conditions are only evaluated up to where the outcome ___________.






34. Mode designation for an input parameter.






35. The BEGIN section is (optional/mandatory)






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






37. Advantage: PL/SQL is PORTABLE to any OS where ________ runs.






38. Advantage: Performance: PL/SQL automatically creates ______ variables for variables in WHERE and VALUES clauses.






39. The LIMIT method is only meaningful for _______.






40. The three types of compiler warnings.






41. The names of Java objects in Oracle can be up to __ characters in length.






42. IDs: What a quoted user-defined identifier is enclosed in.






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






44. Exceptions: Some internal exceptions have ________ names.






45. If a result-cached function's data source (based on the RELIES_ON clause) is updated - any cached results become _______.






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






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






48. I/O: This package does email.






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






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