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. In a collection - the internal components always have the _____ data type.






2. You (can/cannot) put a label before an END LOOP statement.






3. DBMS_DDL.WRAP returns a string containing wrapped _____ _____.






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






5. Setting CURRENT_SCHEMA only changes what is prepended to __________ references.






6. Default file extension of wrap's input file.






7. Delimiters: The component indicator/selector.






8. Language that PL/SQL is derived from.






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






10. I/O: This package lets two or more sessions in the same instance communicate.






11. Command to make a no-op (omit semicolon).






12. Advantage: Performance: Storing and runnng procedures on the server minimizes ______ traffic.






13. Delimiters: Statement terminator.






14. An incomplete type is a type created by a ______ type definition.






15. Cursors: Give the statement to close cursor C.






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






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






18. Triggers: In a trigger - you cannot issue a COMMIT or a ______.






19. Delimiters: Item separator.






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






21. Which two of these built-in SQL functions can be used in procedural (PL/SQL) statements: DECODE - CORR - UPPER - SUM - COALESCE - DEREF.






22. Labels for blocks and statements are enclosed in '__' brackets.






23. Define a nested table type - tN - which is a table NUMBERs.






24. What are the 3 values of the BOOLEAN data type?






25. The SET TRANSACTION statement affects only the ____________.






26. Cursors: A cursor that lives in session memory until the session ends.






27. Cursors: A cursor FOR loop can use an explicit or an _______ cursor.






28. Loops: What is the index range operator in a FOR loop?






29. A (simple / searched) CASE statement begins with CASE <expression>.






30. Give the ANSI Date literal for December 25 - 2005.

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


31. Which two collection types are unbounded?






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






33. In interpreted mode - PL/SQL code is run in a _______ _______.






34. Dbms_sql: The integer returned by OPEN_CURSOR is a _____ _____.






35. The BETWEEN operator is (inclusive / exclusive).






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






37. I/O: This package handles HTTP.






38. A null string and a BOOLEAN null are _______ (same/not the same).






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






40. I/O: The buffered output of dbms_output.put_line is retrieved by _______.






41. Dbms_sql: DBMS_SQL package is compiled with _______ rights.

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


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






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






44. Triggers and views always have _________ rights.

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


45. A numeric FOR loop cannot _________ by other than 1?






46. To run a PIPE ROW statement in your autonomous routine - you must close any _____________.






47. Exceptions: Start of the range of error codes for RAISE_APPLICATION_ERROR.






48. Exceptions: You cannot GOTO from an exception handler back into the __________ block.






49. Cursors: You cannot use cursor attributes in _______ statements.






50. IDs: Maximum number of bytes in a user-defined identifier.