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 subprogram created inside a block is a _________ subprogram.






2. Cursors: A cursor variable's type must be a ____ ______ type.






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






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






5. Parameter that controls how much Oracle optimizes your PL/SQL code on compilation.






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






7. Characters that begin a multi-line comment.






8. Pkgs: RESET_PACKAGE only takes effect after the outermost PL/SQL proc that called it ________.






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






10. When a session starts - CURRENT_SCHEMA has the value of the schema owned by ___________.






11. %ROWTYPE gets the type of a table or _______.






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






13. DynSQL: The three modes of arguments in the USING clause of EXECUTE IMMEDIATE.






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






15. Cursors: The statement where you pass the parameters to a cursor.






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






17. Cursors: An explicit cursor (can/cannot) accept parameters.






18. Dbms_sql: The return type DBMS_SQL.open_cursor.






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






20. The DEFINITION of a cursor is the part after the keyword __.






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






22. An editioning view can only select a subset of the columns from the base table and provide ________ for them






23. Exceptions: Declare an exception called E.






24. A GOTO cannot branch into a...






25. Web: mod_plsql is an _______ module.






26. Cursors: You can just declare a cursor at first - then _______ it later.






27. The SET TRANSACTION statement affects only the ____________.






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






29. Declaration of a varchar2 constant - called vname - with value 'x'.

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


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






31. Define a collection type - tA - which is an associative array of NUMBERS - indexed with varchar2(20) values.






32. IDs: List the two types of user-defined identifiers.






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






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






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






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






37. The LIMIT method is only meaningful for _______.






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






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






40. I/O: If the current (outermost) PL/SQL block ends with an unhandled exception - the output buffer will not be ___________.






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






42. In the special IF syntax - is it ELSIF - or ELSEIF?






43. Where an external subprogram is stored.






44. With a result-cached function - it uses a cached value when the function is called again with the...






45. Command to assign to variables from a cursor.






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






47. Delimiters: Statement terminator.






48. PL/SQL does not automatically create bind variables in ________ SQL.






49. Types: ______ data types are those storing values with no internal components.






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