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. Types: A data type family consists of a ______ type and its subtypes.






2. Cursors: A Cursor FOR loop does not use a ______ statement.






3. The inquiry directive that gives the current line number in the procedure.






4. The variable showing the user id that is automatically prepended to object names.






5. Delimiters: The component indicator/selector.






6. Dbms_sql: The DBMS_SQL procedure that closes a cursor.






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






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






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






10. Give the first line of the FOR loop with index i going from 1 to 10 in reverse.






11. Triggers: You (can/cannot) explicitly invoke a trigger.






12. IDs: The type of words that cannot be user-defined identifiers.






13. The declaration section is (optional/mandatory).






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






15. The statement that is used to execute most (native) dynamic SQL.






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






17. Exceptions: The _________ package defines the PL/SQL environment.






18. Cursors: The two keywords in a mere cursor declaration (one is optional).






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






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






21. The PL/SQL ________ evaluates compiler directives.






22. Cursors: If you use an EXIT statement to exit a cursor FOR loop prematurely - the cursor (is / is not) closed automatically.






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






24. DynSQL: Native Dynamic SQL






25. Declare an unconstrained subtype of NUMBER called NUMB.






26. Exceptions: The built-in procedure for raising an application-defined error.






27. Fundamental: One of the 4 types of lexical units: L_____






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






29. I/O: dbms_output.put_line puts output into a _______.






30. I/O: This package handles HTTP.






31. The two kinds of CASE statements are simple and ________.






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






33. Command to assign to variables from a cursor.






34. Triggers: In a DML trigger - the phrase that makes the trigger run for every affected record.






35. The values defined in PLSQL_CCFLAGS can be referenced as _____ directives.






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






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






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






39. An incomplete type only has a ____.






40. Type: A __________ subtype has only a subset of the values of its base type.






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






42. The SET TRANSACTION statement affects only the ____________.






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






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






45. Declare a cursor c with no parameters or return type.






46. Characters that begin a multi-line comment.






47. Exceptions: User-defined exceptions must have _______.






48. Cursors: What implicit cursor attribute gives row counts for a FORALL statement?






49. 5 types of events that can have triggers: DML - DDL - INSTEAD OFs - database events - and ________ statements.






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







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests