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. Cursors: A cursor FOR loop can use an explicit or an _______ cursor.






2. Delimiters: Single-line comment marker.






3. Cursors: Give the statement to open cursor C.






4. IDs: The 3 non-alphanumeric characters that can be in an ordinary user-defined identifier.






5. To exit an active autonomous transaction without causing an exception - you must issue _____ or ______.






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






7. A CASE statement ends with ____ ____.






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






9. With an sparse - integer-indexed associative array - you (can / cannot) use a regular FOR loop.






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






11. Mode designation for an input/output parameter.






12. Fundamental: Labels furnish targets for GOTO and _____ statements.






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






14. Types: ________ data types have no internal components.






15. Cursors: The value of SQL%ISOPEN is always ______.






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






17. A basic PL/SQL datatype that SQL does not have.






18. Cursors: SYS_REFCURSOR is a predefined type based on _____ ______.






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






20. Types: Which type of arithmetic does NUMBER use - library or hardware?






21. Which two collection types are unbounded?






22. An anonymous block is a(n) ____ statement.






23. Bytecode is _______ _______ code.






24. User-defined compiler directives are defined in this system compile parameter.






25. Cursors: Give the statement to fetch data from cursor C into variable V.






26. The _____ utility turns PL/SQL source code into unreadable text.






27. Bulk: The use of FORALL statements cuts down on ______ traffic.






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






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






30. From a block nested inside a procedure P - reference variable V of the outer procedure.






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






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






33. A subprogram defined within another subprogram is a _______ subprogram.






34. The three possible values of a BOOLEAN literal.






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






36. Subprograms are stored in __________ form.






37. Cursors: A cursor with a name is an _________ cursor.






38. Triggers: You create a trigger with the _______ ________ statement.






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






40. Abbreviation for Abstract Data Type.






41. Advantage: PL/SQL runs anywhere Oracle runs - so it is very ________.






42. IDs: How an ordinary user-defined identifier must begin.






43. Conversion: If the specific value is suitable - ____ or _______ values can convert to almost any datatype






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






45. Exceptions: Write the call (2 args) to associate message 'Bad' with error code -20 -100.

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


46. Command used to execute dynamic SQL.






47. The PL/SQL preprocessor passes ______ code to the compiler.






48. Types: A data type family consists of a ______ type and its subtypes.






49. I/O: The output from DBMS_OUTPUT will display (during/after) program execution.






50. For a collection - the NEXT method returns ____ when there is no next index value.






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