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. I/O: The output from DBMS_OUTPUT will display (during/after) program execution.






2. By default - an IN parameter is passed by ______.






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






4. Fundamental: What is the range operator?






5. You can use the BULK COLLECT INTO clause in a SELECT or a ______.






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






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






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






9. Declare an unconstrained subtype of NUMBER called NUMB.






10. The EXTEND method is not used with ______ _______.






11. Exceptions: The three words that can be used to guarantee all exceptions will be handled.






12. Types: The predefined subtype of PLS_INTEGER that has the NOT NULL constraint.






13. Bytecode is _______ _______ code.






14. The first SQL statement in an autonomous routine begins a _______.






15. Fundamental: What is the exponentiation operator?






16. What are the two sequence pseudo-columns?






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






18. A type of compiler directive - begins with 'i'.






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






20. You can define PL/SQL collections using TYPEs defined in the _______.






21. The AUTHID property applies to PL/SQL objects that contain _____.






22. Cursors: What is the 'name' of the implicit cursor?






23. Triggers: If two or more triggers are defined with the same timing point - then you can control the firing order using the ________ clause.






24. Exceptions: If there is no handler for an exception - PL/SQL returns an ________ exception error to the invoker or host environment.






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






26. Exceptions: The package that defines pre-defined exceptions.






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






28. Cursors: An implicit cursor is also called a/n ________ ________ -






29. IDs: The two types of words that can - but should not - be used as user-defined identifiers.






30. In interpreted mode - the PL/SQL VM interprets the _________.






31. Cursors: Only a _____ _____ cursor can appear in the CURRENT OF clause of an UPDATE or DELETE statement.






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






33. The DECLARE keyword is only required in an _______ _______.






34. GOTO branches to a ________.






35. Are good for logging table DML operations.






36. Command used to execute dynamic SQL.






37. Exceptions: An unhandled exception ________ to the enclosing block.






38. Define a collection type - tV - which is a varray of 100 NUMBERs.






39. Fundamental: One of the 4 types of lexical units: i_____






40. Advantage: Performance: Stored subprograms are ______ in memory.






41. Types: PL/SQL has all the _____ data types.






42. Name the two types of FOR loop.






43. A GOTO statement can branch from an exception handler into...






44. To recompile a procedure - use the _____ ______ command.






45. Mode designation for an input/output parameter.






46. A SELECT statement with the FOR UPDATE clause puts a ______ on the selected rows.






47. Web: PL/SQL _____ _______ lets you to develop Web applications made of PL/SQL procedures.






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






49. Delimiters: Single-line comment marker.






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