Lab 12.2 Self-Review Questions


In order to test your progress, you should be able to answer the following questions.

1)

The benefits of module code are that it (check all that apply)

  1. _____ takes IN and OUT parameters.

  2. _____ can be called by many types of calling environments.

  3. _____ is stored in the database.

  4. _____ is always valid.

2)

All module code contains the following components (check all that apply):

  1. _____ Header

  2. _____ Footer

  3. _____ Declaration

  4. _____ Exception

  5. _____ Execution

3)

If a procedure has an IN parameter, then it must have an OUT parameter.

  1. _____ True

  2. _____ False

4)

Which are valid parameter definitions in the header of a parameter? (check all that apply)

  1. _____ P_LAST_NAME IN OUT VARCHAR2(20)

  2. _____ P_STUDID OUT IN NUMBER

  3. _____ P_ZIPCODE NUMBER

  4. _____ P_COURSE_COST IN NUMBER := 1095

5)

The view USER_SOURCE only contains the code of valid procedures.

  1. _____ True

  2. _____ False


Answers appear in Appendix A, Section 12.2 .



Oracle PL[s]SQL by Example
Oracle PL[s]SQL by Example
ISBN: 3642256902
EAN: N/A
Year: 2003
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net