Chapter 14


A1:

A and B. ArrayNew() is usually used to create an array, but ListToArray() can be used too. Neither C nor D is a valid function.

A2:

B. The ArraySum() function requires that all array members have numeric values; if one was empty (as is index 3), an error would be thrown.

A3:

C and D. A is incorrect because no equals sign is required in a <cfset>. B is also incorrect since an array can be resized to any size. As the loop iterates, the size of the array decreases because of the deleted indexes.

A4:

A and C. A is false because an associative array is not an array (it is a structure). C is false because arrays can have more than three dimensions through the repetitive use of ArrayNew(). B and D are true.



Macromedia ColdFusion MX 7 Certified Developer Study Guide
Macromedia ColdFusion MX 7 Certified Developer Study Guide
ISBN: 0321330110
EAN: 2147483647
Year: 2004
Pages: 389
Authors: Ben Forta

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net