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 BEGIN section is (optional/mandatory)






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






3. Cursors: Give the statement to open cursor C that takes parameter p.






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






5. Command to create a procedure.






6. What word is in a function header but not in a procedure header?






7. Web: mod_plsql is an _______ module.






8. Delimiters: Statement terminator.






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






10. To insert or update on a table that has a collection column - you have to have _______ privilege on the collection type.






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






12. Where an external subprogram is stored.






13. The PL/SQL virtual machine turns bytecode into system ______.






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






15. I/O: One of the 3 types of data that can be passed to the DBMS_OUTPUT buffer.






16. To enable result-caching for a function - use the _____________ clause.






17. Java - C or other program called directly in PL/SQL.






18. Dbms_sql: This DBMS_SQL function opens a new cursor.






19. The NOCOPY option on an OUT or IN OUT parameter - causes it to be passed by ______.






20. Types: A ______ has the same valid operations as its base type.






21. DynSQL: EXECUTE IMMEDIATE can be used for any SQL statement or PL/SQL block - except for ________ queries.






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






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






24. Web: Abbreviation of PL/SQL Server Page.






25. Characters that begin a single-line comment.






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






27. With Edition-based Redefinition enabled - the unique specification of an object requires OWNER - OBJECT_NAME and ___________.






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






29. A PL/SQL block that is not stored.






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






31. Associative arrays (do / do not) have to be initialized with a constructor.






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






33. Exceptions: Associate exception E with error code -1.






34. Data dictionary view giving the AUTHID values on a user's objects.






35. Cursors: Which cursor attribute is not meaningful for an implicit cursor?






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






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






38. The DEFINITION of a cursor is the _____ that returns the records.






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






40. I/O: This package has hypertext functions that generate HTML tags






41. The lowest index of a VARRAY is ___.






42. A kind of variable used as a placeholder.






43. The valid values of the AUTHID property.






44. IDs: You cannot use reserved words as ______ user-defined identifiers.






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






46. In a cursor loop - the clause added to an INSERT or UPDATE to point at the current record.






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






48. An incomplete type only has a ____.






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






50. Fundamental: Character used to escape a single quote inside a literal.

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