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. Exceptions: The package that defines pre-defined exceptions.






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






3. Data dictionary view that shows the compiler settings for each compiled object.






4. Web: mod_plsql is an implementation of the PL/SQL _________.






5. Triggers: On a non-editioning view - you can only define __________ triggers.






6. Cursors: The keyword that makes a ref cursor type STRONG.






7. If you are in a procedure inside a package - the compilation unit is the _______.






8. IDs: Maximum number of bytes in a user-defined identifier.






9. Mode designation for an input/output parameter.






10. Advantage: PL/SQL gives SCALABILITY because stored procedures are executed on the _______.






11. A value that is neither represented by an identifier nor calculated from other values.






12. I/O: This DBMS_OUTPUT proc retrieves one line from the buffer.






13. Cursors: A cursor FOR loop can use an explicit or an _______ cursor.






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






15. An INSTEAD OF trigger specifies what to do instead of a ___ statement.






16. With static typing - type checking is done at ______ time.






17. Native compilation turns bytecode into ________ code.






18. Cursors: The value of SQL%ROWCOUNT after a SELECT INTO statement returns more than one row.






19. Delimiters: The assignment operator.






20. Cursors: The SQL%FOUND attribute has how many possible values?






21. Command used to execute dynamic SQL.






22. Exceptions: Declare an exception called E.






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






24. Cursors: The three keywords in a full cursor declaration/definition (before the SELECT).






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






26. Delimiters: Single-line comment marker.






27. What clause makes a compilation default to the PLSQL_CCFLAGS settings from the last compilation?






28. Define a record variable r - of type tRec - initialized with values 9 and 'Jones' in its two fields.

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


29. Dbms_sql: DBMS_SQL package is compiled with _______ rights.

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


30. I/O: Max number of bytes to pass in a call to DBMS_OUTPUT.PUT_LINE.






31. The collection method that tells the number of elements in the collection.






32. NAN stands for _________.






33. An $ERROR directive ends with _____.






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






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






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






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






38. I/O: One of the 3 types of data stored in the DBMS_OUTPUT buffer.






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






40. One good use of bind variables is to guard against SQL _______.






41. In interpreted mode - PL/SQL code is run in a _______ _______.






42. Wrapping can be done with the ____ executable.






43. The attribute used to get the type of a column or variable without knowing what it is.






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






45. A CASE expression ends with _____.






46. The default value of the AUTHID property.






47. Static typing is also called _____ typing.






48. DynSQL: Maximum string length to pass to EXECUTE IMMEDIATE.






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






50. An anonymous block always has _________ rights.

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