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. To recompile a procedure - use the _____ ______ command.






2. PLS_INTEGER has its arithmetic implemented in ________ - so it is very fast.






3. Value of a character literal with zero characters.






4. This is a CASE (expression / statement): CASE num WHEN 1 THEN goto LABEL1 WHEN 2 THEN var := 2 END CASE;






5. Types: In addition to the SQL data types - PL/SQL has ___ more scalar data types.






6. Advantage: Performance: PL/SQL automatically creates ______ variables for variables in WHERE and VALUES clauses.






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






8. Exceptions: An exception in the declarations section propagates to the enclosing _______.






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






10. Web: The gateway that allows a web browser to invoke a PL/SQL procedure through an HTTP listener.






11. Cursors: A cursor variable's type must be a ____ ______ type.






12. A GOTO cannot branch into an...






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






14. In a record - the internal components are called ______.






15. Abbreviation of invoker's rights






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






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






18. The BEGIN section is (optional/mandatory)






19. Two types of stored subprograms.






20. I/O: This package has hypertext functions that generate HTML tags






21. Statement to set current schema to x: _____ _____ SET CURRENT_SCHEMA = 'x';






22. Advantage: PL/SQL is tightly _______ with Oracle SQL.






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






24. _________ exceptions can not be trapped with an error handler






25. IDs: You can use a reserved word as a _______ user-defined identifier.






26. Package for getting the postprocessed source of a program.






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






28. To get the current value of CURRENT_SCHEMA - CURRENT_USER - or SESSION_USER - use the ____ function.






29. With dynamic typing - type checking is done at ______time.






30. If an initialized collection has no elements - FIRST and LAST return _____.






31. After the RESULT_CACHE clause - you can put a _________ clause to enable dependency-checking.






32. Delimiters: The remote access symbol.






33. IDs: What a quoted user-defined identifier is enclosed in.






34. When a session starts - CURRENT_SCHEMA has the value of the schema owned by ___________.






35. The NOCOPY option on an OUT or IN OUT parameter - causes it to be passed by ______.






36. DBMS_DDL.WRAP returns a string containing wrapped _____ _____.






37. Value of PLSQL_OPTIMIZE_LEVEL that prevents optimization.






38. Declare an output NUMBER parameter - v1 - that defaults to 10.






39. Triggers: The clause to make a trigger run before inserting or updating table EMPS.






40. Subprograms are stored in __________ form.






41. The three possible values of a BOOLEAN literal.






42. I/O: The DBMS_OUTPUT function that writes output WITH a newline character.






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






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






45. Characters that end a multi-line comment.






46. A type of compiler directive - begins with 's'.






47. You cannot bulk collect into an ARRAY OF RECORDS. You can into a ________________ (3 words).






48. When a parameter is passed by reference - changes made to it inside the procedure cannot be undone. True/False.






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






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







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