Macromedia ColdFusion MX 7 Certified Developer Study Guide

A1:

C. Index loops can iterate only over numeric values.

A2:

D. Because the counter i is incremented and then displayed, the first value displayed is 2. The number 4 is shown because the loop does not terminate immediately when the condition is false; rather, it finishes the loop.

A3:

A. The variable specified in the item attribute takes on the keys of the structure in the loop.

A4:

B and D. The conditional loop has only one attribute, condition, and the collection loop uses item.

Категории