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. The values defined in PLSQL_CCFLAGS can be referenced as _____ directives.






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






3. I/O: This DBMS_OUTPUT proc retrieves multiple lines from the buffer.






4. Declare a variable r whose type is that of the records in table t.






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






6. I/O: Max number of bytes to pass in a call to DBMS_OUTPUT.PUT_LINE.






7. For a collection - the NEXT method gets the next higher (element / index).






8. In interpreted mode - the PL/SQL VM interprets the _________.






9. Conversion: Just about everything will implicitly convert to _____ or _________.






10. A type of compiler directive - begins with 'e'.






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






12. Abbreviation of invoker's rights






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






14. Triggers: Programmers (as opposed to DBAs) mostly make use of _____ triggers.






15. Wrapped code (is / is not) not backward compatible.






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






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






18. Exceptions: The three words that can be used to guarantee all exceptions will be handled.






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






20. The meaning of 'FGA'.






21. I/O: dbms_output.put_line puts output into a _______.






22. Exceptions: If there is no handler for an exception - PL/SQL returns an ________ exception error to the invoker or host environment.






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






24. The lowest index of a VARRAY is ___.






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






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






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






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






29. Types of blocks: A pl/sql block that is not stored in the database.






30. Into nested table ex - put elements of tbl1 that are not in tbl2.






31. IDs: Predefined identifiers are declared in this package.






32. Default value of PLSQL_OPTIMIZE_LEVEL.






33. How many types of compiler directives are there?






34. Fundamental: What are the 3 compound symbols for 'not equal to'?






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






36. Web: PL/SQL _______ enables a Web browser to invoke a PL/SQL stored subprogram through an HTTP listener.






37. I/O: The DBMS_OUTPUT function that writes output WITH a newline character.






38. The three possible values of a BOOLEAN literal.






39. Web: mod_plsql is an _______ module.






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






41. Conditional compilation is useful for compiling a program under different ______ of Oracle.






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






43. Advantage: Performance: Stored subprograms are ______ in memory.






44. IDs: The two types of words that can - but should not - be used as user-defined identifiers.






45. An anonymous block always has _________ rights.

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


46. 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


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






48. A PL/SQL extension to the WHERE clause of the SQL statements UPDATE and DELETE






49. A unit with AUTHID = DEFINER is a ________ rights unit.

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


50. Mode designation for an output parameter.