• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: 10 Appendix > Chapter 14

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.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint