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. In short-circuit evaluation - IF-conditions are only evaluated up to where the outcome ___________.






2. Triggers: The clause to make a trigger run before inserting or updating table EMPS.






3. Declare an output NUMBER parameter - v1 - that defaults to 10.






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






5. The compiler directive governing conditional compilation.






6. Labels for blocks and statements are enclosed in '__' brackets.






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






8. Default file extension of wrap's input file.






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






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






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






12. Web: The gateway that allows a web browser to invoke a PL/SQL procedure through an HTTP listener.






13. In PL/SQL - what the variables in DML statements are turned into.






14. Command to delete a procedure.






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






16. You (can/cannot) put a label before an END LOOP statement.






17. The command used to populate PLSQL_CCFLAGS.






18. A numeric FOR loop cannot _________ by other than 1?






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






20. Delimiters: Item separator.






21. How to reference a variable V declared in a block labelled L: ____.






22. Triggers: There are __ types of triggers.






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






24. I/O: Max number of bytes DBMS_OUTPUT can handle in a session.






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






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






27. The Wrap utility (does / does not) encrypt source code.






28. Advantage: Having procedures stored and executed on the server makes PL/SQL ________.






29. To use a TYPE declared in the database - a PL/SQL block has to have _______ privilege on the type.






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






31. Fundamental: Character used to escape a single quote inside a literal.

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


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






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






34. Packaged constants can synchronize programs through use in _______ directives.






35. I/O: The string table type in DBMS_OUTPUT for holding lines of text.






36. DynSQL: The colon-prefixed names used in EXECUTE IMMEDIATE are called ________.






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






38. Cursors: The first two keywords of a basic fetch statement.






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






40. Abbreviation of definer's rights






41. Dbms_sql: The integer returned by OPEN_CURSOR is a _____ _____.






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






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






44. Dbms_sql: A cursor opened with OPEN_CURSOR (can/cannot) be reused for multiple queries without first closing it.






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






46. The attribute used to get the type of a column or variable without knowing what it is.






47. Triggers: The clause to make a trigger run once for every affected row.






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






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






50. Cursors: A cursor that lives in session memory until the session ends.