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. A user-defined TYPE can have...






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






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






4. Term for a character literal with zero characters.






5. The $IF must evaluate a ______ _______ expression.






6. An ordinary character literal is composed of characters in the ________ character set.






7. If none of a CASE expression's conditions are TRUE - it returns _____.






8. INSTEAD OF triggers are alternatives to ___ triggers






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






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






11. An $ERROR directive ends with _____.






12. Fundamental: Labels furnish targets for GOTO and _____ statements.






13. DynSQL: The main command for Native Dynamic SQL.






14. A kind of variable used as a placeholder.






15. Exceptions: The package that defines pre-defined exceptions.






16. Conversion: Implicit conversion is not always predictable; it is _______-sensitive. And its rules might change.






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


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






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






20. Type: An ________ subtype has all the values of its base type.






21. What are the starting and ending keywords of a simple loop?






22. DynSQL: EXECUTE IMMEDIATE does both dynamic SQL and dynamic _______.






23. Name the two types of FOR loop.






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






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


26. Cursors: The second keyword of a FETCH statement.






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






28. The $ERROR directive is used to make compilation ____.






29. DynSQL: The standard package that does dynamic SQL.






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






31. Language that PL/SQL is derived from.






32. If a procedure fails - an OUT parameter passed to it by value (will / will not) be passed back with changes.






33. Which two collection types are unbounded?






34. Characters that begin a multi-line comment.






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






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






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






38. Delimiters: Statement terminator.






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






40. Delimiters: Item separator.






41. The command used to populate PLSQL_CCFLAGS.






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






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






44. Two types of stored subprograms.






45. Types: One of the scalar data types specific to PL/SQL: P________






46. The 4 keywords in the $IF compiler directive.






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






48. A nested table has to be initialized using a ________ - named the same as the type.






49. Native compilation turns bytecode into ________ code.






50. The FORALL statement to loop over a collection MyList using index i.