Lab 14.1 Self-Review Questions


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

1)

The main advantages to grouping procedures and functions into packages are (check all that apply):

  1. _____ It follows the trendy object method of programming.

  2. _____ It is a more efficient way of utilizing the processor memory.

  3. _____ It makes greater use of the security privileges of various users.

  4. _____ It is a more efficient method to maximize tablespace storage.

  5. _____ It keeps you on good terms with the DBA.

2)

If user Tashi has SELECT privilege on the student table and user Sonam does not, then Sonam can make use of a procedure created by Tashi to get access to the student table if he has execute privileges on Tashi's procedure.

  1. _____ True

  2. _____ False

3)

All procedures and functions in a package body must be declared in the package specification.

  1. _____ True

  2. _____ False

4)

The initialization section of a package refers to

  1. _____ another term for the package header.

  2. _____ the first part of the package.

  3. _____ the executable code at the end of the package.

  4. _____ the evolutionary rudiments in code that are left over from programming methods of cavemen.

5)

The package specification is merely a formality for other programmers to let them know what parameters are being passed in and out of the procedures and functions. It hides the program logic but in actuality it is not necessary and is incorporated into the package body.

  1. _____ True

  2. _____ False


Answers appear in Appendix A, Section 14.1 .



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