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 NOCOPY option on an OUT or IN OUT parameter - causes it to be passed by ______.






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






3. Records are one of the two kinds of PL/SQL _______ data types.






4. Mode designation for an output parameter.






5. Declare an associative array type - t - whose elements are of type rPerson - and whose index is PLS_INTEGER.






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






7. Cursors: If no SELECT or DML statement has run - the value of SQL%ROWCOUNT is what?






8. Command to delete a procedure.






9. The EXCEPTION section is (optional/mandatory).






10. I/O: This package handles HTTP.






11. Unlike the CASE statement - the CASE expression does not have the...






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






13. Dbms_sql: The return type DBMS_SQL.open_cursor.






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






15. A national character literal is composed of characters in the ________ character set.






16. Delimiters: Statement terminator.






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






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






19. Cursors: Give the first 3 words to open a cursor variable called cv.






20. To use a TYPE declared in the database - a PL/SQL block has to have _______ privilege on the type.






21. Abbreviation for Abstract Data Type.






22. Fundamental: One of the 4 types of lexical units: d_____






23. Cursors: What are the 3 possible values of SQL%FOUND and SQL%NOTFOUND?






24. The compiler directive used to select which code to compile.






25. Triggers: When using the NEW or OLD pseudo-records in the body of the trigger - they must be prefixed with a _______.






26. Advantage: PL/SQL is PORTABLE to any OS where ________ runs.






27. I/O: Max number of bytes DBMS_OUTPUT can handle in a session.






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






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






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






31. Types: One of the scalar data types specific to PL/SQL: B_______






32. Fundamental: Maximum string length of a PL/SQL variable.






33. When an autonomous routine begins execution - the main transaction is ________.






34. Fundamental: One of the 4 types of lexical units: c_____.






35. The default value of the AUTHID property.






36. Default value of PLSQL_OPTIMIZE_LEVEL.






37. Delimiters: Item separator.






38. In 11g you can directly reference _____________ in PL/SQL.






39. The Wrap utility ________ the source code.






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






41. Bytecode is _______ _______ code.






42. Types: The PL/SQL type that is identical to PLS_INTEGER.






43. Dbms_sql: The DBMS_SQL procedure that will execute a DDL or DML statement.






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






45. You cannot bulk collect into an ARRAY OF ________.






46. A kind of variable used as a placeholder.






47. Cursors: Opening keyword of a cursor FETCH loop.






48. The allowed data types of user-defined conditional compilation directives are boolean and _______.






49. The three possible values of a BOOLEAN literal.






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