Lab 8.3 Self-Review Questions


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

1)

How many times is a numeric FOR loop executed if the value of the lower limit is equal to the value of the upper limit?

  1. _____ The loop does not execute at all.

  2. _____ The loop executes once.

  3. _____ The loop executes an infinite number of times.

2)

How many times is the numeric FOR loop executed if the value of the lower limit is greater than the value of the upper limit?

  1. _____ The loop does not execute at all.

  2. _____ The loop executes once.

  3. _____ The loop executes an infinite number of times.

3)

What is the value of the loop counter prior to entering the loop?

  1. _____ 0

  2. _____ 1

  3. _____ Undefined

4)

What is the value of the loop counter after termination of the loop?

  1. _____ Same as upper limit

  2. _____ Same as lower limit

  3. _____ Undefined

5)

When the REVERSE option is used, the value of the loop counter is initialized to which of the following?

  1. _____ Lower limit

  2. _____ Upper limit

  3. _____ NULL


Answers appear in Appendix A, Section 8.3 .



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