Lab 5.2 Self-Review Questions


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

1)

An ELSIF construct can have only one ELSIF clause present.

  1. _____ True

  2. _____ False

2)

There are multiple ELSE clauses present in an ELSIF construct.

  1. _____ True

  2. _____ False

3)

What part of the ELSIF statement is executed when all of the conditions specified evaluate to NULL?

  1. _____ IF part

  2. _____ One of the ELSIF parts

  3. _____ ELSE part

  4. _____ ELSIF statement is not executed at all

4)

When the conditions of the ELSIF statement are not mutually exclusive, which of the following occur?

  1. _____ ELSIF statement causes an error.

  2. _____ ELSIF statement is not executed at all.

  3. _____ Statements associated with the first condition that evaluates to TRUE are executed.

  4. _____ Statements associated with the last condition that evaluates to TRUE are executed.

5)

An ELSIF statement without the ELSE part causes a syntax error.

  1. _____ True

  2. _____ False


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