Lab 8.1 Self-Review Questions


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

1)

How many times is a simple loop executed if there is no EXIT condition specified?

  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 a simple loop executed if the EXIT statement is used without an EXIT condition?

  1. _____ The loop does not execute at all.

  2. _____ The loop executes once.

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

3)

What value must the EXIT condition evaluate to in order for the loop to terminate?

  1. _____ TRUE

  2. _____ FALSE

  3. _____ NULL

4)

What statement must be executed before control can be passed from the body of the loop to the first executable statement outside of the loop?

  1. _____ LOOP statement

  2. _____ END LOOP statement

  3. _____ EXIT statement

  4. _____ RETURN statement

5)

A simple loop will execute a minimum of which of the following?

  1. _____ Zero times

  2. _____ One time

  3. _____ Infinite number of times


Answers appear in Appendix A, Section 8.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