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. IDs: What a quoted user-defined identifier is enclosed in.






2. Fundamental: One of the 4 types of lexical units: c_____.






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






4. Exceptions: The _________ package defines the PL/SQL environment.






5. A GOTO cannot branch into a...






6. The RESULT_CACHE clause comes (before / after) the RETURN clause.






7. Cursors: What implicit cursor attribute gives row counts for a FORALL statement?






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






9. Give the statement to make a program autonomous.






10. Conditional ______ allows backward compability with older database versions.






11. Types: ________ data types have internal components.






12. What clause makes a compilation default to the PLSQL_CCFLAGS settings from the last compilation?






13. Cursors: The type definition of a WEAK ref cursor type has no _______ clause.






14. Cursors: The keyword that makes a ref cursor type STRONG.






15. Types: The only Oracle datetime type that doesn't begin with TIMESTAMP is ________.






16. Exceptions: PL/SQL exceptions are of two types: internal and _________.






17. IDs: You cannot use reserved words as ______ user-defined identifiers.






18. Cursors: The SQL%BULK_ROWCOUNT attribute is an _________ -






19. Keyword for doing assignment to a variable with SELECT.






20. Cursors: Give the statement to open cursor C.






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






22. Java - C or other program called directly in PL/SQL.






23. Pkgs: This procedure de-instantiates/resets all packages in this session.






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






25. Cursors: A cursor FOR loop cannot use a _______ variable.






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






27. Set flag bb true: ALTER SESSION SET PLSQL_CCFLAGS= '____'






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






29. Wrap ______=xxxx oname=zzzzz






30. Define a record variable r - of type tRec - initialized with values 9 and 'Jones' in its two fields.

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


31. I/O: This package has hypertext procedures that generate HTML tags






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






33. The AUTHID property applies to PL/SQL objects that contain _____.






34. Types: A data type family consists of a ______ type and its subtypes.






35. ______ SQL is a PL/SQL feature that allows SQL syntax directly in a PL/SQL statement.






36. Declare an unconstrained subtype of NUMBER called NUMB.






37. Give the value list in the PLSQL_WARNINGS parameter to turn on SEVERE compiler warnings and make compiler warning 06002 be an error.

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


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






39. Triggers: If two or more triggers are defined with the same timing point - then you can control the firing order using the ________ clause.






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






41. Types: One of the scalar data types specific to PL/SQL: B_______






42. To run TCL or DDL statements - a trigger (must / must not) be autonomous .






43. The two kinds of CASE statements are simple and ________.






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






45. Abbreviation of definer's rights






46. (from inside a package) Declare a function f - that takes a number n - returns a number - and caches results - depending on table EMPS.






47. Fundamental: One of the 4 types of lexical units: L_____






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






49. Associative array types (can / cannot) be defined in the database.






50. A subprogram defined within another subprogram is a _______ subprogram.