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. An editioning view can only select a subset of the columns from the base table and provide ________ for them






2. The Wrap utility ________ the source code.






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






4. Advantage: Having procedures stored and executed on the server makes PL/SQL ________.






5. You can put a label before any executable PL/SQL _________.






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






7. In a FORALL loop - you (can / cannot) use the index variable for purposes other than indexing into the collection.






8. A result-cached function caches its results in the _____ _____ ____ (SGA)






9. Cursors: The first two keywords in a Cursor FOR loop.






10. DynSQL: The colon-prefixed names used in EXECUTE IMMEDIATE are called ________.






11. You have to use _______ SQL to run DDL statements n PL/SQL.






12. The Wrap utility (does / does not) encrypt source code.






13. You cannot bulk collect into an ARRAY OF ________.






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






15. The command used to populate PLSQL_CCFLAGS.






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






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






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






19. Declare an input NUMBER parameter - v2 - that defaults to 20.






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






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






22. Cursors: How many implicit cursors can you access?






23. In Native Mode - PL/SQL code is compiled into ______ ______.






24. IDs: Predefined identifiers are declared in this package.






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






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






27. DynSQL: EXECUTE IMMEDIATE does both dynamic SQL and dynamic _______.






28. Which two collection types are unbounded?






29. DynSQL: The standard package that does dynamic SQL.






30. Fundamental: What are the 3 compound symbols for 'not equal to'?






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






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






33. Web: PL/SQL ______ ______ (PSPs) let you develop web pages with dynamic content.






34. Triggers: The clause to make a trigger run after inserting into table EMPS.






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






36. 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


37. What are the two sequence pseudo-columns?






38. Cursors: You give an explicit cursor a name and associate it with a _______.






39. In short-circuit evaluation - IF-conditions are only evaluated up to where the outcome ___________.






40. Cursors: The values plugged into the DML in a FORALL must come from existing - populated _________.






41. You (can / cannot) wrap trigger source code.






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






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






44. The valid values of the AUTHID property.






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






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






47. Exceptions: Declare an exception called E.






48. Give the value list in the PLSQL_WARNINGS parameter to turn on SEVERE compiler warnings and make compiler warning 06002 be an error.

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


49. Type: An ________ subtype has all the values of its base type.






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