Chapter 5 Conditional Control: IF Statements

Lab 5.1 ▪ Self-Review Answers

A1:
Questions Answers Comments
1) C The statements in an IF construct are not executed sequentially. Rather, one group of statements or another will be selected to execute depending on how a test condition is evaluated.
A2:
Questions Answers Comments
2) A Only when the condition evaluates to TRUE, the statement of an IF-THEN construct are executed. When the condition evaluates to FALSE or NULL, the control is passed to the first executable statement after the IF-THEN construct. As a result, its statements are not executed at all.
A3:
Questions Answers Comments
3) B When a condition of the IF-THEN-ELSE construct is evaluated to NULL, the statements specified after ...

Get Oracle® PL/SQL® Interactive Workbook, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.