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. Types: Which type of arithmetic does NUMBER use - library or hardware?






2. Exceptions: Write the call (2 args) to associate message 'Bad' with error code -20 -100.

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


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






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






5. Clause added to a cursor to use it with WHERE CURRENT OF.






6. IDs: The 3 non-alphanumeric characters that can be in an ordinary user-defined identifier.






7. Triggers: There are __ types of triggers.






8. The Wrap utility ________ the source code.






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






10. I/O: This package handles HTTP.






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


12. PL/SQL is a ________ typed programming language.






13. The statement that is used to execute most (native) dynamic SQL.






14. Cursors: A cursor with a name is an _________ cursor.






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






16. Types: ________ data types have internal components.






17. The _____ and ____ _____ collection types can be used in database table columns.






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






19. True encryption is done with package __________.






20. Make a FOR loop that executes NULL 10 times counting in reverse - using index i.






21. Fundamental: identifiers (include/do not include) reserved words.






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






23. INSTEAD OF triggers are alternatives to ___ triggers






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






25. _________ exceptions can not be trapped with an error handler






26. PLS_INTEGER has its arithmetic implemented in ________ - so it is very fast.






27. User-defined compiler directives are defined in this system compile parameter.






28. Delimiters: Statement terminator.






29. Delimiters: Item separator.






30. Types: The only PL/SQL type for which you can specify a range constraint.






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






32. Wrap iname=xxxx _____=zzzzz






33. The FIRST method gets the first (element / index) of a collection.






34. The default value of the AUTHID property.






35. Triggers and views always have _________ rights.

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


36. Cursors: Give the statement for getting out of a FETCH loop for cursor CV.






37. Characters that begin a multi-line comment.






38. The variable showing the user id of the session owner.






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






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






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






42. PL/SQL lets you define two kinds of composite data types: _______ and _______






43. The valid values of the AUTHID property.






44. Types: A ______ has the same valid operations as its base type.






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






46. Cursors: Give the statement to fetch data from cursor C into variable V.






47. Package for getting the postprocessed source of a program.






48. I/O: The output from DBMS_OUTPUT will display (during/after) program execution.






49. A CASE expression ends with _____.






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