Lab 6.1 Self-Review Questions
In order to test your progress, you should be able to answer the following questions.
1) |
A CASE construct is a control statement for which of the following?
_____ Sequence structure _____ Iteration structure _____ Selection structure
| 2) |
The ELSE clause is required part of a CASE construct.
_____ True _____ False
| 3) |
A selector in a CASE statement
_____ is evaluated as many times as there are WHEN clauses. _____ is evaluated once per CASE statement. _____ is not evaluated at all.
| 4) |
When all conditions of the searched CASE construct evaluate to NULL
_____ Control is passed to the first executable statement after END CASE if there is no ELSE clause present. _____ Control is passed to the first executable statement after END CASE if there is an ELSE clause present. _____ CASE statement causes a syntax error if there is no ELSE clause present.
| 5) |
CASE statements cannot be nested one inside the other
_____ False _____ True
|
Answers appear in Appendix A, Section 6.1.
|
No comments:
Post a Comment