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 statement that is used to execute most (native) dynamic SQL.






2. The three types of compiler warnings.






3. SIMPLE_INTEGER is like PLS_INTEGER - but it does not allow ____ values - and it does not raise overflow exceptions.






4. Give the statement to make a program autonomous.






5. An editioning view is like an ____ for a table.






6. Where an external subprogram is stored.






7. In a collection - the internal components are called _______.






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






9. Abbreviation of invoker's rights






10. Advantage: PL/SQL gives SCALABILITY because stored procedures are executed on the _______.






11. From a block nested inside a procedure P - reference variable V of the outer procedure.






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






13. Wrap iname=xxxx _____=zzzzz






14. I/O: This package lets PL/SQL programs read and write OS files.






15. DynSQL: In EXECUTE IMMEDIATE - the statement string can use either placeholders - or string ________.






16. A collection is an ordered group of ________ - all of the same ____






17. Declare an input NUMBER parameter - v2 - that defaults to 20.






18. What is the simplest statement for conditionally getting out of simple loop?






19. IDs: The type of words that cannot be user-defined identifiers.






20. Triggers: A compound trigger can fire at more than one ______ point.






21. The compiler directive governing conditional compilation.






22. Cursors: The three keywords in a full cursor declaration/definition (before the SELECT).






23. The valid values of the AUTHID property.






24. Triggers: INSTEAD OF triggers only run on ______ views.






25. Types: ________ data types have no internal components.






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






27. I/O: SQLPlus command for turning on buffered output.






28. Statement to exit a cursor loop on cursor cGo when there are no more records.






29. A type of compiler directive - begins with 's'.






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






31. Dbms_sql: The DBMS_SQL procedure that closes a cursor.






32. Types: The storage size of a NUMBER value is based on the number of ______ digits.






33. A pointer to a private SQL area that stores information about processing a specific SELECT or DML statement.






34. An anonymous block always has _________ rights.

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


35. Conversion: Implicit conversion can be (faster / slower) than explicit conversion.






36. Declare a number variable - A - initialized to 10.






37. Internally - the NUMBER type is stored as ______. Therefore - decimal numbers (such as prices) are stored exactly - with no rounding.






38. Exceptions: A GOTO statement cannot branch into an _______ ________.






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






40. A CASE statement ends with ____ ____.






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






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






43. With an sparse - integer-indexed associative array - you (can / cannot) use a regular FOR loop.






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






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






46. Cursors: The four cursor attributes - in alphabetical order.






47. Cursors: If an exception is raised inside a cursor loop - the cursor (is / is not) also closed automatically.






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






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






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